Skip to content

Commit 0986aff

Browse files
Merge pull request #21 from SendSafely/v3.1.9
v3.1.9
2 parents 827e566 + 541118e commit 0986aff

18 files changed

+28
-7
lines changed

NOTICE

+20
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
Copyright 2015-2023 SendSafely Inc.
2+
3+
The purpose of this NOTICE.txt file is to contain notices that are
4+
required by the copyright owners of the incorporated third party components
5+
noted and the respective licenses.
6+
Some of the accompanying products have an attribution requirement
7+
and are set forth below. Other accompanying products do not require
8+
attribution, so are not listed. See also the LICENSE.txt file.
9+
10+
11+
Apache Commons IO
12+
Copyright 2002-2022 The Apache Software Foundation
13+
This product includes software developed at
14+
The Apache Software Foundation (https://www.apache.org/).
15+
16+
17+
Google Gson
18+
Copyright 2008-2011 Google Inc.
19+
This product includes software developed by
20+
Google Inc. (https://www.google.com/).
473 KB
Binary file not shown.

SampleApplication/lib/gson-2.10.1.jar

277 KB
Binary file not shown.
Binary file not shown.
Binary file not shown.

SampleApplication/pom.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
<dependency>
1717
<groupId>com.sendsafely</groupId>
1818
<artifactId>sendsafely-java-api</artifactId>
19-
<version>3.1.8</version>
19+
<version>3.1.9</version>
2020
</dependency>
2121
</dependencies>
2222

SendSafelyAPI/README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ Use the following dependency in your project to grab via Maven:
66
<dependency>
77
<groupId>com.sendsafely</groupId>
88
<artifactId>sendsafely-java-api</artifactId>
9-
<version>3.1.8</version>
9+
<version>3.1.9</version>
1010
</dependency>
1111
```
1212

473 KB
Binary file not shown.

SendSafelyAPI/lib/commons-io-2.7.jar

-270 KB
Binary file not shown.

SendSafelyAPI/lib/gson-2.10.1.jar

277 KB
Binary file not shown.

SendSafelyAPI/lib/gson-2.8.9.jar

-252 KB
Binary file not shown.
-260 KB
Binary file not shown.
Binary file not shown.

SendSafelyAPI/pom.xml

+5-5
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/ma
66

77
<groupId>com.sendsafely</groupId>
88
<artifactId>sendsafely-java-api</artifactId>
9-
<version>3.1.8</version>
9+
<version>3.1.9</version>
1010
<packaging>jar</packaging>
1111

1212
<name>SendSafely Java Client API</name>
@@ -15,8 +15,8 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/ma
1515

1616
<licenses>
1717
<license>
18-
<name>The Apache License, Version 2.0</name>
19-
<url>http://www.apache.org/licenses/LICENSE-2.0.txt</url>
18+
<name>Apache License, Version 2.0</name>
19+
<url>https://www.apache.org/licenses/LICENSE-2.0.txt</url>
2020
</license>
2121
</licenses>
2222

@@ -54,12 +54,12 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/ma
5454
<dependency>
5555
<groupId>com.google.code.gson</groupId>
5656
<artifactId>gson</artifactId>
57-
<version>2.8.9</version>
57+
<version>2.10.1</version>
5858
</dependency>
5959
<dependency>
6060
<groupId>commons-io</groupId>
6161
<artifactId>commons-io</artifactId>
62-
<version>2.7</version>
62+
<version>2.13.0</version>
6363
</dependency>
6464
<dependency>
6565
<groupId>org.bouncycastle</groupId>

SendSafelyAPI/src/com/sendsafely/utils/CryptoUtil.java

+1
Original file line numberDiff line numberDiff line change
@@ -347,6 +347,7 @@ public static String encryptKeycode(String publicKeyStr, String keycode) throws
347347

348348
// create an encrypted payload and set the public key on the data generator
349349
BcPGPDataEncryptorBuilder bcpgpdeb = new BcPGPDataEncryptorBuilder(PGPEncryptedData.AES_256);
350+
bcpgpdeb.setWithIntegrityPacket(true);
350351
PGPEncryptedDataGenerator encryptGen = new PGPEncryptedDataGenerator(bcpgpdeb);
351352
encryptGen.addMethod(new BcPublicKeyKeyEncryptionMethodGenerator(key));
352353

Binary file not shown.
Binary file not shown.
Binary file not shown.

0 commit comments

Comments
 (0)