Comments (8)
Hi, I just pushed a revised version of ppc-0.16.20
to IBM/ring
that is actually based on 0.16
. The original version included some commits intended for a future version that should not have been there, hopefully this should address the issue. As it was a git history rewrite, you may need to force a clean rebuild to make sure it fetches the new version. Please let me know if you encounter any issues.
from jsonwebtoken.
It seems present in the fork? https://github.com/IBM/ring/blob/master/src/error.rs#L153 but not in the ppc branch: https://github.com/IBM/ring/blob/ppc-0.16.20/src/error.rs#L134
from jsonwebtoken.
Welp, unsure if this helps, but it builds if e.description_())
is replaced by ErrorKind::RsaFailedSigning
.
Note that this isn't a proper fix
We'll have to wait for a proper fix. I wonder what changed prior the introduction of e.description_())
.
from jsonwebtoken.
Looks like e.description_()
was added in 30571ca. Reverting it should probably make it work. Unsure of the impact if this commit was reverted.
from jsonwebtoken.
fyi: Richard and I both have ppc64le (power8) systems
from jsonwebtoken.
Hmm, thanks for pointing that out. I didn't look to see if it was present in the ppc branch. I locally added it in the ppc branch and it now builds fine. (We are building conduit)
(I did a quick "fix", so it's not a proper fix, but it works. I'll have to check that out then)
I only added this part
/// The value returned from <Self as std::error::Error>::description()
pub fn description_(&self) -> &'static str {
self.0
}
builds fine, but it's missing most of 30571ca.
Thanks for pointing that out!
LIBCLANG_PATH="/usr/lib/llvm/15/lib64/" cargo build --release
[...]
Compiling jsonwebtoken v8.3.0
[...]
Finished release [optimized] target(s) in 6m 29s
@Richard-Rogalski you can temporarily do this
from jsonwebtoken.
ugh, I'll make a PR to IBM/ring I guess.. thanks y'all <3
from jsonwebtoken.
Thank you so much! Just in time for my birthday!
from jsonwebtoken.
Related Issues (20)
- Support millisecond validation on `exp` of Claims HOT 2
- Implement Brainpool ciphers HOT 1
- EncodingKey to JWK HOT 4
- Changes for ACME support HOT 2
- Urlsafe base64 hmac keys HOT 2
- Misleading function name `DecodingKey::from_ed_der`. HOT 8
- Support Extra Key/Value Pairs in the Header HOT 3
- Add support for negative leeway values HOT 8
- How to customize the Header field HOT 3
- `validate_exp` should also reject tokens that contain a `exp` field but that can not be parsed
- src/pem as a separate crate? HOT 1
- Invalid signature HOT 1
- InvalidKeyFomat when using private.pem file
- Create Dummy Instances of Error HOT 2
- 大佬看下,生成的token,我定了30秒有效期,超过了30秒怎么还能解码呢, HOT 6
- Question: expected audience in validation but not encoded in the JWT seems a valid option HOT 6
- Feature Request: encryption of jsonwebtoken HOT 1
- Support algorithm: `none` HOT 1
- Validation: `required_spec_claims` HashSet should use a non-allocating value type. HOT 1
- Validation: Allow validation of custom claims HOT 1
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 jsonwebtoken.