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 742963a [SSHD-987] Correctly generate IV for AES private key
obfuscator
new 42df03d [SSHD-984] Writing keys in modern OpenSSH format
new 644a80a [SSHD-984] Fixed some minor coding issues to make
OpenSSHKeyPairResourceWriter conform to SSHD style
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 | 4 +-
.../common/config/keys/PrivateKeyEntryDecoder.java | 8 +-
.../openssh/OpenSSHDSSPrivateKeyEntryDecoder.java | 6 +-
.../OpenSSHECDSAPrivateKeyEntryDecoder.java | 16 +-
.../openssh/OpenSSHRSAPrivateKeyDecoder.java | 18 +
.../config/keys/writer/KeyPairResourceWriter.java | 84 +++++
.../openssh/OpenSSHKeyEncryptionContext.java | 76 +++++
.../openssh/OpenSSHKeyPairResourceWriter.java | 325 ++++++++++++++++++
.../util/io/SecureByteArrayOutputStream.java | 38 ++-
.../OpenSSHEd25519PrivateKeyEntryDecoder.java | 5 +-
.../openssh/OpenSSHKeyPairResourceWriterTest.java | 367 +++++++++++++++++++++
.../apache/sshd/util/test/JUnitTestSupport.java | 27 +-
12 files changed, 951 insertions(+), 23 deletions(-)
create mode 100644
sshd-common/src/main/java/org/apache/sshd/common/config/keys/writer/KeyPairResourceWriter.java
create mode 100644
sshd-common/src/main/java/org/apache/sshd/common/config/keys/writer/openssh/OpenSSHKeyEncryptionContext.java
create mode 100644
sshd-common/src/main/java/org/apache/sshd/common/config/keys/writer/openssh/OpenSSHKeyPairResourceWriter.java
copy
sshd-contrib/src/main/java/org/apache/sshd/common/util/io/ExposedBufferByteArrayOutputStream.java
=>
sshd-common/src/main/java/org/apache/sshd/common/util/io/SecureByteArrayOutputStream.java
(52%)
create mode 100644
sshd-common/src/test/java/org/apache/sshd/common/config/keys/writer/openssh/OpenSSHKeyPairResourceWriterTest.java