Skip to content

Switching to native spectre implementation #2

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
valpackett opened this issue Dec 26, 2022 · 4 comments
Open

Switching to native spectre implementation #2

valpackett opened this issue Dec 26, 2022 · 4 comments

Comments

@valpackett
Copy link

Hi! Ages ago I have implemented the algorithm natively in rust: https://crates.io/crates/rusterpassword would you be interested in getting rid of the C dependency and switching to it?

The crate uses libsodium_sys, but I'm looking into updating it to use the RustCrypto crates.

@toger5
Copy link
Owner

toger5 commented May 7, 2025

Just reading this now. That is super nice actually! I had a really hard time getting the bindings to c to work.

Looking into this it seems that rusterpassword is not supporting any serialization yet. Is that something you are planning to work on?

@valpackett
Copy link
Author

hm.. serialization of what exactly? There aren't any structures really, it's a basic algorithm that outputs one single password string…

@toger5
Copy link
Owner

toger5 commented May 8, 2025

Comapring it with the c lib for spectre password they do include a way to parse a .mpsites file and also store as json or .mpsites
In this app I am using those features.

@valpackett
Copy link
Author

oh, I've never even heard of those files lol.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants