[PATCH] scd: Support AES decryption for OpenPGPcard v3.0.

NIIBE Yutaka gniibe at fsij.org
Tue Jun 30 14:33:13 CEST 2015


On 06/30/2015 07:39 PM, Werner Koch wrote:
> On Tue, 30 Jun 2015 10:04, gniibe at fsij.org said:
> 
>>> scd setattr aeskey %f3%2e%34%fe%dc%ab%df%e3%47%ac%b3%4b%a5%10%d8%c6
>> OK
>>> scd setdata 025D6C89682D07CCFC034AF508420BF227
>> OK
> 
> Isn't it a bit surprising that the key is given in raw form (obviously
> precent escape) while the data is given hex encoded?

I don't intend to ask users to do that.  I showed it so that I can
demonstrate: how the feature is accessible with a patch now.

The reason why one is %-escaped and another is not is: while SETDATA
command takes a hexstring as an argument, SETATTR command takes
simple string.

I'm not sure if people use the feature with GnuPG, and I have no idea
how it will be by gpg frontend (if people want to use it).

I understand the feature would be useful for some cases, but, I've not
yet decided if I will incorporate the feature in Gnuk.  For me, shared
secret is difficult to manage.
-- 



More information about the Gnupg-devel mailing list