Skip to content

Commit

Permalink
Bump gem version to v2.0.0.beta1
Browse files Browse the repository at this point in the history
  • Loading branch information
grzuy committed Sep 16, 2019
1 parent 5b1150a commit fac3510
Show file tree
Hide file tree
Showing 4 changed files with 59 additions and 4 deletions.
52 changes: 52 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,56 @@
# Changelog

## [v2.0.0.beta1] - 2019-09-16

### Added

- Smarter new public API methods:
- `WebAuthn.generate_user_id`
- `WebAuthn::Credential.options_for_create`
- `WebAuthn::Credential.options_for_get`
- `WebAuthn::Credential.from_create`
- `WebAuthn::Credential.from_get`
- All the above automatically handle encoding/decoding for necessary values. The specific encoding scheme can
be set (or even turned off) in `WebAutnn.configuration.encoding=`. Defaults to `:base64url`.
- `WebAuthn::FakeClient#get` better fakes a real client by including `userHandle` in the returned hash.
- Expose AAGUID and attestationCertificateKey for MDS lookup during attestation (@bdwater)

### Changed

- `WebAuthn::AuthenticatorAssertionResponse#verify` no longer accepts `allowed_credentials:` keyword argument.
Please replace with `public_key:` and `sign_count:` keyword arguments. If you're not performing sign count
verification, signal opt-out with `sign_count: false`.

- `WebAuthn::FakeClient#create` and `WebAuthn::FakeClient#get` better fakes a real client by using camelBack string
keys instead of snake_case symbol keys in the returned hash.
- `WebAuthn::FakeClient#create` and `WebAuthn::FakeClient#get` better fakes a real client by not padding the
returned base64url-encoded `id` value.

### Deprecated

- `WebAuthn.credential_creation_options` method. Please consider using `WebAuthn::Credential.options_for_create`.
- `WebAuthn.credential_request_options` method. Please consider using `WebAuthn::Credential.options_for_get`.

### Removed

- `WebAuthn::AuthenticatorAssertionResponse.new` no longer accepts `credential_id`. No replacement needed, just don't
pass it.

### BREAKING CHANGES

- `WebAuthn::AuthenticatorAssertionResponse.new` no longer accepts `credential_id`. No replacement needed, just don't
pass it.

- `WebAuthn::AuthenticatorAssertionResponse#verify` no longer accepts `allowed_credentials:` keyword argument.
Please replace with `public_key:` and `sign_count:` keyword arguments. If you're not performing sign count
verification, signal opt-out with `sign_count: false`.

- `WebAuthn::FakeClient#create` and `WebAuthn::FakeClient#get` better fakes a real client by using camelBack string
keys instead of snake_case symbol keys in the returned hash.

- `WebAuthn::FakeClient#create` and `WebAuthn::FakeClient#get` better fakes a real client by not padding the
returned base64url-encoded `id` value.

## [v1.18.0] - 2019-07-27

### Added
Expand Down Expand Up @@ -209,6 +260,7 @@ Note: Both additions should help making it compatible with Chrome for Android 70
- `WebAuthn::AuthenticatorAttestationResponse.valid?` can be used to validate fido-u2f attestations returned by the browser
- Works with ruby 2.5

[v2.0.0.beta1]: https://github.com/cedarcode/webauthn-ruby/compare/v1.18.0...v2.0.0.beta1/
[v1.18.0]: https://github.com/cedarcode/webauthn-ruby/compare/v1.17.0...v1.18.0/
[v1.17.0]: https://github.com/cedarcode/webauthn-ruby/compare/v1.16.0...v1.17.0/
[v1.16.0]: https://github.com/cedarcode/webauthn-ruby/compare/v1.15.0...v1.16.0/
Expand Down
7 changes: 5 additions & 2 deletions SECURITY.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,11 @@

| Version | Supported |
| ------- | ------------------ |
| 1.x.y | :white_check_mark: |
| < 1.0 | :x: |
| 1.18.z | :white_check_mark: |
| 1.17.z | :white_check_mark: |
| 1.16.z | :white_check_mark: |
| 1.15.z | :white_check_mark: |
| < 1.15 | :x: |

## Reporting a Vulnerability

Expand Down
2 changes: 1 addition & 1 deletion lib/webauthn/version.rb
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# frozen_string_literal: true

module WebAuthn
VERSION = "1.18.0"
VERSION = "2.0.0.beta1"
end
2 changes: 1 addition & 1 deletion spec/conformance/Gemfile.lock
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
PATH
remote: ../..
specs:
webauthn (1.18.0)
webauthn (2.0.0.beta1)
awrence (~> 1.1)
bindata (~> 2.4)
cbor (~> 0.5.9)
Expand Down

0 comments on commit fac3510

Please sign in to comment.