jwt-aws-kms 0.6.0 → 1.0.0

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 914aa0d86548b288e664ca6ec1fc307d9ed6314906d88a53724ea8f66a50de3f
4
- data.tar.gz: 3194829083c71babcf27d4a7a9faa8c7461af0e8e4eec75a49450051c934b0fe
3
+ metadata.gz: 13309417bcacef146c8de8889e0c7d2cee14c8b19d50257f212964bb25af2067
4
+ data.tar.gz: f00ad6f098b8b95ed5098fabc8eabfd21461777234e3c50a0368adb1d48ee565
5
5
  SHA512:
6
- metadata.gz: 3a883fdf468c545b4d40ff7df480ec31dd18bb13b418a241d31cd85614fc73330a6f9d27c28d4335d4448eb1b8ef12e3c68e4b007f90c6fdadf721e5b6fc7d17
7
- data.tar.gz: ca891f35bf16367d8aec94e021db54c684aeea578eebe31458feb81a90831caad1f11efb4077889fc4ce4c8f228b55c8b0b4808b8fc5a83992f32e1ccf09e70f
6
+ metadata.gz: 1d9fa5aa566d3f6f27a9c102a313e47ff3a01753f891ac04b860aa6ed3af07ccc3540039c8224a9c8d7ee267e1ee8430facd0b5540fafab285533be0d08e398f
7
+ data.tar.gz: 2c0969e4d242a45b266d9edad30ef24ad2794f5def3b46ba180dca1f6e07a5a8bb4a19d1572844e40d023c51e247318aa9d9b2dea4f5032385ae712d4f3bbb0a
@@ -1,3 +1,3 @@
1
1
  {
2
- ".": "0.6.0"
2
+ ".": "1.0.0"
3
3
  }
data/CHANGELOG.md CHANGED
@@ -1,5 +1,17 @@
1
1
  # Changelog
2
2
 
3
+ ## [1.0.0](https://github.com/anakinj/jwt-aws-kms/compare/v0.6.0...v1.0.0) (2024-09-28)
4
+
5
+
6
+ ### ⚠ BREAKING CHANGES
7
+
8
+ * HMAC and asymmetric algorithm (RSA) support ([#5](https://github.com/anakinj/jwt-aws-kms/issues/5))
9
+
10
+ ### Features
11
+
12
+ * HMAC and asymmetric algorithm (RSA) support ([#5](https://github.com/anakinj/jwt-aws-kms/issues/5)) ([9bf2d28](https://github.com/anakinj/jwt-aws-kms/commit/9bf2d2819a5b72698d9bbf6726e6f0e818a0486a))
13
+ * RSA algo support ([0ca6880](https://github.com/anakinj/jwt-aws-kms/commit/0ca688085fae512080a1443bcd4ed20824141e98))
14
+
3
15
  ## [0.2.0](https://github.com/anakinj/jwt-kms/compare/v0.1.0...v0.2.0) (2024-09-20)
4
16
 
5
17
 
data/README.md CHANGED
@@ -1,4 +1,4 @@
1
- # JWT::KMS
1
+ # JWT::Aws::KMS
2
2
 
3
3
  AWS KMS algorithm extensions for ruby-jwt.
4
4
 
@@ -29,6 +29,22 @@ token = JWT.encode(payload, key.key_metadata.key_id, algo)
29
29
  decoded_token = JWT.decode(token, key.key_metadata.key_id, true, algorithm: algo)
30
30
  ```
31
31
 
32
+ ## Supported algorithms
33
+
34
+ The gem supports the following AWS KMS algorithms:
35
+
36
+ | Algorithm Name | Description | JWA Name |
37
+ |----------------|--------------------------------------------------|-------------------------|
38
+ | RSASSA_PKCS1_V1_5_SHA_256 | RSASSA PKCS1 v1.5 using SHA-256 | RS256 |
39
+ | RSASSA_PKCS1_V1_5_SHA_384 | RSASSA PKCS1 v1.5 using SHA-384 | RS384 |
40
+ | RSASSA_PKCS1_V1_5_SHA_512 | RSASSA PKCS1 v1.5 using SHA-512 | RS512 |
41
+ | RSASSA_PSS_SHA_256 | RSASSA PSS using SHA-256 | PS256 |
42
+ | RSASSA_PSS_SHA_384 | RSASSA PSS using SHA-384 | PS384 |
43
+ | RSASSA_PSS_SHA_512 | RSASSA PSS using SHA-512 | PS512 |
44
+ | ECDSA_SHA_256 | ECDSA using P-256 and SHA-256 | ES256 |
45
+ | ECDSA_SHA_384 | ECDSA using P-384 and SHA-384 | ES384 |
46
+ | ECDSA_SHA_512 | ECDSA using P-521 and SHA-512 | ES512 |
47
+
32
48
  ## Development
33
49
 
34
50
  [Localstack](https://www.localstack.cloud/) can be used to simulate the AWS KMS environment.
@@ -3,7 +3,7 @@
3
3
  module JWT
4
4
  module Aws
5
5
  module KMS
6
- VERSION = "0.6.0"
6
+ VERSION = "1.0.0"
7
7
  end
8
8
  end
9
9
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: jwt-aws-kms
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.6.0
4
+ version: 1.0.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Joakim Antman
@@ -66,7 +66,7 @@ metadata:
66
66
  allowed_push_host: https://rubygems.org
67
67
  homepage_uri: https://github.com/anakinj/jwt-aws-kms
68
68
  source_code_uri: https://github.com/anakinj/jwt-aws-kms
69
- changelog_uri: https://github.com/anakinj/jwt-aws-kms/blob/v0.6.0/CHANGELOG.md
69
+ changelog_uri: https://github.com/anakinj/jwt-aws-kms/blob/v1.0.0/CHANGELOG.md
70
70
  rubygems_mfa_required: 'true'
71
71
  post_install_message:
72
72
  rdoc_options: []