-
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.
Changes: - BouncyCastle dependency is now optional. In order to opt out, depend on `webauthn-server-core-minimal` instead of `webauthn-server-core`. This is not recommended unless you know your JVM includes JCA providers for all signature algorithms. Note that `webauthn-server-attestation` still depends on BouncyCastle. - Jackson deserializer for `PublicKeyCredential` now allows a `rawId` property to be present if `id` is not present, or if `rawId` equals `id`.
- Loading branch information
Showing
59 changed files
with
3,488 additions
and
2,900 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
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
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 |
---|---|---|
@@ -0,0 +1,16 @@ | ||
Developer docs | ||
=== | ||
|
||
Inconsistent directory naming | ||
--- | ||
|
||
In resolving [issue #97](https://github.com/Yubico/java-webauthn-server/issues/97), | ||
we opted to split the `webauthn-server-core` module into one `webauthn-server-core` meta-module | ||
and one `webauthn-server-core-minimal` module with the code and all dependencies except BouncyCastle. | ||
However, to avoid file renames and since this is intended as a temporary change, | ||
the source code for the `webauthn-server-core` module is hosted in the `webauthn-server-core-bundle/` subproject | ||
and the `webauthn-server-core-minimal` module is hosted in `webauthn-server-core/`. | ||
|
||
We intend to eliminate the `webauthn-server-core-bundle` subproject in the next major version release, | ||
and return the current `webauthn-server-core-minimal` module to the `webauthn-server-core` module name. | ||
This naming inconsistency should be fixed along with this. |
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
Binary file not shown.
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 |
---|---|---|
@@ -1,5 +1,5 @@ | ||
distributionBase=GRADLE_USER_HOME | ||
distributionPath=wrapper/dists | ||
distributionUrl=https\://services.gradle.org/distributions/gradle-6.1-bin.zip | ||
distributionUrl=https\://services.gradle.org/distributions/gradle-6.8-bin.zip | ||
zipStoreBase=GRADLE_USER_HOME | ||
zipStorePath=wrapper/dists |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,15 @@ | ||
rootProject.name = 'webauthn-server-parent' | ||
include ':webauthn-server-attestation' | ||
include ':webauthn-server-core' | ||
include ':webauthn-server-core-bundle' | ||
include ':webauthn-server-demo' | ||
include ':yubico-util' | ||
include ':yubico-util-scala' | ||
|
||
include ':test-dependent-projects:java-dep-webauthn-server-attestation' | ||
include ':test-dependent-projects:java-dep-webauthn-server-core' | ||
include ':test-dependent-projects:java-dep-webauthn-server-core-minimal' | ||
include ':test-dependent-projects:java-dep-yubico-util' | ||
|
||
project(':webauthn-server-core').name = 'webauthn-server-core-minimal' | ||
project(':webauthn-server-core-bundle').name = 'webauthn-server-core' |
19 changes: 19 additions & 0 deletions
19
test-dependent-projects/java-dep-webauthn-server-core-minimal/build.gradle.kts
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,19 @@ | ||
plugins { | ||
`java-library` | ||
} | ||
|
||
val coreTestsOutput = project(":webauthn-server-core-minimal").extensions.getByType(SourceSetContainer::class).test.get().output | ||
|
||
dependencies { | ||
implementation(project(":webauthn-server-core-minimal")) | ||
|
||
testImplementation(coreTestsOutput) | ||
testImplementation("junit:junit:4.12") | ||
testImplementation("org.mockito:mockito-core:[2.27.0,3)") | ||
|
||
// Runtime-only internal dependency of webauthn-server-core-minimal | ||
testImplementation("com.augustcellars.cose:cose-java:[1.0.0,2)") | ||
|
||
// Transitive dependencies from coreTestOutput | ||
testImplementation("org.scala-lang:scala-library:[2.13.1,3)") | ||
} |
Oops, something went wrong.