Artifact 4b1a73748b0bfa57fa265801bbec5a6d974cd2a5:
- File wiki/key-format.md — part of check-in [df70ba92ea] at 2019-03-09 22:50:25 on branch trunk — Use html parser to convert wiki files to md files (user: bernd size: 705)
0000: 23 20 4b 65 79 20 46 6f 72 6d 61 74 20 23 0a 0a # Key Format #.. 0010: 54 68 65 20 70 75 62 6c 69 63 20 6b 65 79 20 69 The public key i 0020: 73 20 74 68 65 20 70 72 69 6d 61 72 79 20 6b 65 s the primary ke 0030: 79 20 28 74 68 65 20 49 44 29 20 6f 66 20 61 20 y (the ID) of a 0040: 6b 65 79 2e 20 20 4f 74 68 65 72 20 66 69 65 6c key. Other fiel 0050: 64 73 20 61 72 65 3a 0a 0a 2a 20 50 72 69 76 61 ds are:..* Priva 0060: 74 65 20 6b 65 79 20 28 66 6f 72 20 73 65 63 72 te key (for secr 0070: 65 74 20 6b 65 79 20 72 69 6e 67 29 20 e2 80 94 et key ring) — 0080: 20 74 68 65 20 70 72 69 76 61 74 65 20 6b 65 79 the private key 0090: 20 6d 61 79 20 62 65 20 70 72 6f 74 65 63 74 65 may be protecte 00a0: 64 20 62 79 20 61 0a 20 20 70 61 73 73 20 70 68 d by a. pass ph 00b0: 72 61 73 65 20 61 6e 64 20 61 20 70 61 73 73 20 rase and a pass 00c0: 66 69 6c 65 0a 2a 20 4e 69 63 6b 6e 61 6d 65 20 file.* Nickname 00d0: 28 66 6f 72 20 68 75 6d 61 6e 73 29 0a 2a 20 46 (for humans).* F 00e0: 75 6c 6c 20 6e 61 6d 65 20 28 66 6f 72 20 68 75 ull name (for hu 00f0: 6d 61 6e 73 29 0a 2a 20 43 72 65 61 74 69 6f 6e mans).* Creation 0100: 20 61 6e 64 20 65 78 70 69 72 61 74 69 6f 6e 20 and expiration 0110: 64 61 74 65 73 0a 0a 23 23 20 53 69 67 6e 61 74 dates..## Signat 0120: 75 72 65 73 20 23 23 0a 0a 4b 65 79 73 20 6d 61 ures ##..Keys ma 0130: 79 20 62 65 20 73 69 67 6e 65 64 2c 20 77 65 20 y be signed, we 0140: 74 72 65 61 74 20 6b 65 79 20 73 69 67 6e 61 74 treat key signat 0150: 75 72 65 73 20 61 73 20 73 65 70 61 72 61 74 65 ures as separate 0160: 20 65 6e 74 69 74 69 65 73 2e 20 20 41 20 73 69 entities. A si 0170: 67 6e 61 74 75 72 65 0a 63 6f 6e 73 69 73 74 73 gnature.consists 0180: 20 6f 66 0a 0a 2a 20 54 68 65 20 70 75 62 6b 65 of..* The pubke 0190: 79 20 6f 66 20 74 68 65 20 73 69 67 6e 65 64 20 y of the signed 01a0: 6b 65 79 0a 2a 20 54 68 65 20 70 75 62 6b 65 79 key.* The pubkey 01b0: 20 6f 66 20 74 68 65 20 73 69 67 6e 65 72 0a 2a of the signer.* 01c0: 20 54 68 65 20 e2 80 9c 64 69 67 65 73 74 e2 80 The “digest 01d0: 9d 2c 20 74 68 65 20 63 72 79 70 74 6f 67 72 61 , the cryptogra 01e0: 70 68 69 63 20 63 68 65 63 6b 73 75 6d 20 74 68 phic checksum th 01f0: 61 74 20 70 72 6f 76 65 73 20 74 68 61 74 20 74 at proves that t 0200: 68 65 20 73 69 67 6e 65 72 20 68 61 73 0a 20 20 he signer has. 0210: 73 69 67 6e 65 64 20 74 68 65 20 6b 65 79 0a 0a signed the key.. 0220: 54 68 69 73 20 66 65 61 74 75 72 65 20 77 69 6c This feature wil 0230: 6c 20 62 65 20 69 6d 70 6c 65 6d 65 6e 74 65 64 l be implemented 0240: 20 77 68 65 6e 20 44 61 6e 20 42 65 72 6e 73 74 when Dan Bernst 0250: 65 69 6e 20 69 6e 74 65 67 72 61 74 65 73 20 73 ein integrates s 0260: 69 67 6e 61 74 75 72 65 73 0a 69 6e 74 6f 20 4e ignatures.into N 0270: 61 43 6c 3b 20 6d 61 79 62 65 20 61 20 62 69 74 aCl; maybe a bit 0280: 20 65 61 72 6c 69 65 72 2c 20 73 69 6e 63 65 20 earlier, since 0290: 74 68 65 20 63 6f 64 65 20 66 6f 72 20 74 68 65 the code for the 02a0: 73 65 20 73 69 67 6e 61 74 75 72 65 73 20 69 73 se signatures is 02b0: 20 61 6c 72 65 61 64 79 0a 74 65 73 74 65 64 2e already.tested. 02c0: 0a .