Different passwords for subkeys

Hauke Laging mailinglisten at hauke-laging.de
Fri Jul 18 01:09:15 CEST 2014

Am Do 17.07.2014, 23:39:53 schrieb MFPA:

> > in short: use gpgsplit to split the key, then import
> > one part, set passphrase A, export it (encrypted with
> > A), delete it, then import the other part, set
> > passphrase B.
> Do you actually need gpgsplit to achieve this? I thought you could
> achieve the same thing by using GnuPG's export-secret-subkeys command.

That doesn't help as you don't have to export secret keys but have to 
import them.

For some reason it is not possible (with 1.4.x and 2.0.x) to import 
secret components for a key which is already part of the secret keyring. 
Thus you have to 

a) either change the passphrase of single components within the secret 
keyring (which GnuPG doesn't support)

b) or import a secret key file which already contains components with 
different passphrases.

Crypto für alle: http://www.openpgp-schulungen.de/fuer/unterstuetzer/
OpenPGP: 7D82 FB9F D25A 2CE4 5241 6C37 BF4B 8EEF 1A57 1DF5
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 490 bytes
Desc: This is a digitally signed message part.
URL: </pipermail/attachments/20140718/a35adeaf/attachment.sig>

More information about the Gnupg-users mailing list