fluent-plugin-jwt-filter 0.0.2 → 0.0.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +6 -4
- data/fluent-plugin-jwt-filter.gemspec +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ccd4c3361ee9057943cb13416f9b1b49c6352459
|
4
|
+
data.tar.gz: a4f2c7e65261445e954bccd246085967046e34e3
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 29713f247c1d5466a98ffb45b0618aaa688d5573e499d11741dd2a2b07ecb033f9118fe691d0d88ff847ab0c53bc86a6f78700b8a79462bc304697a187069291
|
7
|
+
data.tar.gz: 922799b2b98ca4fd3680369160d1d3977cb56d40b365e17ca60cc673f7fd28413207ba4b0e30798e8ec17511b492082c481a0146bde71815dd391df63f1fe558
|
data/README.md
CHANGED
@@ -54,7 +54,7 @@ In the following example, input from in_tail plugin is encrypted by jwt-filter a
|
|
54
54
|
|
55
55
|
For encryption, the following options are available.
|
56
56
|
|
57
|
-
- **jwk_pub_file**: is a file name which records public key of JSON Web Key (JWK). JWK public and private key can be easily generated by [jwk_tool](https://github.com/toyokazu/jwk-tool).
|
57
|
+
- **jwk_pub_file**: is a file name which records public key of JSON Web Key (JWK). JWK public and private key can be easily generated by [jwk_tool](https://github.com/toyokazu/jwk-tool) (default name: key.pub).
|
58
58
|
- **block_cipher_alg**: is an algorithm to encrypt the contents. Block cipher is used for encryption and symmetric key of block cipher is encrypted by key encryption algorithm. Currently json-jwt supports A128GCM, A256GCM, A128CBC-HS256 and A256CBC-HS512 (default A128GCM and require "ruby > 2.0.0").
|
59
59
|
- **key_encryption_alg**: is an algorithm to encrypt block cipher encryption key. Basically public key algorithm is assumed. If JWK is created as symmetric key, this option is not required (default RSA1_5).
|
60
60
|
|
@@ -87,7 +87,9 @@ In the following example, input from in_forward plugin is decrypted by jwt-filte
|
|
87
87
|
|
88
88
|
For decryption, the following options are available.
|
89
89
|
|
90
|
-
|
91
|
-
config_param :jwk_file, :string, :default => "key"
|
90
|
+
- **jwk_file**: is a file name which records private key of JSON Web Key (JWK). As already mentioned in Encryption section, JWK public and private key can be easily generated by [jwk_tool](https://github.com/toyokazu/jwk-tool) (default name: key)
|
92
91
|
|
93
|
-
|
92
|
+
<filter test>
|
93
|
+
@type jwt
|
94
|
+
jwk_file fluent/key
|
95
|
+
</filter>
|