| Saturday 04 February 2012 |
|
![]() |
| news | meetings | document store | registration services | database | policies | training | mailing lists | tools | statistics |
| ::: Database - PGP Authentication in AfriNIC Database | |||||||||||||||||||
|
key-cert: [mandatory] [single] [primary/look-up key] method: [generated] [single] [ ] owner: [generated] [multiple] [ ] fingerpr: [generated] [single] [inverse key] certif: [mandatory] [multiple] [ ] remarks: [optional] [multiple] [ ] notify: [optional] [multiple] [inverse key] admin-c: [optional] [multiple] [inverse key] tech-c: [optional] [multiple] [inverse key] mnt-by: [mandatory] [multiple] [inverse key] changed: [mandatory] [multiple] [ ] source: [mandatory] [single] [ ] The "key-cert:" attribute is defined as PGPKEY-<id> where <id> is the PGP key ID of the public key The public key should be supplied in the "certif:" attribute. Usually this is easily done by exporting the key The attributes marked as generated ("method:", "owner:" and "fingerpr:") are generated by the software. The other attributes have their usual meanings as defined in the AfriNIC
Database Reference Manual key-cert: PGPKEY-4B8AE00D method: PGP owner: Zola Abalo <zola.abalo@example.net> fingerpr: 9D 82 4B B8 38 56 AE 12 BD 88 73 F7 EF D3 7A 92 certif: ---BEGIN PGP PUBLIC KEY BLOCK--- certif: Version: 2.6.3ia certif: certif: mQA9AzZizeQAAAEBgJsq2YfoInVOWlLxalmR14GlUzEd0WgrUH9iXjZ certif: a/uqWiLnvN59S4rgDQAFEbQeSm9lIFRoZSBVc2VyIDxqb2VAZXhhbXB certif: iQBFAwUQNmLN5ee83n1LiuANAQFOFQGAmowlUYtF+xnWBdMNDKBiOSy certif: YvpKr05Aycn8Rb55E1onZL5KhNMYU/gd certif: =nfno certif: ---END PGP PUBLIC KEY BLOCK--- mnt-by: EXAMPLE-MNT changed: zola.abalo@example.net 19981117 source: TEST If you do not already have a maintainer (mntner) object to be used in the mandatory "mnt-by:" attribute, you need to create a new mntner with some other authentication method (for example CRYPT-PW), then create the key-cert object which references the maintainer just created. After that you can change the maintainer to use PGP authentication with the key-cert object as an authentication key. These key-cert objects can be queried for in the usual ways with whois by asking for a specific key as defined in the "key-cert:" attribute or using the inverse option with -i fingerpr <finger print>. The RIPE NCC does not guarantee that a key belongs to any specific entity; we are not a certificate authority. Anyone can supply any public keys with any ownership information to the database and these keys can be used to protect other objects by checking that the update comes from someone who knows the corresponding secret key. Please also note that signatures in the keys are ignored. We kindly ask you to limit the number of key signatures to a minimum. Use in the maintainer object PGP authentication can be activated by setting the value of an"auth:" attribute to PGPKEY-<id> where <id> is the PGP key ID to Remember that if you have multiple "auth:" attributes in a maintainer
or if you have multiple "mnt-by:" attributes in an object, all possible There are currently no referential integrity checks carried out on the"auth:" attribute values. If you change your "auth:" to refer to a non mntner: EXAMPLE-MNT descr: Example maintainer admin-c: ZA4-RIPE upd-to: zola.abalo@example.net auth: PGPKEY-4B8AE00D mnt-by: EXAMPLE-MNT changed: zola.abalo@example.net 19981117 source: TEST Using authentication when sending updates PGP signed updates can be sent to the database simply by signing the body of the message containing the updates and sending it to the server. Remember to use ASCII armoring. Multiple PGP-signed and non-signed parts can be supplied in a single update
message, each part is processed separately. You can supply several objects
which are protected by different PGP keys in a single update message
providing all required signatures are present. PGP parts with invalid signatures are handled as plain text. If the object
is protected by an authentication method other than PGP, or has multiple PGP authentication can be mixed with any of the other forms of authentication in the same mntner object. Each authentication method used can have multiple instances present. All the authentications present in a mntner object are processed with a logical 'OR' to determine if the authentication is passed. PGP can be used with updates submitted by e-mail or using the syncupdates facility. It cannot be used with the webupdates interface. Legal issues Please note that encryption technology is subject to legal restrictions
in some countries. PGP signatures are based on public key encryption. More information: * GnuPG FAQ, user guide and howto |
|
| Copyright ©
2005-2010 AfriNIC. All rights reserved. For website comments/feedback, click here . For general inquiries, email contact@afrinic.net |