smartcard: transferring to another account

Peter Lebbing peter at digitalbrains.com
Mon Apr 1 20:14:48 CEST 2013


On 31/03/13 23:16, Anonymous wrote:
> account 'B' can access the card, but I guess it is missing some type of
> "stub" gnupg uses to mark the keys on the card?

Importing the public key /should/ be enough, and when GnuPG sees the smartcard,
it will create the corresponding stub.[1]

So there is something wrong. But what exactly would be a whole lot easier to
establish if you could give some more details. Which operating system are you
using? Be as specific as you can, e.g., "Debian Squeeze" instead of "Linux", or
"Oracle Solaris 10 1/13" instead of "Solaris". Which versions of GnuPG and
associated programs and libraries, and what are the exact messages spewed by
those programs when you try to import keys and use your smartcard. Obviously you
can edit in it to remove identifying information. Don't just hand out debug logs
from the smartcard without recognising your PIN in the hex dump there ;).

HTH,

Peter.

[1] Once. So if you have two smartcards with the same key on them, you can't
(without further adjustments) mix those two smartcards because it will ask for
the one it saw first.

-- 
I use the GNU Privacy Guard (GnuPG) in combination with Enigmail.
You can send me encrypted mail if you want some privacy.
My key is available at <http://digitalbrains.com/2012/openpgp-key-peter>



More information about the Gnupg-users mailing list