jwt_signed_request 3.0.0 → 4.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +19 -1
- data/lib/jwt_signed_request/verify.rb +3 -0
- data/lib/jwt_signed_request/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 2ff089359ca0be223ce8129057dd85f41347deefc047a38a430ccbb2807900c3
|
4
|
+
data.tar.gz: 7b48dda198a6b50b11c23cd9ee729dafdc4eac46cd916a9d8537452b30f2498c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3c386999814a23ef7453316d2d9082d6e1ae706989eeff1c2bab49414f4f9dc1e9eca36c0f936e6139a05adb5e99540dc5cb3eff4192348e10d80e2200e84333
|
7
|
+
data.tar.gz: c0b80b1fda09d9dcb1260f229acfeff185cdb8ada149d9729ea2950f356e6fe09126639182811438d19f35658d5c6ad9fbe49b3ae02d612d96234ed7f11d0218
|
data/README.md
CHANGED
@@ -1,5 +1,9 @@
|
|
1
1
|
# JWT Signed Request
|
2
|
-
|
2
|
+
|
3
|
+
[![License MIT](https://img.shields.io/badge/license-MIT-brightgreen.svg)](https://github.com/envato/jwt_signed_request/blob/master/LICENSE.txt)
|
4
|
+
[![Gem Version](https://img.shields.io/gem/v/jwt_signed_request.svg?maxAge=2592000)](https://rubygems.org/gems/jwt_signed_request)
|
5
|
+
[![Gem Downloads](https://img.shields.io/gem/dt/jwt_signed_request.svg?maxAge=2592000)](https://rubygems.org/gems/jwt_signed_request)
|
6
|
+
[![Test Suite](https://github.com/envato/jwt_signed_request/workflows/tests/badge.svg?branch=master)](https://github.com/envato/jwt_signed_request/actions?query=branch%3Amaster+workflow%3Atests)
|
3
7
|
|
4
8
|
Request signing and verification for Internal APIs using JWT.
|
5
9
|
|
@@ -17,6 +21,14 @@ then run:
|
|
17
21
|
$ bundle
|
18
22
|
```
|
19
23
|
|
24
|
+
## Stale PRs
|
25
|
+
|
26
|
+
We use the "stale" workflow to manage our PRs.
|
27
|
+
If you have a PR open for 60 days without any activity, it will automatically be labelled `stale-pr`.
|
28
|
+
If there is no activity for 7 days after this label is applied, the PR will be automatically closed.
|
29
|
+
|
30
|
+
If you have a PR that has a sensible reason for being open for a long period of time with no activity, you can apply the `do-not-auto-close` label to avoid it being automatically closed.
|
31
|
+
|
20
32
|
## Generating EC Keys
|
21
33
|
|
22
34
|
We should be using a public key encryption algorithm such as **ES256**. To generate your public/private key pair using **ES256** run:
|
@@ -287,6 +299,12 @@ Configured versions are defined in [Appraisals](./Appraisals), which at time of
|
|
287
299
|
].each do |jwt_version|
|
288
300
|
```
|
289
301
|
|
302
|
+
Ensure you set up your local environment by running:
|
303
|
+
|
304
|
+
```sh
|
305
|
+
bundle exec appraisal install
|
306
|
+
```
|
307
|
+
|
290
308
|
Run the test suite like this:
|
291
309
|
|
292
310
|
```sh
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: jwt_signed_request
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version:
|
4
|
+
version: 4.0.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Envato
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2024-07-10 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: jwt
|
@@ -161,7 +161,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
161
161
|
- !ruby/object:Gem::Version
|
162
162
|
version: '0'
|
163
163
|
requirements: []
|
164
|
-
rubygems_version: 3.
|
164
|
+
rubygems_version: 3.5.6
|
165
165
|
signing_key:
|
166
166
|
specification_version: 4
|
167
167
|
summary: JWT request signing and verification for Internal APIs
|