Skip to content

Instantly share code, notes, and snippets.

@exalted
Created November 8, 2017 08:51
Show Gist options
  • Save exalted/a0ec65fdbe388ffeb8aa258825f62c7a to your computer and use it in GitHub Desktop.
Save exalted/a0ec65fdbe388ffeb8aa258825f62c7a to your computer and use it in GitHub Desktop.

Revisions

  1. exalted revised this gist Nov 8, 2017. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion Import a public key in PGP.md
    Original file line number Diff line number Diff line change
    @@ -7,4 +7,4 @@ gpg --import foo.key

    # list all public & private keys (see what’s imported)
    gpg --list-keys
    ```
    ```
  2. exalted created this gist Nov 8, 2017.
    10 changes: 10 additions & 0 deletions Import a public key in PGP.md
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,10 @@
    ```bash
    # show without importing
    gpg --import --import-options show-only foo.key

    # import
    gpg --import foo.key

    # list all public & private keys (see what’s imported)
    gpg --list-keys
    ```