webauthn 3.4.3 → 3.5.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/.github/FUNDING.yml +1 -0
- data/.github/actions/install-openssl/action.yml +2 -6
- data/.github/actions/install-ruby/action.yml +4 -1
- data/.github/workflows/build.yml +19 -9
- data/.github/workflows/git.yml +1 -1
- data/.github/workflows/release.yml +29 -0
- data/CHANGELOG.md +102 -107
- data/README.md +72 -30
- data/docs/advanced_configuration.md +1 -3
- data/lib/webauthn/authenticator_attestation_response.rb +8 -0
- data/lib/webauthn/authenticator_response.rb +17 -4
- data/lib/webauthn/client_data.rb +4 -10
- data/lib/webauthn/configuration.rb +4 -0
- data/lib/webauthn/fake_client.rb +12 -6
- data/lib/webauthn/public_key_credential/creation_options.rb +8 -1
- data/lib/webauthn/public_key_credential/options.rb +4 -3
- data/lib/webauthn/relying_party.rb +7 -1
- data/lib/webauthn/version.rb +1 -1
- data/lib/webauthn.rb +5 -2
- data/webauthn.gemspec +4 -4
- metadata +12 -13
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: e93639fca595fd28682976bb2197a31e0d5d68a2f87335dbb674ab8b4d4b76a6
|
|
4
|
+
data.tar.gz: cbc8c2c458740266999bc2f0f68684d193766c54f3de1c7b3c69f20e462f2f42
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: ea6219da89bbffdc181ecf37164c4eed601a9fb5dc32a5542d71b531d67acc09ce9da305a8b85d5824da40de4ba20ffebf47b66cc605c3e6ea1ecded570f60ea
|
|
7
|
+
data.tar.gz: 982066ec26847b9effc45872061d9d99d492605ed38c35eeefb9d9244764669843af39370ed400a6f27a1215fec872e69538d1383f1fb74e66f2eb43d23a686d
|
data/.github/FUNDING.yml
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
github: [cedarcode]
|
|
@@ -29,16 +29,12 @@ runs:
|
|
|
29
29
|
./Configure --prefix=$HOME/openssl --libdir=lib linux-x86_64
|
|
30
30
|
make depend && make -j4 && make install_sw
|
|
31
31
|
;;
|
|
32
|
-
3.*)
|
|
32
|
+
3.* | 4.*)
|
|
33
33
|
OPENSSL_COMMIT=openssl-
|
|
34
34
|
OPENSSL_COMMIT+=$(echo ${{ inputs.version }})
|
|
35
35
|
git clone -b $OPENSSL_COMMIT --depth 1 https://github.com/openssl/openssl.git .
|
|
36
36
|
echo "Git commit: $(git rev-parse HEAD)"
|
|
37
|
-
|
|
38
|
-
./Configure --prefix=$HOME/openssl --libdir=lib enable-fips no-tests no-legacy
|
|
39
|
-
else
|
|
40
|
-
./Configure --prefix=$HOME/openssl --libdir=lib enable-fips no-tests
|
|
41
|
-
fi
|
|
37
|
+
./Configure --prefix=$HOME/openssl --libdir=lib enable-fips no-tests
|
|
42
38
|
make -j4 && make install_sw && make install_fips
|
|
43
39
|
;;
|
|
44
40
|
*)
|
|
@@ -42,9 +42,12 @@ runs:
|
|
|
42
42
|
shell: bash
|
|
43
43
|
run: |
|
|
44
44
|
case ${{ inputs.version }} in
|
|
45
|
-
|
|
45
|
+
3.*)
|
|
46
46
|
echo "Skipping Bundler installation for Ruby ${{ inputs.version }}"
|
|
47
47
|
;;
|
|
48
|
+
2.7*)
|
|
49
|
+
gem install bundler -v '~> 2.4.0'
|
|
50
|
+
;;
|
|
48
51
|
2.5* | 2.6*)
|
|
49
52
|
gem install bundler -v '~> 2.3.0'
|
|
50
53
|
;;
|
data/.github/workflows/build.yml
CHANGED
|
@@ -21,18 +21,30 @@ jobs:
|
|
|
21
21
|
fail-fast: false
|
|
22
22
|
matrix:
|
|
23
23
|
ruby:
|
|
24
|
+
- '4.0'
|
|
24
25
|
- '3.4'
|
|
25
26
|
- '3.3'
|
|
26
27
|
- '3.2'
|
|
27
28
|
- '3.1'
|
|
28
29
|
openssl:
|
|
29
|
-
- '
|
|
30
|
-
- '3.
|
|
31
|
-
- '3.
|
|
32
|
-
- '3.
|
|
30
|
+
- '4.0.0'
|
|
31
|
+
- '3.6.0'
|
|
32
|
+
- '3.5.4'
|
|
33
|
+
- '3.4.3'
|
|
34
|
+
- '3.3.5'
|
|
35
|
+
- '3.2.6'
|
|
33
36
|
- '3.1.8'
|
|
34
|
-
- '3.0.
|
|
37
|
+
- '3.0.18'
|
|
35
38
|
- '1.1.1w'
|
|
39
|
+
exclude:
|
|
40
|
+
# Ruby 3.1-3.3 bundle an `openssl` gem too old for OpenSSL 4.0.
|
|
41
|
+
# Re-enable once upstream ships patch releases that bump it.
|
|
42
|
+
- ruby: '3.3'
|
|
43
|
+
openssl: '4.0.0'
|
|
44
|
+
- ruby: '3.2'
|
|
45
|
+
openssl: '4.0.0'
|
|
46
|
+
- ruby: '3.1'
|
|
47
|
+
openssl: '4.0.0'
|
|
36
48
|
include:
|
|
37
49
|
- ruby: truffleruby
|
|
38
50
|
- ruby: '3.0'
|
|
@@ -45,7 +57,7 @@ jobs:
|
|
|
45
57
|
openssl: '1.1.1w'
|
|
46
58
|
|
|
47
59
|
steps:
|
|
48
|
-
- uses: actions/checkout@
|
|
60
|
+
- uses: actions/checkout@v7
|
|
49
61
|
|
|
50
62
|
- name: Install OpenSSL
|
|
51
63
|
if: matrix.ruby != 'truffleruby'
|
|
@@ -68,13 +80,11 @@ jobs:
|
|
|
68
80
|
bundler-cache: true
|
|
69
81
|
|
|
70
82
|
- run: bundle exec rspec
|
|
71
|
-
env:
|
|
72
|
-
RUBYOPT: ${{ startsWith(matrix.ruby, '3.4') && '--enable=frozen-string-literal' || '' }}
|
|
73
83
|
|
|
74
84
|
lint:
|
|
75
85
|
runs-on: ubuntu-latest
|
|
76
86
|
steps:
|
|
77
|
-
- uses: actions/checkout@
|
|
87
|
+
- uses: actions/checkout@v7
|
|
78
88
|
- uses: ruby/setup-ruby@v1
|
|
79
89
|
with:
|
|
80
90
|
ruby-version: '3.3'
|
data/.github/workflows/git.yml
CHANGED
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
name: Release
|
|
2
|
+
|
|
3
|
+
on:
|
|
4
|
+
release:
|
|
5
|
+
types: [published]
|
|
6
|
+
|
|
7
|
+
jobs:
|
|
8
|
+
release:
|
|
9
|
+
name: Publish to Rubygems
|
|
10
|
+
|
|
11
|
+
runs-on: ubuntu-latest
|
|
12
|
+
|
|
13
|
+
environment: release
|
|
14
|
+
|
|
15
|
+
permissions:
|
|
16
|
+
contents: write
|
|
17
|
+
id-token: write
|
|
18
|
+
|
|
19
|
+
steps:
|
|
20
|
+
- uses: actions/checkout@v7
|
|
21
|
+
|
|
22
|
+
- name: Setup Ruby
|
|
23
|
+
uses: ruby/setup-ruby@v1
|
|
24
|
+
with:
|
|
25
|
+
bundler-cache: true
|
|
26
|
+
ruby-version: ruby
|
|
27
|
+
|
|
28
|
+
- name: Publish to RubyGems
|
|
29
|
+
uses: rubygems/release-gem@v1
|
data/CHANGELOG.md
CHANGED
|
@@ -1,47 +1,77 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
-
## Unreleased
|
|
3
|
+
## [Unreleased](https://github.com/cedarcode/webauthn-ruby/compare/v3.5.1...master/)
|
|
4
4
|
|
|
5
|
-
## [v3.
|
|
5
|
+
## [v3.5.1](https://github.com/cedarcode/webauthn-ruby/compare/v3.5.0...v3.5.1/) - 2026-11-10
|
|
6
|
+
|
|
7
|
+
### Changed
|
|
8
|
+
|
|
9
|
+
- Update `cbor` dependency from `~> 0.5.9` to `~> 0.6.2.2` and `cose` dependency from `~> 1.1` to `~> 1.4`. [#523](https://github.com/cedarcode/webauthn-ruby/pull/523) [@stanhu]
|
|
10
|
+
|
|
11
|
+
## [v3.5.0](https://github.com/cedarcode/webauthn-ruby/compare/v3.4.3...v3.5.0/)
|
|
12
|
+
|
|
13
|
+
### Added
|
|
14
|
+
|
|
15
|
+
- Add support for crossOrigin/topOrigin verification during credential registration and authentication. [#486](https://github.com/cedarcode/webauthn-ruby/pull/486) [@nicolastemciuc]
|
|
16
|
+
- Add support for the `attestation_formats` option in `WebAuthn::Credential.options_for_create`. [#514](https://github.com/cedarcode/webauthn-ruby/pull/514) [@santiagorodriguez96]
|
|
17
|
+
- Add support for the `hints` option in `WebAuthn::Credential.options_for_create` and `WebAuthn::Credential.options_for_get`. [#513](https://github.com/cedarcode/webauthn-ruby/pull/513) [@santiagorodriguez96]
|
|
18
|
+
- Reject authenticator data where the BS (backup state) flag is set but the BE (backup eligibility) flag is not, during credential registration and authentication. Raises `WebAuthn::BackupFlagsVerificationError`. [#516](https://github.com/cedarcode/webauthn-ruby/pull/516) [@santiagorodriguez96]
|
|
19
|
+
- Reject credential IDs longer than 1023 bytes during credential registration. Raises `WebAuthn::CredentialIdLengthVerificationError`. [#517](https://github.com/cedarcode/webauthn-ruby/pull/517) [@santiagorodriguez96]
|
|
20
|
+
- Add `WebAuthn.generate_user_handle` as an alias for `generate_user_id`. [#503](https://github.com/cedarcode/webauthn-ruby/pull/503) [@ttanimichi]
|
|
21
|
+
|
|
22
|
+
### Changed
|
|
23
|
+
|
|
24
|
+
- Bump the default `credential_options_timeout` from `120_000` to `300_000` milliseconds (5 minutes). [#515](https://github.com/cedarcode/webauthn-ruby/pull/515) [@santiagorodriguez96]
|
|
25
|
+
- `WebAuthn::FakeClient#get` now defaults `backup_state` to `false`. The previous default (`backup_eligibility: false`, `backup_state: true`) produced authenticator data that now fails verification. [#516](https://github.com/cedarcode/webauthn-ruby/pull/516) [@santiagorodriguez96]
|
|
26
|
+
- Avoid mutating caller relying-party options. [#509](https://github.com/cedarcode/webauthn-ruby/pull/509) [@OskarEichler]
|
|
27
|
+
|
|
28
|
+
### Removed
|
|
29
|
+
|
|
30
|
+
- Remove `TokenBinding` verification during credential registration and authentication. [#450](https://github.com/cedarcode/webauthn-ruby/pull/450) [@nicolastemciuc]
|
|
31
|
+
- BREAKING CHANGE: `WebAuthn::TokenBindingVerificationError` no longer exists. Remove it from any `rescue` clauses.
|
|
32
|
+
- BREAKING CHANGE: `WebAuthn::FakeClient.new` no longer accepts `token_binding:`.
|
|
33
|
+
- BREAKING CHANGE: `WebAuthn::ClientData` no longer exposes `#token_binding` or `#valid_token_binding_format?`.
|
|
34
|
+
|
|
35
|
+
## [v3.4.3](https://github.com/cedarcode/webauthn-ruby/compare/v3.4.2...v3.4.3/) - 2025-10-23
|
|
6
36
|
|
|
7
37
|
### Fixed
|
|
8
38
|
|
|
9
|
-
- Fix `RelyingParty#origin` and `WebAuthn.configuration.origin` always returning `nil`. [#484](https://github.com/cedarcode/webauthn-ruby/pull/484)[@santiagorodriguez96]
|
|
39
|
+
- Fix `RelyingParty#origin` and `WebAuthn.configuration.origin` always returning `nil`. [#484](https://github.com/cedarcode/webauthn-ruby/pull/484) [@santiagorodriguez96]
|
|
10
40
|
- Now they return the allowed origin if allowed origins has only one element.
|
|
11
41
|
|
|
12
|
-
## [v3.4.2] - 2025-09-22
|
|
42
|
+
## [v3.4.2](https://github.com/cedarcode/webauthn-ruby/compare/v3.4.1...v3.4.2/) - 2025-09-22
|
|
13
43
|
|
|
14
44
|
### Added
|
|
15
45
|
|
|
16
46
|
- Updated `safety_net_attestation` dependency from `~> 0.4.0` to `~> 0.5.0`.
|
|
17
47
|
|
|
18
|
-
## [v3.4.1] - 2025-06-06
|
|
48
|
+
## [v3.4.1](https://github.com/cedarcode/webauthn-ruby/compare/v3.4.0...v3.4.1/) - 2025-06-06
|
|
19
49
|
|
|
20
|
-
- Avoid requiring `base64` as it's not a direct dependency. [#459](https://github.com/cedarcode/webauthn-ruby/pull/459)[@santiagorodriguez96]
|
|
50
|
+
- Avoid requiring `base64` as it's not a direct dependency. [#459](https://github.com/cedarcode/webauthn-ruby/pull/459) [@santiagorodriguez96]
|
|
21
51
|
|
|
22
|
-
## [v3.4.0] - 2025-02-17
|
|
52
|
+
## [v3.4.0](https://github.com/cedarcode/webauthn-ruby/compare/v3.3.0...v3.4.0/) - 2025-02-17
|
|
23
53
|
|
|
24
|
-
- Added support for Webauthn.config and RelayingParty to accept multiple allowed_origins. [#431](https://github.com/cedarcode/webauthn-ruby/pull/431)[@obroshnij]
|
|
54
|
+
- Added support for Webauthn.config and RelayingParty to accept multiple allowed_origins. [#431](https://github.com/cedarcode/webauthn-ruby/pull/431) [@obroshnij]
|
|
25
55
|
|
|
26
|
-
## [v3.3.0] - 2025-02-06
|
|
56
|
+
## [v3.3.0](https://github.com/cedarcode/webauthn-ruby/compare/v3.2.2...v3.3.0/) - 2025-02-06
|
|
27
57
|
|
|
28
58
|
### Added
|
|
29
59
|
|
|
30
60
|
- Updated `tpm-key_attestation` dependency from `~> 0.12.0` to `~> 0.14.0`. [#449](https://github.com/cedarcode/webauthn-ruby/pull/449) [@brauliomartinezlm], [@nicolastemciuc]
|
|
31
61
|
|
|
32
|
-
## [v3.2.2] - 2024-11-14
|
|
62
|
+
## [v3.2.2](https://github.com/cedarcode/webauthn-ruby/compare/v3.2.1...v3.2.2/) - 2024-11-14
|
|
33
63
|
|
|
34
64
|
### Fixed
|
|
35
65
|
|
|
36
66
|
- Fix `PublicKeyCredential::Options#.as_json` not camelCase'ing keys of attributes with hash or arrays as values. [#445](https://github.com/cedarcode/webauthn-ruby/pull/445) [@santiagorodriguez96]
|
|
37
67
|
|
|
38
|
-
## [v3.2.1] - 2024-11-14
|
|
68
|
+
## [v3.2.1](https://github.com/cedarcode/webauthn-ruby/compare/v3.2.0...v3.2.1/) - 2024-11-14
|
|
39
69
|
|
|
40
70
|
### Fixed
|
|
41
71
|
|
|
42
|
-
- Fix JSON Serializer generating json with attributes with a null value. [#442](https://github.com/cedarcode/webauthn-ruby/pull/442) @santiagorodriguez96
|
|
72
|
+
- Fix JSON Serializer generating json with attributes with a null value. [#442](https://github.com/cedarcode/webauthn-ruby/pull/442) [@santiagorodriguez96]
|
|
43
73
|
|
|
44
|
-
## [v3.2.0] - 2024-11-13
|
|
74
|
+
## [v3.2.0](https://github.com/cedarcode/webauthn-ruby/compare/v3.1.0...v3.2.0/) - 2024-11-13
|
|
45
75
|
|
|
46
76
|
### Added
|
|
47
77
|
|
|
@@ -62,31 +92,31 @@
|
|
|
62
92
|
|
|
63
93
|
- Remove unused class `AttestationTrustworthinessVerificationError`. [#412](https://github.com/cedarcode/webauthn-ruby/pull/412) [@soartec-lab]
|
|
64
94
|
|
|
65
|
-
## [v3.1.0] - 2023-12-26
|
|
95
|
+
## [v3.1.0](https://github.com/cedarcode/webauthn-ruby/compare/v3.0.0...v3.1.0/) - 2023-12-26
|
|
66
96
|
|
|
67
97
|
### Added
|
|
68
98
|
|
|
69
|
-
- Add support for optional `authenticator_attachment` in `PublicKeyCredential`. #370 [@8ma10s]
|
|
99
|
+
- Add support for optional `authenticator_attachment` in `PublicKeyCredential`. [#370](https://github.com/cedarcode/webauthn-ruby/pull/370) [@8ma10s]
|
|
70
100
|
|
|
71
101
|
### Fixed
|
|
72
102
|
|
|
73
|
-
- Fix circular require warning between `webauthn/relying_party` and `webauthn/credential`. #389 [@bdewater]
|
|
74
|
-
- Correctly verify attestation that contains just a batch certificate that is present in the attestation root certificates. #406 [@santiagorodriguez96]
|
|
103
|
+
- Fix circular require warning between `webauthn/relying_party` and `webauthn/credential`. [#389](https://github.com/cedarcode/webauthn-ruby/pull/389) [@bdewater]
|
|
104
|
+
- Correctly verify attestation that contains just a batch certificate that is present in the attestation root certificates. [#406](https://github.com/cedarcode/webauthn-ruby/pull/406) [@santiagorodriguez96]
|
|
75
105
|
|
|
76
106
|
### Changed
|
|
77
107
|
|
|
78
|
-
- Inlined `base64` implementation. #402 [@olleolleolle]
|
|
79
|
-
- Raise a more descriptive error if input `challenge` is `nil` when verifying the `PublicKeyCredential`. #413 [@soartec-lab]
|
|
108
|
+
- Inlined `base64` implementation. [#402](https://github.com/cedarcode/webauthn-ruby/pull/402) [@olleolleolle]
|
|
109
|
+
- Raise a more descriptive error if input `challenge` is `nil` when verifying the `PublicKeyCredential`. [#413](https://github.com/cedarcode/webauthn-ruby/pull/413) [@soartec-lab]
|
|
80
110
|
|
|
81
111
|
## [v3.0.0] - 2023-02-15
|
|
82
112
|
|
|
83
113
|
### Added
|
|
84
114
|
|
|
85
|
-
- Add the capability of handling appid extension #319 [@santiagorodriguez96]
|
|
86
|
-
- Add support for credential backup flags #378 [@santiagorodriguez96]
|
|
115
|
+
- Add the capability of handling appid extension [#319](https://github.com/cedarcode/webauthn-ruby/pull/319) [@santiagorodriguez96]
|
|
116
|
+
- Add support for credential backup flags [#378](https://github.com/cedarcode/webauthn-ruby/pull/378) [@santiagorodriguez96]
|
|
87
117
|
- Update dependencies to make gem compatible with OpenSSL 3.1 ([@bdewater],[@santiagorodriguez96])
|
|
88
118
|
|
|
89
|
-
## [v3.0.0.alpha2] - 2022-09-12
|
|
119
|
+
## [v3.0.0.alpha2](https://github.com/cedarcode/webauthn-ruby/compare/2-stable...v3.0.0.alpha2/) - 2022-09-12
|
|
90
120
|
|
|
91
121
|
### Added
|
|
92
122
|
|
|
@@ -96,19 +126,19 @@
|
|
|
96
126
|
|
|
97
127
|
- Bumped minimum required Ruby version to 2.5 ([@bdewater])
|
|
98
128
|
|
|
99
|
-
## [v3.0.0.alpha1] - 2020-06-27
|
|
129
|
+
## [v3.0.0.alpha1](https://github.com/cedarcode/webauthn-ruby/compare/v2.3.0...v3.0.0.alpha1) - 2020-06-27
|
|
100
130
|
|
|
101
131
|
### Added
|
|
102
132
|
|
|
103
133
|
- Ability to define multiple relying parties with the introduction of the `WebAuthn::RelyingParty` class ([@padulafacundo], [@brauliomartinezlm])
|
|
104
134
|
|
|
105
|
-
## [v2.5.2] - 2022-07-13
|
|
135
|
+
## [v2.5.2](https://github.com/cedarcode/webauthn-ruby/compare/v2.5.1...v2.5.2/) - 2022-07-13
|
|
106
136
|
|
|
107
137
|
### Added
|
|
108
138
|
|
|
109
139
|
- Updated dependencies to make the gem compatible with openssl-3 [@ClearlyClaire]
|
|
110
140
|
|
|
111
|
-
## [v2.5.1] - 2022-03-20
|
|
141
|
+
## [v2.5.1](https://github.com/cedarcode/webauthn-ruby/compare/v2.5.0...v2.5.1/) - 2022-03-20
|
|
112
142
|
|
|
113
143
|
### Added
|
|
114
144
|
|
|
@@ -116,9 +146,9 @@
|
|
|
116
146
|
|
|
117
147
|
### Removed
|
|
118
148
|
|
|
119
|
-
- Removed dependency [secure_compare dependency]
|
|
149
|
+
- Removed dependency [secure_compare dependency](https://rubygems.org/gems/secure_compare/versions/0.0.1) and use OpenSSL#secure_compare instead [@bdewater]
|
|
120
150
|
|
|
121
|
-
## [v2.5.0] - 2021-03-14
|
|
151
|
+
## [v2.5.0](https://github.com/cedarcode/webauthn-ruby/compare/v2.4.1...v2.5.0/) - 2021-03-14
|
|
122
152
|
|
|
123
153
|
### Added
|
|
124
154
|
|
|
@@ -129,32 +159,32 @@
|
|
|
129
159
|
|
|
130
160
|
- No longer accept "removed from the WebAuthn spec" options `rp: { icon: }` and `user: { icon: }` for `WebAuthn::Credential.options_for_create` method ([#326](https://github.com/cedarcode/webauthn-ruby/pull/326) / [@santiagorodriguez96])
|
|
131
161
|
|
|
132
|
-
## [v2.4.1] - 2021-02-15
|
|
162
|
+
## [v2.4.1](https://github.com/cedarcode/webauthn-ruby/compare/v2.4.0...v2.4.1/) - 2021-02-15
|
|
133
163
|
|
|
134
164
|
### Fixed
|
|
135
165
|
|
|
136
166
|
- Fix verification of new credential if no attestation provided and 'None' type is not among configured `acceptable_attestation_types`. I.e. reject it instead of letting it go through.
|
|
137
167
|
|
|
138
|
-
## [v2.4.0] - 2020-09-03
|
|
168
|
+
## [v2.4.0](https://github.com/cedarcode/webauthn-ruby/compare/v2.3.0...v2.4.0/) - 2020-09-03
|
|
139
169
|
|
|
140
170
|
### Added
|
|
141
171
|
|
|
142
172
|
- Support for ES256K credentials
|
|
143
173
|
- `FakeClient#get` accepts `user_handle:` keyword argument ([@lgarron])
|
|
144
174
|
|
|
145
|
-
## [v2.3.0] - 2020-06-27
|
|
175
|
+
## [v2.3.0](https://github.com/cedarcode/webauthn-ruby/compare/v2.2.1...v2.3.0/) - 2020-06-27
|
|
146
176
|
|
|
147
177
|
### Added
|
|
148
178
|
|
|
149
179
|
- Ability to access extension outputs with `PublicKeyCredential#client_extension_outputs` and `PublicKeyCredential#authenticator_extension_outputs` ([@santiagorodriguez96])
|
|
150
180
|
|
|
151
|
-
## [v2.2.1] - 2020-06-06
|
|
181
|
+
## [v2.2.1](https://github.com/cedarcode/webauthn-ruby/compare/v2.2.0...v2.2.1/) - 2020-06-06
|
|
152
182
|
|
|
153
183
|
### Fixed
|
|
154
184
|
|
|
155
185
|
- Fixed compatibility with OpenSSL-C (libssl) v1.0.2 ([@santiagorodriguez96])
|
|
156
186
|
|
|
157
|
-
## [v2.2.0] - 2020-03-14
|
|
187
|
+
## [v2.2.0](https://github.com/cedarcode/webauthn-ruby/compare/v2.1.0...v2.2.0/) - 2020-03-14
|
|
158
188
|
|
|
159
189
|
### Added
|
|
160
190
|
|
|
@@ -163,7 +193,7 @@
|
|
|
163
193
|
|
|
164
194
|
Note: Expect possible breaking changes for "EXPERIMENTAL" features.
|
|
165
195
|
|
|
166
|
-
## [v2.1.0] - 2019-12-30
|
|
196
|
+
## [v2.1.0](https://github.com/cedarcode/webauthn-ruby/compare/v2.0.0...v2.1.0/) - 2019-12-30
|
|
167
197
|
|
|
168
198
|
### Added
|
|
169
199
|
|
|
@@ -175,7 +205,7 @@ Note: Expect possible breaking changes for "EXPERIMENTAL" features.
|
|
|
175
205
|
|
|
176
206
|
Note: Expect possible breaking changes for "EXPERIMENTAL" features.
|
|
177
207
|
|
|
178
|
-
## [v2.0.0] - 2019-10-03
|
|
208
|
+
## [v2.0.0](https://github.com/cedarcode/webauthn-ruby/compare/v1.18.0...v2.0.0/) - 2019-10-03
|
|
179
209
|
|
|
180
210
|
### Added
|
|
181
211
|
|
|
@@ -227,7 +257,7 @@ string keys instead of snake_case symbol keys in the returned hash.
|
|
|
227
257
|
- `WebAuthn::FakeClient#create` and `WebAuthn::FakeClient#get` better fakes a real client by not padding the
|
|
228
258
|
returned base64url-encoded `id` value.
|
|
229
259
|
|
|
230
|
-
## [v1.18.0] - 2019-07-27
|
|
260
|
+
## [v1.18.0](https://github.com/cedarcode/webauthn-ruby/compare/v1.17.0...v1.18.0/) - 2019-07-27
|
|
231
261
|
|
|
232
262
|
### Added
|
|
233
263
|
|
|
@@ -242,14 +272,14 @@ returned base64url-encoded `id` value.
|
|
|
242
272
|
- Properly verify SafetyNet certificates from input ([#233](https://github.com/cedarcode/webauthn-ruby/pull/233)) ([@bdewater])
|
|
243
273
|
- FakeClient default origin URL ([#242](https://github.com/cedarcode/webauthn-ruby/pull/242)) ([@kalebtesfay])
|
|
244
274
|
|
|
245
|
-
## [v1.17.0] - 2019-06-18
|
|
275
|
+
## [v1.17.0](https://github.com/cedarcode/webauthn-ruby/compare/v1.16.0...v1.17.0/) - 2019-06-18
|
|
246
276
|
|
|
247
277
|
### Added
|
|
248
278
|
|
|
249
279
|
- Support ES384, ES512, PS384, PS512, RS384 and RS512 credentials. Off by default. Enable by adding any of them to `WebAuthn.configuration.algorithms` array ([@bdewater])
|
|
250
280
|
- Support [Signature Counter](https://www.w3.org/TR/webauthn/#signature-counter) verification ([@bdewater])
|
|
251
281
|
|
|
252
|
-
## [v1.16.0] - 2019-06-13
|
|
282
|
+
## [v1.16.0](https://github.com/cedarcode/webauthn-ruby/compare/v1.15.0...v1.16.0/) - 2019-06-13
|
|
253
283
|
|
|
254
284
|
### Added
|
|
255
285
|
|
|
@@ -257,20 +287,20 @@ returned base64url-encoded `id` value.
|
|
|
257
287
|
- Support RS1 (RSA w/ SHA-1) credentials. Off by default. Enable by adding `"RS1"` to `WebAuthn.configuration.algorithms` array.
|
|
258
288
|
- Support PS256 (RSA Probabilistic Signature Scheme w/ SHA-256) credentials. On by default ([@bdewater])
|
|
259
289
|
|
|
260
|
-
## [v1.15.0] - 2019-05-16
|
|
290
|
+
## [v1.15.0](https://github.com/cedarcode/webauthn-ruby/compare/v1.14.0...v1.15.0/) - 2019-05-16
|
|
261
291
|
|
|
262
292
|
### Added
|
|
263
293
|
|
|
264
294
|
- Ability to configure Origin, RP ID and RP Name via `WebAuthn.configure`
|
|
265
295
|
|
|
266
|
-
## [v1.14.0] - 2019-04-25
|
|
296
|
+
## [v1.14.0](https://github.com/cedarcode/webauthn-ruby/compare/v1.13.0...v1.14.0/) - 2019-04-25
|
|
267
297
|
|
|
268
298
|
### Added
|
|
269
299
|
|
|
270
300
|
- Support 'tpm' attestation statement
|
|
271
301
|
- Support RS256 credential public key
|
|
272
302
|
|
|
273
|
-
## [v1.13.0] - 2019-04-09
|
|
303
|
+
## [v1.13.0](https://github.com/cedarcode/webauthn-ruby/compare/v1.12.0...v1.13.0/) - 2019-04-09
|
|
274
304
|
|
|
275
305
|
### Added
|
|
276
306
|
|
|
@@ -283,7 +313,7 @@ returned base64url-encoded `id` value.
|
|
|
283
313
|
- Verify collectedClientData.tokenBinding format.
|
|
284
314
|
- `WebAuthn.credential_creation_options` now accept `rp_name`, `user_id`, `user_name` and `display_name` as keyword arguments ([@bdewater])
|
|
285
315
|
|
|
286
|
-
## [v1.12.0] - 2019-04-03
|
|
316
|
+
## [v1.12.0](https://github.com/cedarcode/webauthn-ruby/compare/v1.11.0...v1.12.0/) - 2019-04-03
|
|
287
317
|
|
|
288
318
|
### Added
|
|
289
319
|
|
|
@@ -299,7 +329,7 @@ Note #1: A `Credential` instance is what is returned in `WebAuthn::Authenticator
|
|
|
299
329
|
Note #2: You don't need to do any convesion before passing the public key in `AuthenticatorAssertionResponse#verify`'s
|
|
300
330
|
`allowed_credentials` argument, `#verify` is backwards-compatible and will handle both public key formats properly.
|
|
301
331
|
|
|
302
|
-
## [v1.11.0] - 2019-03-15
|
|
332
|
+
## [v1.11.0](https://github.com/cedarcode/webauthn-ruby/compare/v1.10.0...v1.11.0/) - 2019-03-15
|
|
303
333
|
|
|
304
334
|
### Added
|
|
305
335
|
|
|
@@ -309,19 +339,19 @@ Note #2: You don't need to do any convesion before passing the public key in `Au
|
|
|
309
339
|
|
|
310
340
|
- Verify matching AAGUID if needed when verifying `packed` attestation statements ([@bdewater])
|
|
311
341
|
|
|
312
|
-
## [v1.10.0] - 2019-03-05
|
|
342
|
+
## [v1.10.0](https://github.com/cedarcode/webauthn-ruby/compare/v1.9.0...v1.10.0/) - 2019-03-05
|
|
313
343
|
|
|
314
344
|
### Added
|
|
315
345
|
|
|
316
346
|
- Parse and make AuthenticatorData's extensionData available
|
|
317
347
|
|
|
318
|
-
## [v1.9.0] - 2019-02-22
|
|
348
|
+
## [v1.9.0](https://github.com/cedarcode/webauthn-ruby/compare/v1.8.0...v1.9.0/) - 2019-02-22
|
|
319
349
|
|
|
320
350
|
### Added
|
|
321
351
|
|
|
322
352
|
- Added `#verify`, which can be used for getting a meaningful error raised in case of a verification error, as opposed to `#valid?` which returns `false`
|
|
323
353
|
|
|
324
|
-
## [v1.8.0] - 2019-01-17
|
|
354
|
+
## [v1.8.0](https://github.com/cedarcode/webauthn-ruby/compare/v1.7.0...v1.8.0/) - 2019-01-17
|
|
325
355
|
|
|
326
356
|
### Added
|
|
327
357
|
|
|
@@ -332,40 +362,40 @@ Note #2: You don't need to do any convesion before passing the public key in `Au
|
|
|
332
362
|
|
|
333
363
|
- Make current raised exception errors a bit more meaningful to aid debugging
|
|
334
364
|
|
|
335
|
-
## [v1.7.0] - 2018-11-08
|
|
365
|
+
## [v1.7.0](https://github.com/cedarcode/webauthn-ruby/compare/v1.6.0...v1.7.0/) - 2018-11-08
|
|
336
366
|
|
|
337
367
|
### Added
|
|
338
368
|
|
|
339
369
|
- _Registration_ ceremony
|
|
340
370
|
- `WebAuthn::AuthenticatorAttestationResponse` exposes attestation type and trust path via `#attestation_type` and `#attestation_trust_path` methods ([@bdewater])
|
|
341
371
|
|
|
342
|
-
## [v1.6.0] - 2018-11-01
|
|
372
|
+
## [v1.6.0](https://github.com/cedarcode/webauthn-ruby/compare/v1.5.0...v1.6.0/) - 2018-11-01
|
|
343
373
|
|
|
344
374
|
### Added
|
|
345
375
|
|
|
346
376
|
- `FakeAuthenticator` object is now exposed to help you test your WebAuthn implementation
|
|
347
377
|
|
|
348
|
-
## [v1.5.0] - 2018-10-23
|
|
378
|
+
## [v1.5.0](https://github.com/cedarcode/webauthn-ruby/compare/v1.4.0...v1.5.0/) - 2018-10-23
|
|
349
379
|
|
|
350
380
|
### Added
|
|
351
381
|
|
|
352
382
|
- Works with ruby 2.3 ([@bdewater])
|
|
353
383
|
|
|
354
|
-
## [v1.4.0] - 2018-10-11
|
|
384
|
+
## [v1.4.0](https://github.com/cedarcode/webauthn-ruby/compare/v1.3.0...v1.4.0/) - 2018-10-11
|
|
355
385
|
|
|
356
386
|
### Added
|
|
357
387
|
|
|
358
388
|
- _Registration_ ceremony
|
|
359
389
|
- `WebAuthn::AuthenticatorAttestationResponse.valid?` supports `android-safetynet` attestation statements ([@bdewater])
|
|
360
390
|
|
|
361
|
-
## [v1.3.0] - 2018-10-11
|
|
391
|
+
## [v1.3.0](https://github.com/cedarcode/webauthn-ruby/compare/v1.2.0...v1.3.0/) - 2018-10-11
|
|
362
392
|
|
|
363
393
|
### Added
|
|
364
394
|
|
|
365
395
|
- _Registration_ ceremony
|
|
366
396
|
- `WebAuthn::AuthenticatorAttestationResponse.valid?` supports `packed` attestation statements ([@sorah])
|
|
367
397
|
|
|
368
|
-
## [v1.2.0] - 2018-10-08
|
|
398
|
+
## [v1.2.0](https://github.com/cedarcode/webauthn-ruby/compare/v1.1.0...v1.2.0/) - 2018-10-08
|
|
369
399
|
|
|
370
400
|
### Added
|
|
371
401
|
|
|
@@ -376,7 +406,7 @@ Note #2: You don't need to do any convesion before passing the public key in `Au
|
|
|
376
406
|
|
|
377
407
|
Note: Both additions should help making it compatible with Chrome for Android 70+/Android Fingerprint pair.
|
|
378
408
|
|
|
379
|
-
## [v1.1.0] - 2018-10-04
|
|
409
|
+
## [v1.1.0](https://github.com/cedarcode/webauthn-ruby/compare/v1.0.0...v1.1.0/) - 2018-10-04
|
|
380
410
|
|
|
381
411
|
### Added
|
|
382
412
|
|
|
@@ -385,7 +415,7 @@ Note: Both additions should help making it compatible with Chrome for Android 70
|
|
|
385
415
|
- _Authentication_ ceremony
|
|
386
416
|
- `WebAuthn::AuthenticatorAssertionResponse.valid?` optionally accepts rp_id.
|
|
387
417
|
|
|
388
|
-
## [v1.0.0] - 2018-09-07
|
|
418
|
+
## [v1.0.0](https://github.com/cedarcode/webauthn-ruby/compare/v0.2.0...v1.0.0/) - 2018-09-07
|
|
389
419
|
|
|
390
420
|
### Added
|
|
391
421
|
|
|
@@ -399,7 +429,7 @@ Note: Both additions should help making it compatible with Chrome for Android 70
|
|
|
399
429
|
- _Authentication_ ceremony
|
|
400
430
|
- Use 32-byte challenge instead of 16-byte
|
|
401
431
|
|
|
402
|
-
## [v0.2.0] - 2018-06-08
|
|
432
|
+
## [v0.2.0](https://github.com/cedarcode/webauthn-ruby/compare/v0.1.0...v0.2.0/) - 2018-06-08
|
|
403
433
|
|
|
404
434
|
### Added
|
|
405
435
|
|
|
@@ -427,7 +457,7 @@ Note: Both additions should help making it compatible with Chrome for Android 70
|
|
|
427
457
|
- _Registration_ ceremony
|
|
428
458
|
- `WebAuthn::AuthenticatorAttestationResponse.credential_id` (superseded by `WebAuthn::AuthenticatorAttestationResponse.credential`)
|
|
429
459
|
|
|
430
|
-
## [v0.1.0] - 2018-05-25
|
|
460
|
+
## [v0.1.0](https://github.com/cedarcode/webauthn-ruby/compare/v0.0.0...v0.1.0/) - 2018-05-25
|
|
431
461
|
|
|
432
462
|
### Added
|
|
433
463
|
|
|
@@ -436,61 +466,26 @@ Note: Both additions should help making it compatible with Chrome for Android 70
|
|
|
436
466
|
- `WebAuthn::AuthenticatorAttestationResponse.valid?` can be used to validate fido-u2f attestations returned by the browser
|
|
437
467
|
- Works with ruby 2.5
|
|
438
468
|
|
|
439
|
-
[v3.4.2]: https://github.com/cedarcode/webauthn-ruby/compare/v3.4.1...v3.4.2/
|
|
440
|
-
[v3.4.1]: https://github.com/cedarcode/webauthn-ruby/compare/v3.4.0...v3.4.1/
|
|
441
|
-
[v3.4.0]: https://github.com/cedarcode/webauthn-ruby/compare/v3.3.0...v3.4.0/
|
|
442
|
-
[v3.3.0]: https://github.com/cedarcode/webauthn-ruby/compare/v3.2.2...v3.3.0/
|
|
443
|
-
[v3.2.2]: https://github.com/cedarcode/webauthn-ruby/compare/v3.2.1...v3.2.2/
|
|
444
|
-
[v3.2.1]: https://github.com/cedarcode/webauthn-ruby/compare/v3.2.0...v3.2.1/
|
|
445
|
-
[v3.2.0]: https://github.com/cedarcode/webauthn-ruby/compare/v3.1.0...v3.2.0/
|
|
446
|
-
[v3.1.0]: https://github.com/cedarcode/webauthn-ruby/compare/v3.0.0...v3.1.0/
|
|
447
|
-
[v3.0.0]: https://github.com/cedarcode/webauthn-ruby/compare/2-stable...v3.0.0/
|
|
448
|
-
[v3.0.0.alpha2]: https://github.com/cedarcode/webauthn-ruby/compare/2-stable...v3.0.0.alpha2/
|
|
449
|
-
[v3.0.0.alpha1]: https://github.com/cedarcode/webauthn-ruby/compare/v2.3.0...v3.0.0.alpha1
|
|
450
|
-
[v2.5.2]: https://github.com/cedarcode/webauthn-ruby/compare/v2.5.1...v2.5.2/
|
|
451
|
-
[v2.5.1]: https://github.com/cedarcode/webauthn-ruby/compare/v2.5.0...v2.5.1/
|
|
452
|
-
[v2.5.0]: https://github.com/cedarcode/webauthn-ruby/compare/v2.4.1...v2.5.0/
|
|
453
|
-
[v2.4.1]: https://github.com/cedarcode/webauthn-ruby/compare/v2.4.0...v2.4.1/
|
|
454
|
-
[v2.4.0]: https://github.com/cedarcode/webauthn-ruby/compare/v2.3.0...v2.4.0/
|
|
455
|
-
[v2.3.0]: https://github.com/cedarcode/webauthn-ruby/compare/v2.2.1...v2.3.0/
|
|
456
|
-
[v2.2.1]: https://github.com/cedarcode/webauthn-ruby/compare/v2.2.0...v2.2.1/
|
|
457
|
-
[v2.2.0]: https://github.com/cedarcode/webauthn-ruby/compare/v2.1.0...v2.2.0/
|
|
458
|
-
[v2.1.0]: https://github.com/cedarcode/webauthn-ruby/compare/v2.0.0...v2.1.0/
|
|
459
|
-
[v2.0.0]: https://github.com/cedarcode/webauthn-ruby/compare/v1.18.0...v2.0.0/
|
|
460
|
-
[v1.18.0]: https://github.com/cedarcode/webauthn-ruby/compare/v1.17.0...v1.18.0/
|
|
461
|
-
[v1.17.0]: https://github.com/cedarcode/webauthn-ruby/compare/v1.16.0...v1.17.0/
|
|
462
|
-
[v1.16.0]: https://github.com/cedarcode/webauthn-ruby/compare/v1.15.0...v1.16.0/
|
|
463
|
-
[v1.15.0]: https://github.com/cedarcode/webauthn-ruby/compare/v1.14.0...v1.15.0/
|
|
464
|
-
[v1.14.0]: https://github.com/cedarcode/webauthn-ruby/compare/v1.13.0...v1.14.0/
|
|
465
|
-
[v1.13.0]: https://github.com/cedarcode/webauthn-ruby/compare/v1.12.0...v1.13.0/
|
|
466
|
-
[v1.12.0]: https://github.com/cedarcode/webauthn-ruby/compare/v1.11.0...v1.12.0/
|
|
467
|
-
[v1.11.0]: https://github.com/cedarcode/webauthn-ruby/compare/v1.10.0...v1.11.0/
|
|
468
|
-
[v1.10.0]: https://github.com/cedarcode/webauthn-ruby/compare/v1.9.0...v1.10.0/
|
|
469
|
-
[v1.9.0]: https://github.com/cedarcode/webauthn-ruby/compare/v1.8.0...v1.9.0/
|
|
470
|
-
[v1.8.0]: https://github.com/cedarcode/webauthn-ruby/compare/v1.7.0...v1.8.0/
|
|
471
|
-
[v1.7.0]: https://github.com/cedarcode/webauthn-ruby/compare/v1.6.0...v1.7.0/
|
|
472
|
-
[v1.6.0]: https://github.com/cedarcode/webauthn-ruby/compare/v1.5.0...v1.6.0/
|
|
473
|
-
[v1.5.0]: https://github.com/cedarcode/webauthn-ruby/compare/v1.4.0...v1.5.0/
|
|
474
|
-
[v1.4.0]: https://github.com/cedarcode/webauthn-ruby/compare/v1.3.0...v1.4.0/
|
|
475
|
-
[v1.3.0]: https://github.com/cedarcode/webauthn-ruby/compare/v1.2.0...v1.3.0/
|
|
476
|
-
[v1.2.0]: https://github.com/cedarcode/webauthn-ruby/compare/v1.1.0...v1.2.0/
|
|
477
|
-
[v1.1.0]: https://github.com/cedarcode/webauthn-ruby/compare/v1.0.0...v1.1.0/
|
|
478
|
-
[v1.0.0]: https://github.com/cedarcode/webauthn-ruby/compare/v0.2.0...v1.0.0/
|
|
479
|
-
[v0.2.0]: https://github.com/cedarcode/webauthn-ruby/compare/v0.1.0...v0.2.0/
|
|
480
|
-
[v0.1.0]: https://github.com/cedarcode/webauthn-ruby/compare/v0.0.0...v0.1.0/
|
|
481
|
-
|
|
482
|
-
[@brauliomartinezlm]: https://github.com/brauliomartinezlm
|
|
483
469
|
[@bdewater]: https://github.com/bdewater
|
|
470
|
+
[@brauliomartinezlm]: https://github.com/brauliomartinezlm
|
|
471
|
+
[@ClearlyClaire]: https://github.com/ClearlyClaire
|
|
472
|
+
[@jdongelmans]: https://github.com/jdongelmans
|
|
484
473
|
[@jdongelmans]: https://github.com/jdongelmans
|
|
474
|
+
[@juanarias93]: https://github.com/juanarias93
|
|
485
475
|
[@kalebtesfay]: https://github.com/kalebtesfay
|
|
476
|
+
[@kingjan1999]: https://github.com/@kingjan1999
|
|
477
|
+
[@lgarron]: https://github.com/lgarron
|
|
486
478
|
[@MaximeNdutiye]: https://github.com/MaximeNdutiye
|
|
487
|
-
[@
|
|
488
|
-
[@
|
|
479
|
+
[@nicolastemciuc]: https://github.com/nicolastemciuc
|
|
480
|
+
[@obroshnij]: https://github.com/obroshnij
|
|
481
|
+
[@olleolleolle]: https://github.com/olleolleolle
|
|
482
|
+
[@OskarEichler]: https://github.com/OskarEichler
|
|
489
483
|
[@padulafacundo]: https://github.com/padulafacundo
|
|
490
|
-
[@santiagorodriguez96]: https://github.com/santiagorodriguez96
|
|
491
|
-
[@lgarron]: https://github.com/lgarron
|
|
492
|
-
[@juanarias93]: https://github.com/juanarias93
|
|
493
|
-
[@kingjan1999]: https://github.com/@kingjan1999
|
|
494
|
-
[@jdongelmans]: https://github.com/jdongelmans
|
|
495
484
|
[@petergoldstein]: https://github.com/petergoldstein
|
|
496
|
-
[@
|
|
485
|
+
[@santiagorodriguez96]: https://github.com/santiagorodriguez96
|
|
486
|
+
[@soartec-lab]: https://github.com/soartec-lab
|
|
487
|
+
[@sorah]: https://github.com/sorah
|
|
488
|
+
[@ssuttner]: https://github.com/ssuttner
|
|
489
|
+
[@stanhu]: https://github.com/stanhu
|
|
490
|
+
[@ttanimichi]: https://github.com/ttanimichi
|
|
491
|
+
[@8ma10s]: https://github.com/8ma10s
|