From ee8de1f1bdc918681bfe454ca2a7b92dfa12c541 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Sun, 15 Dec 2024 12:23:43 +0000 Subject: [PATCH 1/2] chore(deps): bump webauthn4jVersion Bumps `webauthn4jVersion` from 0.25.1.RELEASE to 0.28.3.RELEASE. Updates `com.webauthn4j:webauthn4j-util` from 0.25.1.RELEASE to 0.28.3.RELEASE - [Release notes](https://github.com/webauthn4j/webauthn4j/releases) - [Changelog](https://github.com/webauthn4j/webauthn4j/blob/master/github-release-notes-generator.yml) - [Commits](https://github.com/webauthn4j/webauthn4j/compare/0.25.1.RELEASE...0.28.3.RELEASE) Updates `com.webauthn4j:webauthn4j-core` from 0.25.1.RELEASE to 0.28.3.RELEASE - [Release notes](https://github.com/webauthn4j/webauthn4j/releases) - [Changelog](https://github.com/webauthn4j/webauthn4j/blob/master/github-release-notes-generator.yml) - [Commits](https://github.com/webauthn4j/webauthn4j/compare/0.25.1.RELEASE...0.28.3.RELEASE) Updates `com.webauthn4j:webauthn4j-metadata` from 0.25.1.RELEASE to 0.28.3.RELEASE - [Release notes](https://github.com/webauthn4j/webauthn4j/releases) - [Changelog](https://github.com/webauthn4j/webauthn4j/blob/master/github-release-notes-generator.yml) - [Commits](https://github.com/webauthn4j/webauthn4j/compare/0.25.1.RELEASE...0.28.3.RELEASE) Updates `com.webauthn4j:webauthn4j-test` from 0.25.1.RELEASE to 0.28.3.RELEASE - [Release notes](https://github.com/webauthn4j/webauthn4j/releases) - [Changelog](https://github.com/webauthn4j/webauthn4j/blob/master/github-release-notes-generator.yml) - [Commits](https://github.com/webauthn4j/webauthn4j/compare/0.25.1.RELEASE...0.28.3.RELEASE) --- updated-dependencies: - dependency-name: com.webauthn4j:webauthn4j-util dependency-type: direct:production update-type: version-update:semver-minor - dependency-name: com.webauthn4j:webauthn4j-core dependency-type: direct:production update-type: version-update:semver-minor - dependency-name: com.webauthn4j:webauthn4j-metadata dependency-type: direct:production update-type: version-update:semver-minor - dependency-name: com.webauthn4j:webauthn4j-test dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] --- build.gradle | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build.gradle b/build.gradle index a1124b6e0..845d49ecb 100644 --- a/build.gradle +++ b/build.gradle @@ -22,7 +22,7 @@ buildscript { asciidoctorGradleVersion = "4.0.3" //Libraries - webauthn4jVersion = '0.25.1.RELEASE' + webauthn4jVersion = '0.28.3.RELEASE' springSecurityVersion = '6.0.2' } From 1ee1001586536d03d7aeab922f164c02a50b0d89 Mon Sep 17 00:00:00 2001 From: Yoshikazu Nojima Date: Sun, 15 Dec 2024 21:36:33 +0900 Subject: [PATCH 2/2] Addresses breaking change introduced by webauthn4j (base64 to base64url) --- .../config/configurers/WebAuthnLoginConfigurerSpringTest.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/webauthn4j-spring-security-core/src/test/java/com/webauthn4j/springframework/security/config/configurers/WebAuthnLoginConfigurerSpringTest.java b/webauthn4j-spring-security-core/src/test/java/com/webauthn4j/springframework/security/config/configurers/WebAuthnLoginConfigurerSpringTest.java index 69dff90ee..eeedce0da 100644 --- a/webauthn4j-spring-security-core/src/test/java/com/webauthn4j/springframework/security/config/configurers/WebAuthnLoginConfigurerSpringTest.java +++ b/webauthn4j-spring-security-core/src/test/java/com/webauthn4j/springframework/security/config/configurers/WebAuthnLoginConfigurerSpringTest.java @@ -138,7 +138,7 @@ public void attestationOptionsEndpointPath_with_authenticated_user_test() throws mvc .perform(get("/webauthn/attestation/options").with(user("john"))) .andExpect(authenticated()) - .andExpect(content().json("{\"rp\":{\"id\":\"example.com\",\"name\":\"example\"},\"user\":{\"id\":\"am9obg==\",\"name\":\"john\",\"displayName\":\"john\"},\"challenge\":\"aFglXMZdQTKD4krvNzJBzA\",\"pubKeyCredParams\":[{\"type\":\"public-key\",\"alg\":-7},{\"type\":\"public-key\",\"alg\":-65535}],\"timeout\":10000,\"excludeCredentials\":[],\"authenticatorSelection\":{\"authenticatorAttachment\":\"cross-platform\",\"requireResidentKey\":false,\"residentKey\":\"preferred\",\"userVerification\":\"preferred\"},\"attestation\":\"direct\",\"extensions\":{\"uvm\":true,\"credProps\":true,\"extensionProvider\":\"/webauthn/attestation/options\",\"unknown\":true}}", true)) + .andExpect(content().json("{\"rp\":{\"id\":\"example.com\",\"name\":\"example\"},\"user\":{\"id\":\"am9obg\",\"name\":\"john\",\"displayName\":\"john\"},\"challenge\":\"aFglXMZdQTKD4krvNzJBzA\",\"pubKeyCredParams\":[{\"type\":\"public-key\",\"alg\":-7},{\"type\":\"public-key\",\"alg\":-65535}],\"timeout\":10000,\"excludeCredentials\":[],\"authenticatorSelection\":{\"authenticatorAttachment\":\"cross-platform\",\"requireResidentKey\":false,\"residentKey\":\"preferred\",\"userVerification\":\"preferred\"},\"attestation\":\"direct\",\"extensions\":{\"uvm\":true,\"credProps\":true,\"extensionProvider\":\"/webauthn/attestation/options\",\"unknown\":true}}", true)) .andExpect(status().isOk()); }