keisentraut / age-keygen-deterministic Goto Github PK
View Code? Open in Web Editor NEWsimple Rust CLI tool to derive an age private key from passphrase
License: BSD 3-Clause "New" or "Revised" License
simple Rust CLI tool to derive an age private key from passphrase
License: BSD 3-Clause "New" or "Revised" License
I wanted to try today to see how it works.
I tried to dig through the completely unfriendly (for me, of course, at the beginning) Rust syntax and create an analogous program in Go. Each time I got different keys than expected, according to the "mod tests" code fragment.
For now, I've tried it on Windows 10. After many failed attempts, I assumed that I was not doing the Rust ==> Golang conversion correctly and checked it according to the description, that's probably where I should have started ;-)
Unfortunately, something must have changed recently, because it doesn't work anywhere today :-(
Z:\>age --version
v1.1.1
Z:\>age-keygen --version
v1.1.1
Z:\>echo AGE-SECRET-KEY-1VZ3CREDN87LLHYDVS6FK36EZEVWNZGGFFSWZDN7DL0J04WG723MQCZUS9Q | age-keygen -y
age-keygen: error: failed to parse input: error at line 1: malformed secret key: invalid character data part: s[58]=32
age-keygen: report unexpected or unhelpful errors at https://filippo.io/age/report
Z:\>
Of course, the result is identical for each key used, among those found by me in the main.rs file.
There is always a possibility that I am doing something wrong.
I would love to see how this idea/program/generator works.
Regards,
Jurek
Dear @keisentraut, Windows 7 x64 user here. Could you be so kind to generate .exe
for the rest of us who are ordinary users without compilers?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.