Stefan Mueller created SSHD-1149:
------------------------------------
Summary: Allow every algorithm in PEM hostkey (old behaviour)
Key: SSHD-1149
URL: https://issues.apache.org/jira/browse/SSHD-1149
Project: MINA SSHD
Issue Type: Wish
Affects Versions: 2.5.1, 2.3.0
Reporter: Stefan Mueller
We upgraded SSHD and replaced PEMGeneratorHostKeyProvider with
BouncyCastleGeneratorHostKeyProvider. Now we realized that the behaviour is
different if the hostkey file exists. The old class loaded every hostkey, so we
could change the algorithm used by replacing the hostkey file. Now the set
algorithm will always be used.
Can you change the behaviour back to where the specified algorithm was only
used to create new hostkeys?
In case you do not change it, I found a bug in current behaviour:
If the hostkey file contains a valid key, but not the algorithm set for server,
the file will be overwritten even with setOverwriteAllowed(false).
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]