Re: EC key loading issues

2021-05-12 Thread Isaac M
Add logs inline 11:12:34.947 [sshd-SshServer[381e93bc](port=)-nio2-thread-1] WARN org.apache.sshd.common.util.security.bouncycastle.BouncyCastleGeneratorHostKeyProvider - resolveKeyPair(/Users/username/test-ec) Failed (StreamCorruptedException) to load: Invalid DER: object is not an OID:

EC key loading issues

2021-05-12 Thread Isaac M
I've noticed that with bouncy castle enabled and PEM keys being generated. The sshd server is unable to load existing EC private keys and always generates a throwaway key as seen in the logs. I'm also running ssh-keyscan to verify that a new host key is generated with each run of the server. The