From fbb3059a0bea6f18f2504437c5e2f40f28fb9db7 Mon Sep 17 00:00:00 2001 From: Chris Cowan Date: Sun, 8 Oct 2017 17:57:47 -0700 Subject: [PATCH 1/2] README: Add a note about how to fetch a key's timestamp. --- README-GPG.md | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/README-GPG.md b/README-GPG.md index 5e9d7f3..f5031c0 100644 --- a/README-GPG.md +++ b/README-GPG.md @@ -103,3 +103,10 @@ $ GNUPGHOME=~/.gnupg/trezor qtpass ## Re-generation of an existing GPG identity [![asciicast](https://asciinema.org/a/M4lRjEmGJ2RreQiHBGWT9pzp4.png)](https://asciinema.org/a/M4lRjEmGJ2RreQiHBGWT9pzp4) + +If you've forgotten the timestamp value, but still have access to the public key, then you can +retrieve the timestamp with the following command (substitute "john@doe.bit" for the key's address or id): + +``` +$ gpg2 --export 'john@doe.bit'|gpg2 --list-packets|grep created|head -n1 +``` From c5f245957ddc75cc822cc6e8bd40ca2e7353589a Mon Sep 17 00:00:00 2001 From: Roman Zeyde Date: Mon, 9 Oct 2017 09:33:09 +0300 Subject: [PATCH 2/2] README: add spaces around '|' operators --- README-GPG.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README-GPG.md b/README-GPG.md index f5031c0..146e455 100644 --- a/README-GPG.md +++ b/README-GPG.md @@ -108,5 +108,5 @@ If you've forgotten the timestamp value, but still have access to the public key retrieve the timestamp with the following command (substitute "john@doe.bit" for the key's address or id): ``` -$ gpg2 --export 'john@doe.bit'|gpg2 --list-packets|grep created|head -n1 +$ gpg2 --export 'john@doe.bit' | gpg2 --list-packets | grep created | head -n1 ```