Comments (7)
We a looking for a way to implement more key types in the future, so simple fromSeed
would be confusing. fromEd25519SK
correctly describes what the method is actually doing. Is there any specific reason why you want this to be renamed back?
from js-client.
"seed" is a confusing word, overloaded with meanings. Also, it's not used in public-key cryptography, ed25519 algorithm, or other papers, AFAIK.
"seed" usually refers to PRNG's seed. But some cryptography libraries use it incorrectly to mean "private key". This just adds to the confusion, and we want to avoid that.
from js-client.
the string passed unto subject method is not ed25.. key, from that string i can produce any key. so that is randonmess, so that is seed.
from js-client.
I understand where you coming from. I've been confused by this a lot, too.
The thing is, any byte sequence of length 32 is a valid Ed25519 key. I find that VERY surprising and amusing, but that's what it is.
And that's the reason why we've renamed the method to fromEd25519SK
. fromSeed
was incorrect: it's not a seed (whatever that word should mean), it's a private key.
from js-client.
but i can create key not from 32 bytea, but less or more. so i type 100 byte string and get 33 byte key.
from js-client.
any key is produced from seeds, may that was api that hides that?
from js-client.
I understand where you coming from. I've been confused by this a lot, too.
The thing is, any byte sequence of length 32 is a valid Ed25519 key. I find that VERY surprising and amusing, but that's what it is.
And that's the reason why we've renamed the method to
fromEd25519SK
.fromSeed
was incorrect: it's not a seed (whatever that word should mean), it's a private key.
Thus, closing the issue
from js-client.
Related Issues (20)
- Error reporting: show particleId when Aqua function fails
- Logs: introduce network-monitoring logs to INFO level HOT 1
- Implement Signing Service HOT 1
- Support particle signatures
- Ephemeral networks HOT 1
- Add `debug stringify` service
- Crypric error when trying to use HOST_PEER_ID in non-connected peer HOT 1
- Show human-readable error if avmRunner scripts are not available HOT 1
- Show human-readable error if Node version if too low
- Move 'waiting for an argument ...' to DEBUG logs HOT 1
- Wait in Fluence.stop() for pending particles HOT 1
- Test for linear
- peer contact should work on while particle on client HOT 1
- Dependency Dashboard
- Add integration tests from `aqua-playground` to CI HOT 1
- Report errors when a new particle with incorrect air is initiated
- failures of particles should not look like hangs HOT 3
- allow for other keys than ed25... HOT 7
- Feature request: control configuration of the underlying libp2p connectivity layer HOT 7
- Do not call 'dialProtocol' on each 'sendParticle' 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 js-client.