This is an automated email from the ASF dual-hosted git repository. lgoldstein pushed a change to branch master in repository https://gitbox.apache.org/repos/asf/mina-sshd.git.
from eed4e1c [SSHD-947] Added SessionListener#sessionEstablished method to allow for early session customization based on the peer's address new c315d70 [SSHD-945] Provide session context instance to the signature generator/verifier new 44467af [SSHD-945] Added sshd-contrib code that uses SHA1 with DSA regardless of its key length The 2 revisions listed above as "new" are entirely new to this repository and will be described in separate emails. The revisions listed as "add" were already present in the repository and have only been added to this reference. Summary of changes: CHANGES.md | 5 + docs/extensions.md | 6 + .../sshd/client/auth/pubkey/PublicKeyIdentity.java | 6 +- .../keys/impl/AbstractIdentityResourceLoader.java | 3 +- .../sshd/common/signature/AbstractSignature.java | 21 +- .../apache/sshd/common/signature/Signature.java | 28 +- .../apache/sshd/common/signature/SignatureDSA.java | 19 +- .../sshd/common/signature/SignatureECDSA.java | 13 +- .../apache/sshd/common/signature/SignatureRSA.java | 7 +- .../util/security/eddsa/SignatureEd25519.java | 6 +- .../sshd/common/signature/SignatureDSATest.java | 9 +- .../common/signature/SignatureRSASHA1Test.java | 13 +- .../signature/SignatureVariantTestSupport.java | 21 +- .../common/signature/SignaturesDevelopment.java | 12 +- .../util/security/eddsa/Ed25519VectorsTest.java | 24 +- .../sshd/common/signature/LegacyDSASigner.java | 301 +++++++++++++++++++++ .../sshd/common/signature/LegacyDSASignerTest.java | 144 ++++++++++ .../org/apache/sshd/common/signature/ssh-dss-1024 | 0 .../org/apache/sshd/common/signature/ssh-dss-2048 | 17 ++ .../main/java/org/apache/sshd/agent/SshAgent.java | 4 +- .../sshd/agent/common/AbstractAgentClient.java | 3 +- .../sshd/agent/common/AbstractAgentProxy.java | 3 +- .../apache/sshd/agent/common/AgentDelegate.java | 5 +- .../org/apache/sshd/agent/local/AgentImpl.java | 11 +- .../client/auth/hostbased/UserAuthHostBased.java | 38 +-- .../sshd/client/auth/pubkey/KeyAgentIdentity.java | 5 +- .../sshd/client/auth/pubkey/KeyPairIdentity.java | 9 +- .../sshd/client/auth/pubkey/UserAuthPublicKey.java | 10 +- .../java/org/apache/sshd/client/kex/DHGClient.java | 6 +- .../org/apache/sshd/client/kex/DHGEXClient.java | 6 +- .../server/auth/hostbased/UserAuthHostBased.java | 24 +- .../sshd/server/auth/pubkey/UserAuthPublicKey.java | 6 +- .../sshd/server/global/OpenSshHostKeysHandler.java | 13 +- .../org/apache/sshd/server/kex/DHGEXServer.java | 6 +- .../java/org/apache/sshd/server/kex/DHGServer.java | 6 +- .../common/signature/SignatureFactoriesTest.java | 3 +- .../org/apache/sshd/deprecated/UserAuthAgent.java | 2 +- .../apache/sshd/deprecated/UserAuthPublicKey.java | 6 +- .../org/apache/sshd/util/test/BaseTestSupport.java | 23 +- 39 files changed, 691 insertions(+), 153 deletions(-) create mode 100644 sshd-contrib/src/main/java/org/apache/sshd/common/signature/LegacyDSASigner.java create mode 100644 sshd-contrib/src/test/java/org/apache/sshd/common/signature/LegacyDSASignerTest.java copy sshd-core/src/test/resources/org/apache/sshd/server/config/keys/ssh_host_dsa_key => sshd-contrib/src/test/resources/org/apache/sshd/common/signature/ssh-dss-1024 (100%) create mode 100644 sshd-contrib/src/test/resources/org/apache/sshd/common/signature/ssh-dss-2048