How to determine which cipher was used to encrypt OpenSSH private keys

Jim Knoble jmknoble at
Thu Jan 25 04:51:37 AEDT 2024

On Jan 24, 2024, at 08:38, Joost van Dijk <vandijk.joost at> wrote:
> And given that this code is reading your private key files, I guess I should have added "if you trust its developer" 
> Otherwise, I'd stick with the shell script or python snippet.

Especially since the Python module seems to require key decryption for an operation that does not require key decryption.


More information about the openssh-unix-dev mailing list