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

Add keygen command. #9

Merged
merged 42 commits into from
Dec 2, 2024
Merged

Add keygen command. #9

merged 42 commits into from
Dec 2, 2024

Conversation

ximon18
Copy link
Member

@ximon18 ximon18 commented Oct 17, 2024

WIP.

@ximon18 ximon18 requested a review from a team October 17, 2024 15:09
@ximon18 ximon18 mentioned this pull request Oct 17, 2024
12 tasks
@bal-e bal-e self-assigned this Oct 29, 2024
@bal-e bal-e added enhancement New feature or request needs-review labels Oct 29, 2024
@bal-e bal-e marked this pull request as ready for review October 29, 2024 15:27
src/commands/keygen.rs Outdated Show resolved Hide resolved
src/commands/keygen.rs Outdated Show resolved Hide resolved
src/commands/keygen.rs Outdated Show resolved Hide resolved
@bal-e bal-e requested a review from tertsdiepraam November 21, 2024 15:30
Copy link
Contributor

@tertsdiepraam tertsdiepraam left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Well done! It's not super pretty, but it's about what you can expect for so much IO. I'd love to see this tested before we merge this.

Cargo.toml Outdated Show resolved Hide resolved
src/commands/keygen.rs Show resolved Hide resolved
src/commands/keygen.rs Outdated Show resolved Hide resolved
src/commands/keygen.rs Outdated Show resolved Hide resolved
src/commands/keygen.rs Outdated Show resolved Hide resolved
src/commands/keygen.rs Show resolved Hide resolved
src/commands/keygen.rs Outdated Show resolved Hide resolved
src/commands/keygen.rs Outdated Show resolved Hide resolved
src/commands/keygen.rs Outdated Show resolved Hide resolved
src/commands/keygen.rs Outdated Show resolved Hide resolved
src/commands/keygen.rs Outdated Show resolved Hide resolved
src/commands/keygen.rs Outdated Show resolved Hide resolved
src/commands/keygen.rs Outdated Show resolved Hide resolved
src/commands/keygen.rs Show resolved Hide resolved
src/env/mod.rs Outdated Show resolved Hide resolved
src/commands/keygen.rs Outdated Show resolved Hide resolved
src/commands/keygen.rs Outdated Show resolved Hide resolved
// TODO: Attempt repeated generation to avoid key tag collisions.
let (secret_key, public_key) = common::generate(params)
.map_err(|err| format!("an implementation error occurred: {err}").into())
.context("generating a cryptographic keypair")?;
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

See #37

src/commands/keygen.rs Show resolved Hide resolved
src/commands/mod.rs Show resolved Hide resolved
src/env/mod.rs Show resolved Hide resolved
src/util.rs Outdated Show resolved Hide resolved
src/commands/keygen.rs Outdated Show resolved Hide resolved
@bal-e bal-e merged commit 617b623 into main Dec 2, 2024
29 checks passed
@bal-e bal-e deleted the keygen branch December 2, 2024 10:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request needs-review
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants