Created
September 15, 2019 03:50
-
-
Save eed3si9n/515491369035e7ad71df6e1e6dda164f to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sbt:foo> pgp-cmd gen-key | |
Please enter the name associated with the key: foo | |
Please enter the email associated with the key: [email protected] | |
Please enter the passphrase for the key: **** | |
Please re-enter the passphrase for the key: **** | |
[info] Creating a new PGP key, this could take a long time. | |
[info] Public key := /home/demiourgos1/.sbt/gpg/pubring.asc | |
[info] Secret key := /home/demiourgos1/.sbt/gpg/secring.asc | |
[info] Please do not share your secret key. Your public key is free to share. | |
$ docker run -it --mount src="$(pwd)",target=/home,type=bind ubuntu:bionic | |
$ gpg --import ./secring.asc | |
gpg: /root/.gnupg/trustdb.gpg: trustdb created | |
gpg: key 77098E6A92692949: public key "foo <[email protected]>" imported | |
gpg: key 77098E6A92692949: secret key imported | |
gpg: Total number processed: 1 | |
gpg: imported: 1 | |
gpg: secret keys read: 1 | |
gpg: secret keys imported: | |
root@89624be0e229:/home# gpg --list-key | |
/root/.gnupg/pubring.kbx | |
------------------------ | |
pub rsa2048 2019-09-15 [SCEA] | |
965F25CC72DF4F2A4358AC9B77098E6A92692949 | |
uid [ unknown] foo <[email protected]> | |
root@89624be0e229:/home# gpg --list-secret-key | |
/root/.gnupg/pubring.kbx | |
------------------------ | |
sec rsa2048 2019-09-15 [SCEA] | |
965F25CC72DF4F2A4358AC9B77098E6A92692949 | |
uid [ unknown] foo <[email protected]> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment