Using Smartcards without it's public key
Mustrum
mustrum at mustrum.net
Sun Mar 4 01:01:39 CET 2012
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Le 04/03/2012 00:20, Todd A. Jacobs a écrit :
> I *think* this is either because the key lookup is happening on the
public key first, before checking for the matching secret key, or
because the stubs aren't being created right in the keyrings. I am
having a similar problem with signing, even though I've explicitly
imported my public key into the public keyring (using --import, rather
than --edit-card), and have the secret key on a cryptostick.
To be able to use the private keys from a card, you have to get the
"stub" on your key ring.
First import the public keys (all of them if you use many subkey)
Then use --card-status to get the private stubs, I don't know if
--card-edit 'll do the trick.
Always worked form my cryptostick.
Regards
-----BEGIN PGP SIGNATURE-----
iQIcBAEBAgAGBQJPUrDjAAoJEEy6/YZf1YOeMwsP/1yBCD3pwnMHbTNSPnasQFSk
vUiXTFRYPps2EEi8FThF0WrAEERqj+hDCeO5rKsezqMbKzlOatjApBFwbfAPV1nY
+pv32Ft+Gzlmbw0MO/XCGJFrn3jgZ8tNZJTCverhRvl2q70UWpnZOB4tlaEqXReT
8mfISbiXIJhZ47ceH2VykBeFGZXGRG1bGhrZinQPdMQr7DbomkUJE0N93SqFsY7y
fCqhmAAP8a9nnYStRUsnaZFuXHBe5YLs7bqEMzL+YzIRHWWLlOfKLtI5eaIYRI/b
O/tZEJH3sELiUgLH47o7ZQ8k1oa1SAfB+hi8DBJu3vhjOvxpl87tQsIaHG/MgCQZ
E8AJlqEIYhMloUoQ3Ggjt8/uyEfeBt0hKisZN/ZmO5aatzR6hY/8wSDy/SEHe3lz
1EUrLNzBES/iHB2wGwYorRW80CsHKbDiwlWzRfVwpytWoTYl9Z3Nr66Q2aROiw/P
ODcYiPVLXZUNi/UlxBjZbjr02uue00bWBFR+pQ39fDoGvQB4AZ/Xhg0reEjQCJaa
jX6P6aTFyqtJPUhyHex8qYhjJIDn0mpxPC9lyEfPezojgTZnhNP4QmE4kyE+6gta
XeXXOCTxB5oy56TcSSvv1yTVSgDAkYqOvnn3X6e0jYx8MchQYOeC4GAJCjxR5rX1
oFzAR5bVB5QNBygLdex4
=e43s
-----END PGP SIGNATURE-----
More information about the Gnupg-users
mailing list