Skip to content

Commit 1bdb93d

Browse files
committed
Release 1.6.1
Security fixes: - Bumped Jackson dependency to version 2.9.10.3 in response to CVE-2019-20330 and CVE-2020-8840
2 parents f8cbe35 + 5924520 commit 1bdb93d

File tree

63 files changed

+297
-214
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

63 files changed

+297
-214
lines changed

.github/workflows/build.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ jobs:
1010
runs-on: ubuntu-latest
1111
strategy:
1212
matrix:
13-
java: [8, 11]
13+
java: [8, 11, 13]
1414

1515
steps:
1616
- name: Check out code

.github/workflows/coverage.yml

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
# This name is shown in the status badge in the README
2+
name: Test coverage
3+
4+
on:
5+
push:
6+
branches: [master]
7+
8+
jobs:
9+
test:
10+
name: JDK ${{matrix.java}}
11+
12+
runs-on: ubuntu-latest
13+
14+
steps:
15+
- name: Check out code
16+
uses: actions/checkout@v1
17+
18+
- name: Set up JDK 11
19+
uses: actions/setup-java@v1
20+
with:
21+
java-version: 11
22+
23+
- name: Run mutation test
24+
run: ./gradlew pitest
25+
26+
- name: Report to Coveralls
27+
env:
28+
COVERALLS_REPO_TOKEN: ${{ secrets.COVERALLS_REPO_TOKEN }}
29+
run: ./gradlew coveralls

.github/workflows/release-verify-signatures.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ jobs:
2626
run: ./gradlew jar
2727

2828
- name: Fetch keys
29-
run: gpg --no-default-keyring --keyring yubico --recv-keys 57A9DEED4C6D962A923BB691816F3ED99921835E
29+
run: gpg --no-default-keyring --keyring yubico --keyserver hkps://keys.openpgp.org --recv-keys 57A9DEED4C6D962A923BB691816F3ED99921835E
3030

3131
- name: Verify signatures from GitHub release
3232
run: |

