Page MenuHome GnuPG

import of secret key doesn't merge subkeys with the existing key in the keyring
Closed, ResolvedPublic

Description

see the linked discussion.

in short: when importing a file that is the result of --export-secret-subkeys
then at import if that secret key is already present in the keyring then the
extra subkeys in the import file are not merged into the keyring.

if the secret key is deleted from the keyring, then afterwards --import properly
imports all the subkeys from the file.

Event Timeline

attila.lendvai set Version to 2.0.19.
attila.lendvai set External Link to http://gnupg.10057.n7.nabble.com/Transfer-subkey-to-other-keyring-tt31272.html.
attila.lendvai added a subscriber: attila.lendvai.
werner added a subscriber: werner.

Merging of secret keys has never been not supported. GnuPG 2.1 has a
architecture redesign which supports secret key merging. There won't be any
backport.

werner claimed this task.