| 1 | |
| 2 | Generate key |
| 3 | {{{ |
| 4 | gpg2 --full-gen-key --expert |
| 5 | gpg (GnuPG) 2.1.15; Copyright (C) 2016 Free Software Foundation, Inc. |
| 6 | This is free software: you are free to change and redistribute it. |
| 7 | There is NO WARRANTY, to the extent permitted by law. |
| 8 | |
| 9 | gpg: keybox '/home/jorrit/.gnupg/pubring.kbx' created |
| 10 | Please select what kind of key you want: |
| 11 | (1) RSA and RSA (default) |
| 12 | (2) DSA and Elgamal |
| 13 | (3) DSA (sign only) |
| 14 | (4) RSA (sign only) |
| 15 | (7) DSA (set your own capabilities) |
| 16 | (8) RSA (set your own capabilities) |
| 17 | (9) ECC and ECC |
| 18 | (10) ECC (sign only) |
| 19 | (11) ECC (set your own capabilities) |
| 20 | Your selection? 8 |
| 21 | |
| 22 | Possible actions for a RSA key: Sign Certify Encrypt Authenticate |
| 23 | Current allowed actions: Sign Certify Encrypt |
| 24 | |
| 25 | (S) Toggle the sign capability |
| 26 | (E) Toggle the encrypt capability |
| 27 | (A) Toggle the authenticate capability |
| 28 | (Q) Finished |
| 29 | |
| 30 | Your selection? s |
| 31 | |
| 32 | Possible actions for a RSA key: Sign Certify Encrypt Authenticate |
| 33 | Current allowed actions: Certify Encrypt |
| 34 | |
| 35 | (S) Toggle the sign capability |
| 36 | (E) Toggle the encrypt capability |
| 37 | (A) Toggle the authenticate capability |
| 38 | (Q) Finished |
| 39 | |
| 40 | Your selection? e |
| 41 | |
| 42 | Possible actions for a RSA key: Sign Certify Encrypt Authenticate |
| 43 | Current allowed actions: Certify |
| 44 | |
| 45 | (S) Toggle the sign capability |
| 46 | (E) Toggle the encrypt capability |
| 47 | (A) Toggle the authenticate capability |
| 48 | (Q) Finished |
| 49 | |
| 50 | Your selection? q |
| 51 | RSA keys may be between 1024 and 4096 bits long. |
| 52 | What keysize do you want? (2048) 3072 |
| 53 | Requested keysize is 3072 bits |
| 54 | Please specify how long the key should be valid. |
| 55 | 0 = key does not expire |
| 56 | <n> = key expires in n days |
| 57 | <n>w = key expires in n weeks |
| 58 | <n>m = key expires in n months |
| 59 | <n>y = key expires in n years |
| 60 | Key is valid for? (0) 1y |
| 61 | Key expires at di 24 jul 2018 22:49:09 CEST |
| 62 | Is this correct? (y/N) y |
| 63 | |
| 64 | GnuPG needs to construct a user ID to identify your key. |
| 65 | |
| 66 | Real name: Jorrit Jorritsma |
| 67 | Email address: jsj@xs4all.nl |
| 68 | Comment: |
| 69 | You selected this USER-ID: |
| 70 | "Jorrit Jorritsma <jsj@xs4all.nl>" |
| 71 | |
| 72 | Change (N)ame, (C)omment, (E)mail or (O)kay/(Q)uit? o |
| 73 | We need to generate a lot of random bytes. It is a good idea to perform |
| 74 | some other action (type on the keyboard, move the mouse, utilize the |
| 75 | disks) during the prime generation; this gives the random number |
| 76 | generator a better chance to gain enough entropy. |
| 77 | Please enter the passphrase to |
| 78 | protect your new key |
| 79 | Passphrase: |
| 80 | Repeat: |
| 81 | gpg: /home/jorrit/.gnupg/trustdb.gpg: trustdb created |
| 82 | gpg: key C2D3C98C511F9CF8 marked as ultimately trusted |
| 83 | gpg: revocation certificate stored as '/home/jorrit/.gnupg/openpgp-revocs.d/94D49EC738E0D9519BCDE7D9C2D3C98C511F9CF8.rev' |
| 84 | public and secret key created and signed. |
| 85 | |
| 86 | pub rsa3072 2017-07-24 [C] [expires: 2018-07-24] |
| 87 | 94D49EC738E0D9519BCDE7D9C2D3C98C511F9CF8 |
| 88 | uid Jorrit Jorritsma <jsj@xs4all.nl> |
| 89 | }}} |