Installing pgpy to parse GPG keys which are stored in different formats which is annoying. Writing a function that tries multiple strategies - first try the pgpy library, if that fails use gpg command line tool, then check for base64-encoded stuff in subkeys. Hoping to get a >99% parse rate.
Installing pgpy to parse GPG keys which are stored in different formats which is annoying. Writing a function that tries multiple strategies - first try the pgpy library, if that fails use gpg command line tool, then check for base64-encoded stuff in subkeys. Hoping to get a >99% parse rate.