-
Notifications
You must be signed in to change notification settings - Fork 144
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #464 from norrisjeremy/20231222
0.2.16 changes
- Loading branch information
Showing
19 changed files
with
990 additions
and
61 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -47,12 +47,14 @@ | |
<timezone>+9</timezone> | ||
</developer> | ||
<developer> | ||
<id>mwiede</id> | ||
<name>Matthias Wiedemann</name> | ||
<email>[email protected]</email> | ||
<organization>Community</organization> | ||
<organizationUrl>https://github.com/mwiede</organizationUrl> | ||
</developer> | ||
<developer> | ||
<id>norrisjeremy</id> | ||
<name>Jeremy Norris</name> | ||
<organization>Community</organization> | ||
<organizationUrl>https://github.com/norrisjeremy</organizationUrl> | ||
|
@@ -254,7 +256,7 @@ | |
<configuration> | ||
<rules> | ||
<requireJavaVersion> | ||
<version>16</version> | ||
<version>17</version> | ||
</requireJavaVersion> | ||
<dependencyConvergence /> | ||
<banDuplicatePomDependencyVersions /> | ||
|
@@ -403,31 +405,32 @@ | |
</executions> | ||
</plugin> | ||
<plugin> | ||
<groupId>org.apache.felix</groupId> | ||
<artifactId>maven-bundle-plugin</artifactId> | ||
<version>5.1.9</version> | ||
<groupId>biz.aQute.bnd</groupId> | ||
<artifactId>bnd-maven-plugin</artifactId> | ||
<version>7.0.0</version> | ||
<configuration> | ||
<instructions> | ||
<Export-Package>com.jcraft.jsch;-noimport:=true</Export-Package> | ||
<Import-Package><![CDATA[ | ||
com.sun.jna*;version="${range;[=0,+)}", | ||
org.apache.logging.log4j*;version="${range;[=0,4)}", | ||
org.bouncycastle*;version="[1.76,${versionmask;+})", | ||
org.slf4j*;version="[1.7,${versionmask;+})", | ||
org.ietf.jgss;resolution:=optional, | ||
<bnd><![CDATA[ | ||
-noextraheaders: false | ||
-removeheaders: \ | ||
Bnd-LastModified,\ | ||
Bundle-Developers,\ | ||
Bundle-DocURL,\ | ||
Bundle-SCM,\ | ||
Created-By,\ | ||
Private-Package | ||
Bundle-SymbolicName: ${project.groupId}.${project.artifactId} | ||
Export-Package: com.jcraft.jsch;-noimport:=true | ||
Import-Package: \ | ||
com.sun.jna*;version="${range;[=0,+)}";resolution:=optional,\ | ||
org.apache.logging.log4j*;version="${range;[=0,4)}";resolution:=optional,\ | ||
org.bouncycastle*;version="[1.76,${versionmask;+})";resolution:=optional,\ | ||
org.slf4j*;version="[1.7,${versionmask;+})";resolution:=optional,\ | ||
org.newsclub.net.unix;resolution:=optional,\ | ||
org.ietf.jgss;resolution:=optional,\ | ||
!java.*,\ | ||
* | ||
]]></Import-Package> | ||
</instructions> | ||
]]></bnd> | ||
</configuration> | ||
<executions> | ||
<execution> | ||
<id>bundle-manifest</id> | ||
<phase>process-classes</phase> | ||
<goals> | ||
<goal>manifest</goal> | ||
</goals> | ||
</execution> | ||
</executions> | ||
</plugin> | ||
<plugin> | ||
<groupId>org.apache.maven.plugins</groupId> | ||
|
@@ -661,6 +664,9 @@ | |
<bundledSignature>jdk-non-portable</bundledSignature> | ||
<bundledSignature>jdk-reflection</bundledSignature> | ||
</bundledSignatures> | ||
<suppressAnnotations> | ||
<suppressAnnotation>com.jcraft.jsch.annotations.SuppressForbiddenApi</suppressAnnotation> | ||
</suppressAnnotations> | ||
</configuration> | ||
</plugin> | ||
</plugins> | ||
|
@@ -859,5 +865,28 @@ | |
</plugins> | ||
</build> | ||
</profile> | ||
<profile> | ||
<id>bnd</id> | ||
<activation> | ||
<jdk>[17,)</jdk> | ||
</activation> | ||
<build> | ||
<plugins> | ||
<plugin> | ||
<groupId>biz.aQute.bnd</groupId> | ||
<artifactId>bnd-maven-plugin</artifactId> | ||
<executions> | ||
<execution> | ||
<id>bnd-process</id> | ||
<phase>process-classes</phase> | ||
<goals> | ||
<goal>bnd-process</goal> | ||
</goals> | ||
</execution> | ||
</executions> | ||
</plugin> | ||
</plugins> | ||
</build> | ||
</profile> | ||
</profiles> | ||
</project> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
/* | ||
* Copyright (c) 2015-2018 ymnk, JCraft,Inc. All rights reserved. | ||
* | ||
* Redistribution and use in source and binary forms, with or without modification, are permitted | ||
* provided that the following conditions are met: | ||
* | ||
* 1. Redistributions of source code must retain the above copyright notice, this list of conditions | ||
* and the following disclaimer. | ||
* | ||
* 2. Redistributions in binary form must reproduce the above copyright notice, this list of | ||
* conditions and the following disclaimer in the documentation and/or other materials provided with | ||
* the distribution. | ||
* | ||
* 3. The names of the authors may not be used to endorse or promote products derived from this | ||
* software without specific prior written permission. | ||
* | ||
* THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED WARRANTIES, INCLUDING, BUT NOT | ||
* LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE | ||
* DISCLAIMED. IN NO EVENT SHALL JCRAFT, INC. OR ANY CONTRIBUTORS TO THIS SOFTWARE BE LIABLE FOR ANY | ||
* DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT | ||
* LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR | ||
* BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT | ||
* LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS | ||
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | ||
*/ | ||
|
||
package com.jcraft.jsch; | ||
|
||
class DH25519SNTRUP761 extends DHXECKEM { | ||
public DH25519SNTRUP761() { | ||
kem_name = "sntrup761"; | ||
sha_name = "sha-512"; | ||
curve_name = "X25519"; | ||
kem_pubkey_len = 1158; | ||
kem_encap_len = 1039; | ||
xec_key_len = 32; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.