Last active
April 23, 2017 17:25
-
-
Save zouzias/1b8e93095be82e1a664827bf2056c9be to your computer and use it in GitHub Desktop.
Migrate PGP key for sbt to new computer (spark-lucenerdd)
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
Install pgptools https://gpgtools.org |
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
// Add this under ~/.sbt/0.13/plugins/sonatype.sbt | |
credentials += Credentials("Sonatype Nexus Repository Manager", | |
"oss.sonatype.org", | |
"zouzias", | |
"CEID PASSWORD HERE") |
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
# List private keys | |
gpg2 --list-secret-keys | |
# To export the key | |
gpg2 --armor --export-secret-keys [email protected] > zouzias.asc | |
# To import the key, type | |
gpg --import 6D0A6CC5.asc |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment