Gnupg-users Digest, Vol 180, Issue 3

Wiktor Kwapisiewicz wiktor at metacode.biz
Tue Sep 4 12:15:17 CEST 2018


On 04.09.2018 10:29, Roland Siemons (P) wrote:
> Remains:
> How can I see what is on the smartcard?

gpg --card-status

> How can I copy files to the smartcard?

You can't copy generic files, smartcard contains only private keys (gpg
--edit-key X, keytocard) and a small amount of data objects (gpg
--card-edit, admin, url/lang/name).

Note that keytocard *moves* key to card, meaning the local copy of the
private key will be deleted. If you don't want that (e.g. encryption
key) either have a copy or *don't* save after keytocard command.

The card can store only 3 keys: one signature, one encryption and one
authentication key.

Kind regards,

Wiktor

On 04.09.2018 10:29, Roland Siemons (P) wrote:
> @ Dirk Gottschalk: Thanks for very effective response to my first question!
> 
> Remains:
> How can I see what is on the smartcard?
> How can I copy files to the smartcard?
> 
> I studied the GnuPG Smartcard How-To
> (www.gnupg.org/howtos/card-howto/en/smartcard-howto.html), but that is
> entirely linux oriented. Whereas I am working on a win7 system.
> 
> HOWEVER, by trial and error, I found out that the same commands work on
> the command line terminal of Win7. I shall test it further.
> 
> Best regards,
> 
> Roland
> 
> 
> On 04/09/2018 09:52, gnupg-users-request at gnupg.org wrote:
>> Send Gnupg-users mailing list submissions to
>> 	gnupg-users at gnupg.org
>>
>> To subscribe or unsubscribe via the World Wide Web, visit
>> 	http://lists.gnupg.org/mailman/listinfo/gnupg-users
>> or, via email, send a message with subject or body 'help' to
>> 	gnupg-users-request at gnupg.org
>>
>> You can reach the person managing the list at
>> 	gnupg-users-owner at gnupg.org
>>
>> When replying, please edit your Subject line so it is more specific
>> than "Re: Contents of Gnupg-users digest..."
>>
>>
>> Today's Topics:
>>
>>    1. Re: revocation troubles & smartcard troubles (Dirk Gottschalk)
>>    2. AW: How to fix "ERROR key_generate 3355453" / "GENKEY'
>>       failed: IPC call has been cancelled" (Fiedler Roman)
>>    3. Re: AW: How to fix "ERROR key_generate 3355453" / "GENKEY'
>>       failed: IPC call has been cancelled" (Peter Lebbing)
>>    4. Re: AW: How to fix "ERROR key_generate 3355453" / "GENKEY'
>>       failed: IPC call has been cancelled" (Werner Koch)
>>    5. AW: How to fix "ERROR key_generate 3355453" / "GENKEY'
>>       failed: IPC call has been cancelled" (Fiedler Roman)
>>
>>
>> ----------------------------------------------------------------------
>>
>> Message: 1
>> Date: Mon, 03 Sep 2018 18:41:29 +0200
>> From: Dirk Gottschalk <dirk.gottschalk1980 at googlemail.com>
>> To: gnupg-users at gnupg.org
>> Subject: Re: revocation troubles & smartcard troubles
>> Message-ID: <AE23B41E-B679-48BB-85A5-7CF8CEB4F364 at googlemail.com>
>> Content-Type: text/plain; charset="utf-8"
>>
>> As long as you did not publish reports revocation, delete the key and re-import it without the revocation cert. 
>>
>> Am 3. September 2018 17:03:19 MESZ schrieb "Roland Siemons (P)" <Siemons at CleanFuels.nl>:
>>> Dear GnuPG,
>>>
>>> I am already using GnuPG for a long time. But try to improve my
>>> understanding of and working with it.
>>> I became a member of Free Software Foundation Europe, and got a
>>> smartcard. I wanted to use it.
>>>
>>> And that is where the trouble started:
>>> I intended to copy all my personal keys to the smart card.
>>> In Kleopatra, I selected "Tools/Manage smartcards"
>>> Then I selected "Import a certificate from a file", and selected files
>> >from my laptop.
>>> I was under the impression that I was copying files to the smartcard.
>>> By doing so, I not only selected my private key but also my revocation
>>> key (because, why should I enable a thief of my laptop to revoke my
>>> key?).
>>> And then it appeared that I had revoked my entire key pair. Unintended!
>>> Apparently, under smartcard management, I was not at all copying files
>>> to the smartcard. Apparently, I was doing something else. Did I at all
>>> copy files to the smartcard?
>>>
>>> Questions:
>>> Can I UNrevoke that key?
>>> How can I see what is on the smartcard?
>>> How can I copy files to the smartcard?
>>>
>>> I studied the GnuPG Smartcard How-To
>>> (www.gnupg.org/howtos/card-howto/en/smartcard-howto.html), but that is
>>> entirely linux oriented.
>>> I am working on a win7 system.
>>>
>>> Can anyone help me further?
>>>
>>> Thanks!
>>>
>>> Roland
>>
>>
>> _______________________________________________
>> Gnupg-users mailing list
>> Gnupg-users at gnupg.org
>> http://lists.gnupg.org/mailman/listinfo/gnupg-users


-- 
https://metacode.biz/@wiktor



More information about the Gnupg-users mailing list