Comments (6)
This would be great! I'm trying to depend on this package and I get
ERROR: /private/var/tmp/_bazel_michaelboyd/434a1d89a09ded4ce4e377feb4b142e7/external/com_github_lestrrat_go_jwx/x25519/BUILD.bazel:3:11: GoCompilePkg external/com_github_lestrrat_go_jwx/x25519/x25519.a failed: (Exit 1): builder failed: error executing command (from target @com_github_lestrrat_go_jwx//x25519:x25519) bazel-out/darwin_arm64-opt-exec-2B5CBBC6/bin/external/go_sdk/builder_reset/builder compilepkg -sdk external/go_sdk -installsuffix darwin_arm64 -src external/com_github_lestrrat_go_jwx/x25519/x25519.go ... (remaining 36 arguments skipped)
Use --sandbox_debug to see verbose messages from the sandbox and retain the sandbox build root for debugging
external/com_github_lestrrat_go_jwx/x25519/x25519.go:87:28: undefined: curve25519.X25519
external/com_github_lestrrat_go_jwx/x25519/x25519.go:87:52: undefined: curve25519.Basepoint
compilepkg: error running subcommand external/go_sdk/pkg/tool/darwin_arm64/compile: exit status 2
Not 100% sure if it is a problem with this package though - might be something do do with golang/x/crypto.
from jwx.
@michaelboyd2 I know what that means. You (or me, somewhere in this package) are using an old version of Go. I forget which version exactly, but it needs to be updated to a recent version to get those symbols
from jwx.
Thanks, I was intending to be using 1.19.5 but perhaps I am making some mistake. I will investigate.
from jwx.
@michaelboyd2 FYI there's a half-baked version of bazel-ized jwx in the bazel branch. Please take a look if you are interested.
from jwx.
@lestrrat thanks I fixed my problem, I just had some deps in the wrong order - your comment helped.
I had a look at the bazel branch it worked well for me: build, test, gazelle. Looks good to me.
Maybe consider adding a .bazelversion? There are also things like https://blog.aspect.dev/bazelrc-presets, https://github.com/keith/buildifier-prebuilt and https://github.com/aspect-build/bazel-super-formatter that probably you don't need to bother with.
from jwx.
@michaelboyd2 thank you! I suppose .bazelversion
is a no-brainer. I'll look into the presets. The latter two I think I can wait until somebody who actually needs them comes along :)
from jwx.
Related Issues (20)
- Ability to get `err` status from CachedSet HOT 14
- Problem when adding JWK in JWT Headers HOT 4
- Per Token FlatAudience Option HOT 7
- go 1.19 `panic` due to missing EC key validation HOT 4
- Confusing error when processing JWT with trailing garbage. HOT 4
- The order of selecting correct key to verify signature HOT 2
- Cannot parse key claim as jwk.Key HOT 4
- [v3] Allow "parser" to be registered in internal/json.Registry (i.e. `RegisterCustomField`) HOT 2
- jwk.EncodePEM, jwk.DecodePEM not reciprocal for ECDSA private keys HOT 2
- Missing `alg` in Key(Set) HOT 3
- [v2] cannot "sign" JWT with "none" HOT 14
- Cannot remove typ header HOT 2
- JWT is not verified by JWKS if `alg` field is not present HOT 3
- jws.KeyProvider in relation to jws.Sign HOT 1
- jws.Sign does not support a custom signer with an algorithm that does not exist in allSignatureAlgorithms. HOT 7
- Expose Registering new JWK types HOT 10
- [v3] Errors getting swallowed by JWK cache HOT 3
- OpaqueKeyDecrypter for JWE HOT 11
- Provide a way to shutdown http cache fetcher to avoid go-routine leaks. HOT 10
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 jwx.