2 msgWeird error
3 msgAutomating, passwd command replies, 'Need the s...
1 msgUpdated copy of pinentry-mac available.
3 msgRe: Protecting private key on USB flash drive: ...
12 msgSVN version not correctly displaying
3 msgTrust model syntax
3 msg[Fwd: Re: Protecting private key on USB flash d...
2 msgCan't sign & encrypt from command line
16 msgProtecting private key on USB flash drive: how to?
2 msgHow to decrypt multiple blocks of encrypt messa...
2 msgHash algo for Gnupg

Problem with FSFE gpg card
\ Henry Bremridge (8 May 2008)
. \ Henry Bremridge (8 May 2008)
. . \ Edward Robinson (8 May 2008)
. . \ Edward Robinson (8 May 2008)
. . . \ Henry Bremridge (8 May 2008)
. . . . \ Henry Bremridge (11 May 2008)
. \ Edward Robinson (8 May 2008)

2 msgSuggestions on how to compile for cygwin
11 msgNeed recommendation on keyserver code
3 msgconfused about public key strength
7 msgCompile without libiconv or libintl on Solaris
1 msgDuplicity
2 msg[Fwd: Re: Question about GnuPG Smartcard]
1 msgGPG in several computers
1 msg[REPOST] LDAP Basic Auth not working for key se...
Subject:Re: Problem with FSFE gpg card
Group:Gnupg-users
From:Edward Robinson
Date:8 May 2008


 
Henry Bremridge wrote:
>> I think it may depend on how you backed up your keyring. If you copied
>> the .gnupg folder, then you could do:
>>
>> gpg --homedir <backup_usb_stick>
>
> Removed my card and then tried
>
> $gpg --homedir <backup_directory> -d file.gpg
>
> and got the following message
>
> gpg: anonymous recipient; trying secret key <xxxxxx> ...
> gpg: detected reader `SCM SCR 335 00 00'
> gpg: pcsc_connect failed: no smartcard (0x8010000c)
> gpg: apdu_send_simple(0) failed: no card
> Please insert the card and hit return or enter 'c' to cancel: c

Did you generate your secret keys on the card? If so, you can only decrypt
the file with the private key on the card (since it does not exist anywhere
else). However, if you also encrypted the file with your master public key
(likely to be a 2048 elgamel key) then that should have tried your private key
in the the backed up keyring. Did you set the hidden-encrypt line in your
gpg.conf?

Read section 6.9 of this:
https://www.fsfe.org/en/card/howto/subkey_howto

> if I just entered
>
> $gpg --homedir <backupdirectory>
>
> Then I get
>
> gpg: Go ahead and type your message ...

That's fine, your just doing `gpg' except your specifying where the homedir is
located. Type gpg on its own and it would be the same but using .gnupg as
your home dir.

> I have got to be making a silly mistake somewhere. Will take the time the to reread the manuals slowly and the set up commands of the card

Possibly, but then again I am not an expert, so someone may come along and put
you straight!

Cheers,

Edd

_______________________________________________
Gnupg-users mailing list
Gnupg-users
http://lists.gnupg.org/mailman/listinfo/gnupg-users


© 2004-2008 readlist.com