You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Mar 27, 2024. It is now read-only.
The text was updated successfully, but these errors were encountered:
baha-ai
changed the title
Updated Go-Jose library to support Chacha20/Poly1035 encryptions/authentication
Update Go-Jose library to support Chacha20/Poly1035 encryptions/authentication
Jul 25, 2019
How do we plan to incorporate the modifications of go-jose into this project? Is a fork required or are we able to wrap the go-jose library and contain the modifications into this repository?
How do we plan to incorporate the modifications of go-jose into this project? Is a fork required or are we able to wrap the go-jose library and contain the modifications into this repository?
The changes in Go-Jose are intertwined within the framework, changes are done on a fork (and we can potentially submit a PR to merge the change but we will need the IETF draft to become part of the JWE standard to support the merge).
Hopefully I will push a PR soon to the fork to reflect these changes then we can discuss the action plan (keep the fork, submit a PR to Go-Jose or refactor further to wrap the code but that's unlikely).
baha-ai
changed the title
Update Go-Jose library to support Chacha20/Poly1035 encryptions/authentication
Create a new Package to support Chacha20/Poly1035 encryptions/authentication (in JWE format)
Aug 7, 2019
New update to this issue, forking Go-Jose is not suitable, we will instead build our own package that encrypts/decrypts JWE formatted messages using Chacha20/Poly1035 instead.
Standard JWE encryption/decryption operations does not support Chacha20 algorithm with Poly1035 authentication.
There are talks to update the JWE spec with this new addition. An IETF draft can be found here:
https://datatracker.ietf.org/doc/draft-amringer-jose-chacha/
The aim of this issue is to create a new package that will support this new JWE spec.
finally, for reference, Aries-rfc has an issue to update its spec using this new format:
decentralized-identity/aries-rfcs#133
A PHP example is found here:
https://github.com/gamringer/php-authcrypt
the task here is to follow the same format in Go
Part of #36
The text was updated successfully, but these errors were encountered: