Comments (3)
You need to be able to trust the keys you use for verification, that won’t work if you fetch them over HTTP. How do you know the keys haven’t changed during transmission?
from go-jose.
@csstaub,
Hmm. But then how go jose is verifying signature. From where is it fetching the key sets.
from go-jose.
Go JOSE assumes that you have a trusted key already available to verify with. Fetching keys from third parties is out of scope of the library. Generally, Public-Key Infrastructure (PKI) is used to distribute & authenticate public keys, such as in the form of certificates. If you're having trouble understanding the trust calculus of key distribution schemes I would recommend seeking professional advice from a qualified security engineer.
from go-jose.
Related Issues (20)
- OpaqueSigner makes unnecessary operations HOT 1
- Can we manually validate token using CA certificate Public key? HOT 3
- json.Unmarshal converts json literal integer to float64 instead of int64 when taget type is of type interface{} HOT 7
- It is not possible to configure json decoder when unmarshalling JSONWebToken's claims
- Issues for v3 fork HOT 1
- Pad x/y for ES512 - P-521 HOT 2
- ES256/etc algs produce non-deterministic ECDSA signatures inconsistent with the IETF JWT BCP HOT 2
- Wrong error returned when verifying HOT 2
- NewEncrypter does not handles neither non-pointer JWKs as Recipient Keys, nor non-JWK HOT 1
- Setting about "Unprotected", "Header", "iv" HOT 2
- test environment breaking - TravisCI
- Validate claims with jwks file HOT 1
- Trivy scan reports vulnerabilities for v2.6.0 HOT 1
- square/go-jose: error in cryptographic primitive HOT 1
- Hope to keep the float type when the fractional part ends with '. 0' by using UnmarshalIntOrFloat HOT 1
- AutoRefreshing JWK ? HOT 1
- Unencoded Payload Option WithBase64 still encodes payload to base64 through MarshalJSON?
- x5t and x5t#S256 headers with padding breaking key unmarshalling
- Protected header in NewMultiEncrypter
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from go-jose.