scd: Support direct use of app with PKSIGN/PKAUTH/PKDECRYPT.
authorNIIBE Yutaka <gniibe@fsij.org>
Tue, 7 May 2019 00:41:14 +0000 (09:41 +0900)
committerNIIBE Yutaka <gniibe@fsij.org>
Tue, 7 May 2019 00:41:14 +0000 (09:41 +0900)
commitc856ee7312c9eeb7d79a30189a49f70986420364
tree989a57a393b2a723165219a173c9884d2b2e1af4
parentf43560a4d6cd44824654989ae043b346910e7a43
scd: Support direct use of app with PKSIGN/PKAUTH/PKDECRYPT.

* scd/command.c (cmd_pksign, cmd_pkauth, cmd_pkdecrypt): When length
of keyidstr is 40, it is considered as a keygrip for direct use.

Signed-off-by: NIIBE Yutaka <gniibe@fsij.org>
scd/command.c