mirror of
https://github.com/polhenarejos/pico-openpgp.git
synced 2026-05-28 17:11:24 +02:00
Yubico and GnuPG interpretate the standard in different ways. While Yubico follows strictly the spec and expects the TAG encapsulating the output of GET_DATA, GnuPG expects consecutive DO in the response.
A possible workaround is to detect whether sub-DO are called (GnuPG) or management AID is called (Yubico). Signed-off-by: Pol Henarejos <pol.henarejos@cttc.es>
This commit is contained in:
@@ -17,6 +17,8 @@
|
||||
|
||||
#include "files.h"
|
||||
|
||||
bool is_gpg = true;
|
||||
|
||||
extern const uint8_t openpgp_aid[];
|
||||
extern const uint8_t openpgp_aid_full[];
|
||||
|
||||
|
||||
Reference in New Issue
Block a user