Skip to content

Instantly share code, notes, and snippets.

@orkunkl
Last active September 19, 2019 14:44
Show Gist options
  • Save orkunkl/45321e2d6cd681f0e047b3a850c7067e to your computer and use it in GitHub Desktop.
Save orkunkl/45321e2d6cd681f0e047b3a850c7067e to your computer and use it in GitHub Desktop.
gpg --gen-key
>
gpg (GnuPG) 2.2.17; Copyright (C) 2019 Free Software Foundation, Inc.
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
Note: Use "gpg --full-generate-key" for a full featured key generation dialog.
GnuPG needs to construct a user ID to identify your key.
Real name: testname
Email address: [email protected]
You selected this USER-ID:
"testname <[email protected]>"
Change (N)ame, (E)mail, or (O)kay/(Q)uit? O
We need to generate a lot of random bytes. It is a good idea to perform
some other action (type on the keyboard, move the mouse, utilize the
disks) during the prime generation; this gives the random number
generator a better chance to gain enough entropy.
We need to generate a lot of random bytes. It is a good idea to perform
some other action (type on the keyboard, move the mouse, utilize the
disks) during the prime generation; this gives the random number
generator a better chance to gain enough entropy.
gpg: key 0xDB99045905BD0E92 marked as ultimately trusted
gpg: revocation certificate stored as '/Users/orkunkl/.gnupg/openpgp-revocs.d/A89015615C3A620C5EA1F800DB99045905BD0E92.rev'
public and secret key created and signed.
pub rsa2048/0xDB99045905BD0E92 2019-09-19 [SC] [expires: 2021-09-18]
Key fingerprint = A890 1561 5C3A 620C 5EA1 F800 DB99 0459 05BD 0E92
uid testname <[email protected]>
sub rsa2048/0x3E2CFEBD818C3DC1 2019-09-19 [E] [expires: 2021-09-18]
# send pgp keys to keyserver
gpg --send-keys 0xDB99045905BD0E92
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment