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

keymanager/src/churp: Implement key derivation function #5699

Merged
merged 1 commit into from
May 28, 2024

Conversation

peternose
Copy link
Contributor

@peternose peternose commented May 21, 2024

Tool for deriving keys from a secret key produced by the key derivation center (a feature of churp).

let shared_secret; // x-coordinate of a point on a curve
let salt; // runtime ID || churp ID || key ID
let state_key = Kdf::state_key(shared_secret, salt);

Copy link

netlify bot commented May 21, 2024

Deploy Preview for oasisprotocol-oasis-core canceled.

Name Link
🔨 Latest commit 6403d5b
🔍 Latest deploy log https://app.netlify.com/sites/oasisprotocol-oasis-core/deploys/66558d1ba0987d0008b681fe

@peternose peternose force-pushed the peternose/feature/churp-kdf branch 2 times, most recently from a6ed9cc to b8bba1d Compare May 28, 2024 00:10
@peternose peternose marked this pull request as ready for review May 28, 2024 00:11
@peternose peternose assigned bennetyee and unassigned bennetyee May 28, 2024
@peternose peternose requested a review from bennetyee May 28, 2024 00:26
keymanager/src/churp/kdf.rs Outdated Show resolved Hide resolved
keymanager/src/churp/kdf.rs Outdated Show resolved Hide resolved
@peternose peternose force-pushed the peternose/feature/churp-kdf branch from b8bba1d to 447509f Compare May 28, 2024 07:12
@peternose peternose force-pushed the peternose/feature/churp-kdf branch from 447509f to 6403d5b Compare May 28, 2024 07:51
@peternose peternose merged commit 4499a35 into master May 28, 2024
5 checks passed
@peternose peternose deleted the peternose/feature/churp-kdf branch May 28, 2024 09:22
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.

3 participants