Comments (9)
@L11r, never mind, you didn't sound wrong! I just wanted to improve your library.
It's ok if you need time, I'm not in a hurry; moreover, I can use my fork for now. Let me know if you need help with migrating to the new curves! I can offer you my assistance with python, go and maybe js code, unfortunately I'm still not familiar with rust, however.
from go.
Thanks for the update. Don't worry, the configuration is optional
from go.
Is the support for XChaCha20 planned? Fyi, there exists a statdard library for it (golang.org/x/crypto/chacha20poly1305
). Would be grateful for any info!
from go.
The problem is that the new crypto/ecdh
doesn't export important fields and methods anymore, unlike older crypto/elliptic
which we use right now (which in contrast cannot be used with ChaCha20). Probably it's mostly ok to use exported version filippo.io/nistec
, but I didn't try yet. Has a lot of work recently.
from go.
Indeed, I have found out that secp256k1
is not supported by crypto/ecdh
. However, I was able to use the older setup as-is with ChaCha20.
from go.
@L11r, honestly I don't really understand why the current solution shouldn't work with XChaCha20-Poly1305
as it uses exactly the same 256-bit key length. Instead of crypto/elliptic
, github.com/decred/dcrd/dcrec/secp256k1/v4
can be used, but why should it be used, since everything works as it is right now.
from go.
@pseusys your solution use ChaCha20
as encryption, but key exchange still done using secp256k1
. This issue is about moving to X25519
. Also implementation should be unified across other ECIES libraries for Rust, JS, Python, etc.
from go.
@L11r, yes, that's exactly what I have wrutten in my PR: my solution solves one of the two problems named in this issue title. As far as I understood, they are mostly independant.
Moreover, different types of symmetrical encryption are already available for the other languages.
from go.
@pseusys yes, sorry if I've sounded incorrect, you contribution is good! But I guess we need to merge and release complete solution and mark it as a new major version (e.g. v3). Let me see if something has been changed recently.
from go.
Related Issues (10)
- Known issues: compressed public key support now broken HOT 1
- Dependabot can't resolve your Go dependency files
- Import ecies keys from ecdsa keys HOT 6
- Testing ECIES interoperability HOT 32
- Is there a java version? HOT 4
- How to load a certificate file HOT 1
- checksum mismatch when go get HOT 2
- How to load key generate by openssl? HOT 3
- Random production of corrupt ciphertext
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.