From 20edb41842624c3535bb20f530e887e908c530a9 Mon Sep 17 00:00:00 2001 From: johannst Date: Fri, 30 Dec 2022 18:05:51 +0000 Subject: deploy: 07bb356630e019ec860bff7a69af819322cd8947 --- tools/gpg.html | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) (limited to 'tools/gpg.html') diff --git a/tools/gpg.html b/tools/gpg.html index 30139d0..5fdeceb 100644 --- a/tools/gpg.html +++ b/tools/gpg.html @@ -243,6 +243,23 @@ gpg --verify <file>.asc <file>
  • http://keyserver.ubuntu.com
  • hkps://pgp.mailbox.org
  • +

    Examples

    +

    List basic key information from file with long keyids

    +
    gpg --keyid-format 0xlong <key.asc>
    +
    +

    Extend expiring key

    +
    gpg --edit-key <key id>
    +
    +# By default we are on the primary key, can switch to sub key.
    +gpg> key 1
    +
    +# Update the expire date.
    +gpg> expire
    +
    +gpg> save
    +
    +# Update keyserver(s) and/or export new pub keyfile.
    +
    -- cgit v1.2.3