One primary pgp key with two pgp subkeys - more exact, two distinct auth&signing (let's call them A1, S1 and A2, S2) keys, and one common encryption key (let's call em E) - using gpg2.
Hence the end-state of this setup shall be:
SC1 contains A1,S1,E SC2 contains A2,S2,E
Writing the keys to the cards works fine:
Stage 1: Insert SC1, keytocard A1&S1, backup keystore, keytocard E Stage 2: Insert SC2, restore keystore, keytocard A2&S2, keytocard E
The KeyGrips are different, so I'd expect gpg to ask for the correct card, but: After SC2 is written, the pgp db seems screwed up: it shows that ALL 5 subkeys are on SC2.
Thanks in advance,
Versions (on Fedora 29):
gpg (GnuPG) 2.2.11