-
Notifications
You must be signed in to change notification settings - Fork 265
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
3081: [wip] feat: pass encryption key as base64 string r=sprutton1 a=sprutton1 Needs a bunch of clean up, but it works! ```bash ./buck-out/v2/gen/root/524f8da68ea2a374/bin/pinga/__pinga__/static_pic/pinga --cyclone-encryption-key-base64 $(cat lib/cyclone-server/src/dev.encryption.key | base64) -vvvv 2023-12-19T02:49:41.677935Z INFO ThreadId(61) telemetry_application: updated tracing levels to: "trace,pinga=trace,pinga_server=trace" 2023-12-19T02:49:41.679335Z TRACE ThreadId(02) config_file::layered_load: merging defaults config for defaults=SerdeSource { source: ConfigFile { pg: PgPoolConfig { user: "si", password: ..., dbname: "si", application_name: "si-unknown-app", hostname: "localhost", port: 5432, pool_max_size: 128, pool_timeout_wait_secs: None, pool_timeout_create_secs: None, pool_timeout_recycle_secs: None }, nats: NatsConfig { connection_name: None, creds: None, creds_file: None, subject_prefix: None, url: "localhost" }, crypto: CryptoConfig { encryption_key_base64: None, encryption_key_file: None }, concurrency_limit: 5, instance_id: "01HHZZN91FYRAR148C6YDVM4M5", symmetric_crypto_service: SymmetricCryptoServiceConfigFile { active_key: "/run/pinga/donkey.key", extra_keys: [] } } } ... si_crypto::cyclone::encryption_key: loading cyclone encryption key from base64 string vpq8omDdnI0Ar0KGLRRvXoYK+2sm6FjdiPdnAQGWt3I= ``` Co-authored-by: Scott Prutton <[email protected]>
- Loading branch information
Showing
13 changed files
with
140 additions
and
53 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,4 @@ | ||
pub(crate) mod config; | ||
pub(crate) mod decryption_key; | ||
pub(crate) mod encryption_key; | ||
pub(crate) mod key_pair; |
Oops, something went wrong.