webauthn 3.0.0.alpha1 → 3.0.0.alpha2

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.
Files changed (41) hide show
  1. checksums.yaml +4 -4
  2. data/.github/workflows/build.yml +31 -0
  3. data/.github/workflows/git.yml +21 -0
  4. data/.rubocop.yml +57 -1
  5. data/CHANGELOG.md +63 -1
  6. data/README.md +5 -2
  7. data/SECURITY.md +6 -3
  8. data/docs/advanced_configuration.md +174 -0
  9. data/docs/u2f_migration.md +3 -2
  10. data/lib/cose/rsapkcs1_algorithm.rb +7 -0
  11. data/lib/webauthn/attestation_statement/android_key.rb +0 -4
  12. data/lib/webauthn/attestation_statement/android_safetynet.rb +1 -5
  13. data/lib/webauthn/attestation_statement/apple.rb +65 -0
  14. data/lib/webauthn/attestation_statement/base.rb +11 -22
  15. data/lib/webauthn/attestation_statement/none.rb +7 -1
  16. data/lib/webauthn/attestation_statement/packed.rb +1 -1
  17. data/lib/webauthn/attestation_statement/tpm.rb +2 -2
  18. data/lib/webauthn/attestation_statement.rb +4 -1
  19. data/lib/webauthn/authenticator_data/attested_credential_data.rb +2 -3
  20. data/lib/webauthn/authenticator_response.rb +1 -2
  21. data/lib/webauthn/credential_creation_options.rb +2 -0
  22. data/lib/webauthn/credential_request_options.rb +2 -0
  23. data/lib/webauthn/fake_authenticator/authenticator_data.rb +1 -1
  24. data/lib/webauthn/fake_authenticator.rb +11 -3
  25. data/lib/webauthn/fake_client.rb +10 -3
  26. data/lib/webauthn/public_key_credential/entity.rb +3 -4
  27. data/lib/webauthn/relying_party.rb +2 -2
  28. data/lib/webauthn/u2f_migrator.rb +4 -1
  29. data/lib/webauthn/version.rb +1 -1
  30. data/webauthn.gemspec +7 -8
  31. metadata +45 -59
  32. data/.travis.yml +0 -39
  33. data/Appraisals +0 -21
  34. data/gemfiles/cose_head.gemfile +0 -7
  35. data/gemfiles/openssl_2_0.gemfile +0 -7
  36. data/gemfiles/openssl_2_1.gemfile +0 -7
  37. data/gemfiles/openssl_2_2.gemfile +0 -7
  38. data/gemfiles/openssl_head.gemfile +0 -7
  39. data/lib/webauthn/security_utils.rb +0 -20
  40. data/script/ci/install-openssl +0 -7
  41. data/script/ci/install-ruby +0 -13
@@ -1,7 +0,0 @@
1
- #!/bin/bash
2
-
3
- set -e
4
-
5
- if [[ "$LIBSSL" == "1.0" ]]; then
6
- sudo apt-get install libssl1.0-dev
7
- fi
@@ -1,13 +0,0 @@
1
- #!/bin/bash
2
-
3
- set -e
4
-
5
- source "$HOME/.rvm/scripts/rvm"
6
-
7
- if [[ "$LIBSSL" == "1.0" ]]; then
8
- rvm use --install $RB --autolibs=read-only --disable-binary
9
- elif [[ "$LIBSSL" == "1.1" ]]; then
10
- rvm use --install $RB --binary --fuzzy
11
- fi
12
-
13
- [[ "`ruby -ropenssl -e 'puts OpenSSL::OPENSSL_VERSION'`" =~ "OpenSSL $LIBSSL" ]] || { echo "Wrong libssl version"; exit 1; }