(rsa_bytes, ec_bytes)
| 316 | recipient_uid_bytes = None |
| 317 | |
| 318 | def _load_pk(rsa_bytes, ec_bytes): |
| 319 | nonlocal use_ecc |
| 320 | if rsa_bytes: |
| 321 | use_ecc = False |
| 322 | return crypto.load_rsa_public_key(rsa_bytes) |
| 323 | if ec_bytes: |
| 324 | use_ecc = True |
| 325 | return crypto.load_ec_public_key(ec_bytes) |
| 326 | return None |
| 327 | |
| 328 | cache_key = recipient_email.lower() |
| 329 | cached = params.key_cache.get(recipient_email) or params.key_cache.get(cache_key) |
no outgoing calls
no test coverage detected