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

Fix isomorphism between of_seed/of_string and awa_gen_key #40

Merged
merged 3 commits into from
Nov 25, 2021

Conversation

dinosaure
Copy link
Member

Redo this PR with X509.Private_key.of_string (which requires x509.0.15.2. This small patch brings an other type error in some way related to #36. However, we can merge it as is. I did not really test the isomorphism nor look deeper on X509.Private_key.of_string.

@dinosaure dinosaure requested a review from hannesm November 25, 2021 14:08
lib/keys.ml Outdated Show resolved Hide resolved
lib/keys.ml Outdated Show resolved Hide resolved
@hannesm
Copy link
Member

hannesm commented Nov 25, 2021

Thanks for your PR. I just pushed a commit to your branch, what do you think about the result? :) it attempts to modify less code, and have the same observational behaviour (not removing the log messages).

@dinosaure
Copy link
Member Author

Good for me 👍.

@hannesm hannesm merged commit 5afcb11 into mirage:main Nov 25, 2021
dinosaure added a commit to dinosaure/opam-repository that referenced this pull request Dec 14, 2021
CHANGES:

* use `eqaf` and hash to test the password (@dinosaure, @hannesm, mirage/awa-ssh#41)
* fix isomorphism between `of_seed`/`of_string` and `awa_gen_key` tool (@dinosaure, @hannesm, mirage/awa-ssh#40)
* provide `Keys.of_string` (@dinosaure, @hannesm, mirage/awa-ssh#37)
* conflict `awa` with `result < 1.5` (@hannesm, 1c3d2eb)
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

Successfully merging this pull request may close these issues.

2 participants