.github/workflows/scan.yml

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
name: static code analysis
2+
# Documentation: https://github.com/Yubico/yes-static-code-analysis
3+
4+
on:
5+
push:
6+
schedule:
7+
- cron: '0 0 * * 1'
8+
9+
env:
10+
SCAN_IMG:
11+
yes-docker-local.artifactory.in.yubico.org/static-code-analysis/java:v1
12+
13+
jobs:
14+
build:
15+
runs-on: ubuntu-latest
16+
17+
steps:
18+
- uses: actions/checkout@master
19+
20+
- name: Prep scan
21+
run: |
22+
docker login yes-docker-local.artifactory.in.yubico.org/ \
23+
-u svc-static-code-analysis-reader \
24+
-p ${{ secrets.ARTIFACTORY_READER_TOKEN }}
25+
docker pull ${SCAN_IMG}
26+
27+
- name: Scan and fail on warnings
28+
run: |
29+
docker run -v${PWD}:/k \
30+
-e PROJECT_NAME=${GITHUB_REPOSITORY#Yubico/} -t ${SCAN_IMG}
31+
32+
- uses: actions/upload-artifact@master
33+
if: failure()
34+
with:
35+
name: suppression_files
36+
path: suppression_files

.gitignore

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,12 +3,12 @@
33
.project
44
.settings/
55

6-
# Intellij
6+
# IntelliJ
77
.idea/
8+
bin/
89
out/
910
*.iml
1011
*.iws
11-
*/out/
1212
.attach_pid*
1313

1414
# Mac

.travis.yml

Lines changed: 0 additions & 26 deletions
This file was deleted.

NEWS

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,11 @@
1+
== Version 1.6.1 ==
2+
3+
Security fixes:
4+
5+
- Bumped Jackson dependency to version 2.9.10.3 in response to CVE-2019-20330
6+
and CVE-2020-8840
7+
8+
19
== Version 1.6.0 ==
210

311
Security fixes:

README

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@ java-webauthn-server
44
:toc-placement: macro
55
:toc-title:
66

7-
image:https://travis-ci.org/Yubico/java-webauthn-server.svg?branch=master["Build Status", link="https://travis-ci.org/Yubico/java-webauthn-server"]
87
image:https://github.com/Yubico/java-webauthn-server/workflows/build/badge.svg["Build Status", link="https://github.com/Yubico/java-webauthn-server/actions"]
98
image:https://coveralls.io/repos/github/Yubico/java-webauthn-server/badge.svg["Coverage Status", link="https://coveralls.io/github/Yubico/java-webauthn-server"]
109

@@ -26,15 +25,15 @@ Maven:
2625
<dependency>
2726
<groupId>com.yubico</groupId>
2827
<artifactId>webauthn-server-core</artifactId>
29-
<version>1.5.0</version>
28+
<version>1.6.1</version>
3029
<scope>compile</scope>
3130
</dependency>
3231
----------
3332

3433
Gradle:
3534

3635
----------
37-
compile 'com.yubico:webauthn-server-core:1.5.0'
36+
compile 'com.yubico:webauthn-server-core:1.6.1'
3837
----------
3938

4039

build.gradle

Lines changed: 10 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ if (publishEnabled) {
3030
}
3131

3232
wrapper {
33-
gradleVersion = '5.4'
33+
gradleVersion = '6.1'
3434
}
3535

3636
allprojects {
@@ -51,7 +51,7 @@ allprojects {
5151
Map<String, String> dependencyVersions = [
5252
'ch.qos.logback:logback-classic:1.2.3',
5353
'com.augustcellars.cose:cose-java:1.0.0',
54-
'com.fasterxml.jackson.core:jackson-databind:2.9.10.1',
54+
'com.fasterxml.jackson.core:jackson-databind:2.9.10.3',
5555
'com.fasterxml.jackson.dataformat:jackson-dataformat-cbor:2.9.10',
5656
'com.fasterxml.jackson.datatype:jackson-datatype-jdk8:2.9.10',
5757
'com.google.guava:guava:19.0',
@@ -69,9 +69,9 @@ Map<String, String> dependencyVersions = [
6969
'org.glassfish.jersey.containers:jersey-container-servlet:2.26',
7070
'org.glassfish.jersey.inject:jersey-hk2:2.26',
7171
'org.mockito:mockito-core:2.27.0',
72-
'org.scala-lang:scala-library:2.12.8',
73-
'org.scalacheck:scalacheck_2.12:1.14.0',
74-
'org.scalatest:scalatest_2.12:3.0.4',
72+
'org.scala-lang:scala-library:2.13.1',
73+
'org.scalacheck:scalacheck_2.13:1.14.0',
74+
'org.scalatest:scalatest_2.13:3.0.8',
7575
'org.slf4j:slf4j-api:1.7.25',
7676
].collectEntries { [(it.split(':')[0..1].join(':')): it] }
7777
rootProject.ext.addVersion = { dep -> dependencyVersions[dep] }
@@ -87,7 +87,7 @@ subprojects {
8787
repositories {
8888
mavenLocal()
8989

90-
maven { url "http://repo.maven.apache.org/maven2" }
90+
maven { url "https://repo.maven.apache.org/maven2" }
9191
}
9292
}
9393

@@ -138,9 +138,9 @@ subprojects { project ->
138138
}
139139

140140
if (project.hasProperty('publishMe') && project.publishMe) {
141-
task sourcesJar(type: Jar) {
142-
archiveClassifier = 'sources'
143-
from sourceSets.main.allSource
141+
java {
142+
withJavadocJar()
143+
withSourcesJar()
144144
}
145145

146146
task delombok(type: DelombokTask, dependsOn: classes) {
@@ -165,11 +165,6 @@ subprojects { project ->
165165
options.addStringOption('charset', 'UTF-8')
166166
}
167167

168-
task javadocJar(type: Jar) {
169-
archiveClassifier = 'javadoc'
170-
from javadoc
171-
}
172-
173168
rootProject.tasks.assembleJavadoc {
174169
dependsOn javadoc
175170
inputs.dir javadoc.destinationDir
@@ -187,9 +182,7 @@ subprojects { project ->
187182
publishing {
188183
publications {
189184
jars(MavenPublication) {
190-
from components.java
191-
artifact javadocJar
192-
artifact sourcesJar
185+
setArtifacts([jar, javadocJar, sourcesJar])
193186

194187
pom {
195188
name = project.name
@@ -244,10 +237,6 @@ task pitestMerge(type: com.yubico.gradle.pitest.tasks.PitestMergeTask)
244237

245238
coveralls {
246239
sourceDirs = subprojects.sourceSets.main.allSource.srcDirs.flatten()
247-
248-
// Workaround to TLS issues in JDK 11, see https://github.com/kt3k/coveralls-gradle-plugin/issues/85
249-
saveAsFile = true
250-
sendToCoveralls = false
251240
}
252241
tasks.coveralls {
253242
inputs.files pitestMerge.outputs.files

buildSrc/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,6 @@ repositories {
77
dependencies {
88
implementation(
99
'commons-io:commons-io:2.5',
10-
'info.solidsoft.gradle.pitest:gradle-pitest-plugin:1.4.0',
10+
'info.solidsoft.gradle.pitest:gradle-pitest-plugin:1.4.6',
1111
)
1212
}

0 commit comments

Comments
 (0)