jwt-aws-kms 0.6.0 → 1.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.release-please-manifest.json +1 -1
- data/CHANGELOG.md +12 -0
- data/README.md +17 -1
- data/lib/jwt/aws/kms/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 13309417bcacef146c8de8889e0c7d2cee14c8b19d50257f212964bb25af2067
|
4
|
+
data.tar.gz: f00ad6f098b8b95ed5098fabc8eabfd21461777234e3c50a0368adb1d48ee565
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1d9fa5aa566d3f6f27a9c102a313e47ff3a01753f891ac04b860aa6ed3af07ccc3540039c8224a9c8d7ee267e1ee8430facd0b5540fafab285533be0d08e398f
|
7
|
+
data.tar.gz: 2c0969e4d242a45b266d9edad30ef24ad2794f5def3b46ba180dca1f6e07a5a8bb4a19d1572844e40d023c51e247318aa9d9b2dea4f5032385ae712d4f3bbb0a
|
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.
|
data/lib/jwt/aws/kms/version.rb
CHANGED
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.
|
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/
|
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: []
|