Skip to content
  • Daniel Kobras's avatar
    libnm/crypto: accept TPM2-wrapped PEM keys · 107ba8e0
    Daniel Kobras authored and Beniamino Galvani's avatar Beniamino Galvani committed
    Some tools that NM can interact with (eg. openconnect) have added
    automated support to handle TPM2-wrapped PEM keys as drop-in
    replacements for ordinary key files. Make sure that NM doesn't reject
    these keys upfront. We cannot reliably assume NM to be able to unwrap
    and validate the key. Therefore, accept any key as long as the PEM
    header and trailer look ok.
    107ba8e0