Skip to content

Commit 8d74194

Browse files
Merge branch 'develop' into release/1.1.0
2 parents 87f8c80 + 589616e commit 8d74194

File tree

6 files changed

+52
-20
lines changed

6 files changed

+52
-20
lines changed

.github/workflows/build.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ jobs:
2020
mvn versions:set --file ./pom.xml -DnewVersion=${GITHUB_REF##*/}
2121
- name: Build and Test
2222
id: buildAndTest
23-
run: mvn -B clean install
23+
run: mvn -B clean install -Pdependency-check
2424
- uses: actions/upload-artifact@v2
2525
with:
2626
name: artifacts

pom.xml

Lines changed: 39 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -27,14 +27,19 @@
2727

2828
<properties>
2929
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
30+
<project.jdk.version>17</project.jdk.version>
3031

3132
<!-- runtime dependencies -->
32-
<api.version>1.1.0-beta2</api.version>
33+
<api.version>1.1.0-rc1</api.version>
3334
<slf4j.version>1.7.36</slf4j.version>
3435

3536
<!-- test dependencies -->
3637
<junit.jupiter.version>5.8.2</junit.jupiter.version>
37-
<mockito.version>4.3.1</mockito.version>
38+
<mockito.version>4.4.0</mockito.version>
39+
40+
<!-- build plugin dependencies -->
41+
<dependency-check.version>7.0.0</dependency-check.version>
42+
<nexus-staging.version>1.6.8</nexus-staging.version>
3843
</properties>
3944

4045
<licenses>
@@ -99,13 +104,13 @@
99104
<plugin>
100105
<groupId>org.apache.maven.plugins</groupId>
101106
<artifactId>maven-compiler-plugin</artifactId>
102-
<version>3.9.0</version>
107+
<version>3.10.1</version>
103108
<configuration>
104109
<compilerArgs>
105110
<arg>-h</arg>
106111
<arg>${project.basedir}/src/main/headers</arg>
107112
</compilerArgs>
108-
<release>17</release>
113+
<release>${project.jdk.version}</release>
109114
</configuration>
110115
</plugin>
111116
<plugin>
@@ -210,7 +215,7 @@
210215
</plugin>
211216
<plugin>
212217
<artifactId>maven-javadoc-plugin</artifactId>
213-
<version>3.3.1</version>
218+
<version>3.3.2</version>
214219
<executions>
215220
<execution>
216221
<id>attach-javadocs</id>
@@ -221,7 +226,7 @@
221226
</executions>
222227
<configuration>
223228
<quiet>true</quiet>
224-
<release>17</release>
229+
<release>${project.jdk.version}</release>
225230
<tags>
226231
<!-- workaround for "unknown tag: implNote", see https://blog.codefx.org/java/new-javadoc-tags/#Maven -->
227232
<tag>
@@ -267,6 +272,33 @@
267272
</build>
268273

269274
<profiles>
275+
<profile>
276+
<id>dependency-check</id>
277+
<build>
278+
<plugins>
279+
<plugin>
280+
<groupId>org.owasp</groupId>
281+
<artifactId>dependency-check-maven</artifactId>
282+
<version>${dependency-check.version}</version>
283+
<configuration>
284+
<cveValidForHours>24</cveValidForHours>
285+
<failBuildOnCVSS>0</failBuildOnCVSS>
286+
<skipTestScope>true</skipTestScope>
287+
<detail>true</detail>
288+
<suppressionFile>suppression.xml</suppressionFile>
289+
</configuration>
290+
<executions>
291+
<execution>
292+
<goals>
293+
<goal>check</goal>
294+
</goals>
295+
</execution>
296+
</executions>
297+
</plugin>
298+
</plugins>
299+
</build>
300+
</profile>
301+
270302
<profile>
271303
<id>sign</id>
272304
<build>
@@ -308,7 +340,7 @@
308340
<plugin>
309341
<groupId>org.sonatype.plugins</groupId>
310342
<artifactId>nexus-staging-maven-plugin</artifactId>
311-
<version>1.6.8</version>
343+
<version>${nexus-staging.version}</version>
312344
<extensions>true</extensions>
313345
<configuration>
314346
<serverId>ossrh</serverId>

src/main/java/org/cryptomator/macos/keychain/MacSystemKeychainAccess.java

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -26,12 +26,6 @@ public String displayName() {
2626
return Localization.get().getString("org.cryptomator.macos.keychain.displayName");
2727
}
2828

29-
@Override
30-
@Deprecated
31-
public void storePassphrase(String key, CharSequence passphrase) throws KeychainAccessException {
32-
storePassphrase(key, null, passphrase);
33-
}
34-
3529
@Override
3630
public void storePassphrase(String key, String displayName, CharSequence passphrase) throws KeychainAccessException {
3731
keychain.storePassword(key, passphrase);
@@ -57,12 +51,6 @@ public void deletePassphrase(String key) throws KeychainAccessException {
5751
keychain.deletePassword(key);
5852
}
5953

60-
@Override
61-
@Deprecated
62-
public void changePassphrase(String key, CharSequence passphrase) throws KeychainAccessException {
63-
changePassphrase(key, null, passphrase);
64-
}
65-
6654
@Override
6755
public void changePassphrase(String key, String displayName, CharSequence passphrase) throws KeychainAccessException {
6856
if (keychain.deletePassword(key)) {
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
org.cryptomator.macos.keychain.displayName=macOS এর কী চেইন

src/main/resources/MacIntegrationsBundle_fa.properties

Whitespace-only changes.

suppression.xml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<suppressions xmlns="https://jeremylong.github.io/DependencyCheck/dependency-suppression.1.3.xsd">
3+
<suppress>
4+
<notes><![CDATA[
5+
Incorrectly matched CPE, see https://github.com/jeremylong/DependencyCheck/issues/4177git
6+
]]></notes>
7+
<gav regex="true">^org\.cryptomator:.*$</gav>
8+
<cpe>cpe:/a:cryptomator:cryptomator</cpe>
9+
<cve>CVE-2022-25366</cve>
10+
</suppress>
11+
</suppressions>

0 commit comments

Comments
 (0)