Skip to content
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

Mention the need to add the feature flag getrandom on README file #699

Open
viktaur opened this issue Sep 6, 2024 · 1 comment
Open

Comments

@viktaur
Copy link

viktaur commented Sep 6, 2024

Hi, I was following the instructions to get started with x25519-dalek and noticed that certain methods, such as EphemeralSecret::random, were unavailable. After some research, I found that the feature flag getrandom needs to be included to access them.

I think it could be helpful to mention this somewhere in the tutorial to avoid confusion among new users.

@tarcieri
Copy link
Contributor

tarcieri commented Sep 6, 2024

I assume you're talking about in the toplevel README.md here: https://github.com/dalek-cryptography/curve25519-dalek/tree/main/x25519-dalek#examples

Yeah, it should probably mention the getrandom feature (or maybe getrandom should be enabled by default)

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