Changeset View
Changeset View
Standalone View
Standalone View
shared/comm-opaque/src/constants.rs
- This file was added.
// Secrets | |||||
pub const SECRETS_DIRECTORY: &str = "secrets"; | |||||
pub const SECRETS_FILE_NAME: &str = "secret_key"; | |||||
pub const SECRETS_FILE_EXTENSION: &str = "txt"; | |||||
jon: This won't be necessary if we move to `opaque_ke` 2.0 | |||||
varunUnsubmitted Done Inline Actionswe would still need this. we'd be persisting the whole ServerSetup instance rather than just the keypair varun: we would still need this. we'd be persisting the whole `ServerSetup` instance rather than just… | |||||
jonAuthorUnsubmitted Done Inline ActionsFair enough, either way I would to simplify this logic and make it more of a "if missing, make it, then load it". Instead of having a identity generate step needed before launching the server jon: Fair enough, either way I would to simplify this logic and make it more of a "if missing, make… | |||||
varunUnsubmitted Done Inline Actionsi don't think this is a good idea. we should only be doing the opaque server setup once ever in production, which is why it's a separate subcommand and not part of cargo run server varun: i don't think this is a good idea. we should only be doing the opaque server setup once ever in… |
This won't be necessary if we move to opaque_ke 2.0