Page MenuHome GnuPG

timfriske (Tim Friske)
User

Projects

User does not belong to any projects.

User Details

User Since
Mar 27 2017, 4:47 PM (399 w, 2 d)
Availability
Available

Recent Activity

May 18 2013

timfriske added a comment to T1501: Public part of a R4096(S)-Subkey lost when imported from an armored backup file..

In order to work around this potential bug I do the following at the moment:

  1. Store: (a) Export the ASCII-armored *secret* key together with its subkeys. (b) Export the ASCII-armored *public* key together with its subkeys.
  1. Restore: (a) Import the ASCII-armored *public* key together with its subkeys. (b) Import the ASCII-armored *secret* key together with its subkeys.

The actions [1.(b)] and [2.(a)] should not be necessary if there was not this
potential bug.

May 18 2013, 7:25 PM · Won't Fix, Bug Report, gnupg, gnupg (gpg20), gnupg (gpg14)
timfriske added a comment to T1501: Public part of a R4096(S)-Subkey lost when imported from an armored backup file..

I further tried to find the action that causes the potential bug with an another
test key as follows:

  1. Create a certify-only RSA4096 primary key.
  1. Store the public keyring with: (a) cp ~/.gnupg/pubring.gpg{,XXX}
  1. Export the secret key to an ASCII-armored file with: (a) gpg -v --status-fd 1 --armor --output 0xEEE9979BE8C80E95.pub.asc.txt --

export 0xEEE9979BE8C80E95

  1. Export the public key to an ASCII-armored file with: (a) gpg -v --status-fd 1 --armor --output 0xB6BF97893ACA0C17.pub.asc.txt --

export 0xB6BF97893ACA0C17

  1. Delete the public and secret key with: (a) gpg --delete-secret-and-public-keys 0xEEE9979BE8C80E95
  1. Import the secret key from an ASCII-armored file with: (a) gpg -v --status-fd 1 --armor --import 0xEEE9979BE8C80E95.sec.asc.txt
  1. Compare the previously stored public key against the new one with: (a) diff -q ~/.gnupg/pubring.gpg{,XXX}
  1. Repeat action 1. to 7. by: (a) Adding a sign-only RSA4096 subkey. (b) Adding a encrypt-only RSA4096 subkey. (c) Change the expiry date of the encrypt-only RSA4096 subkey.

ERROR: *Changing the expiry date*, exporting, purging, importing the primary key
with its 2 subkeys makes the first sign-only RSA4096 subkey disappear from the
pubring.gpg file but not from the secring.gpg file.

May 18 2013, 6:42 PM · Won't Fix, Bug Report, gnupg, gnupg (gpg20), gnupg (gpg14)
timfriske set Version to 1.4.13, 2.0.19 on T1501: Public part of a R4096(S)-Subkey lost when imported from an armored backup file..
May 18 2013, 4:46 PM · Won't Fix, Bug Report, gnupg, gnupg (gpg20), gnupg (gpg14)
timfriske added projects to T1501: Public part of a R4096(S)-Subkey lost when imported from an armored backup file.: Cross-Compiler, gnupg (gpg14), gnupg (gpg20), gnupg, Bug Report.
May 18 2013, 4:46 PM · Won't Fix, Bug Report, gnupg, gnupg (gpg20), gnupg (gpg14)