Skip to content

Add keygen command.#9

Merged
bal-e merged 42 commits intomainfrom
keygen
Dec 2, 2024
Merged

Add keygen command.#9
bal-e merged 42 commits intomainfrom
keygen

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
@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.

// 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

@bal-e bal-e merged commit 617b623 into main Dec 2, 2024
@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