You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
ENCRYPT_CAPABLE_CERTS = {"Identity card of Estonian citizen", "Identity card of European Union citizen", "Digital identity card", "Diplomatic identity card"}
def get_certs(isikukood):
auth_certs = []
fail = f"res/{isikukood}.json"
with open(fail, 'r') as infile:
certs = json.load(infile)
cert_set = set(certs.keys()) - {'isikukood'}
for cert_list in ENCRYPT_CAPABLE_CERTS.intersection(cert_set):