Steps to reproduce:
- gpg --gen-key
- gpg --export-secret-keys > /tmp/key
- gpg --expert --edit-key xxxxxxxxx@xxx.de
- bkuptocard /tmp/key
Output:
gpg: card-util.c:1542: card_store_subkey: Assertion `node->pkt->pkttype ==
PKT_PUBLIC_KEY || node->pkt->pkttype == PKT_PUBLIC_SUBKEY' failed.
[1] 2637 abort (core dumped) gpg --expert --edit-key xxxxxxxxx@xxx.de