Add is_gpg flag for fido2.

Signed-off-by: Pol Henarejos <pol.henarejos@cttc.es>
This commit is contained in:
Pol Henarejos
2025-12-07 20:34:42 +01:00
parent 31991a31c3
commit bb542e3b83

View File

@@ -23,6 +23,8 @@
#include "asn1.h"
#include "management.h"
bool is_gpg = true;
int man_process_apdu();
int man_unload();
@@ -44,6 +46,7 @@ int man_select(app_t *a, uint8_t force) {
init_otp();
#endif
}
is_gpg = false;
return PICOKEY_OK;
}