Closed xiaoyijun closed 3 months ago
Since the go-jose dependency from https://github.com/square/go-jose is now deprecated, update jose to https://github.com/go-jose/go-jose according to the square/go-jose's official advice.
square/go-jose
This PR also replaces math/rand with crypto/rand, since it's now depreacted, and it will casue the CI to fail:
math/rand
crypto/rand
Test locally and all UT passed.
- [ ] .changeset - [ ] unit tests - [ ] integration tests - [ ] necessary TSDoc comments
.changeset
Summary
Since the go-jose dependency from https://github.com/square/go-jose is now deprecated, update jose to https://github.com/go-jose/go-jose according to the
square/go-jose
's official advice.This PR also replaces
math/rand
withcrypto/rand
, since it's now depreacted, and it will casue the CI to fail:Testing
Test locally and all UT passed.
Checklist
- [ ].changeset
- [ ] unit tests- [ ] integration tests- [ ] necessary TSDoc comments