@jpmens I wasn't sure whether that meant "load it using ssh-utilities-and-friend...

@gumnos@bsd.cafe

@jpmens

I wasn't sure whether that meant "load it using ssh-utilities-and-friends" or "reading the key-file at all".

You have to read at least a select portion of the private key file to determine if it is passworded. A `dd if=$KEYFILE skip=60 bs=1 count=20 status=none" is enough to extract the relevant b64-encoded data to decode and determine the cipher and KDF name without touching the rest of the key-material.

But you don't have to use the SSH utilities to do it 😆