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: change-compromised-key #20

Merged
merged 4 commits into from
Oct 15, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .blackbox/blackbox-files.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
secrets/active-road-365118-2eca6b7b8fd9.json
secrets/active-road-365118-0214022979ee.json
2 changes: 1 addition & 1 deletion .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -44,5 +44,5 @@ jobs:
env:
GCP_SERVICE_ACCOUNT: ${{ secrets.GCP_SERVICE_ACCOUNT }}
run: |
printenv GCP_SERVICE_ACCOUNT > secrets/active-road-365118-2eca6b7b8fd9.json
printenv GCP_SERVICE_ACCOUNT > secrets/active-road-365118-0214022979ee.json
just test
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,5 @@ target
/.blackbox/pubring.gpg~
/.blackbox/pubring.kbx~
/.blackbox/secring.gpg
active-road-365118-2eca6b7b8fd9.json
active-road-*.json
/secrets/active-road-365118-0214022979ee.json
2 changes: 1 addition & 1 deletion examples/simple.rs
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ async fn main() {

async fn run() -> Result<(), Error> {
let dir = env::var("CARGO_MANIFEST_DIR").unwrap_or_else(|_| ".".to_string());
let key_path = format!("{dir}/secrets/active-road-365118-2eca6b7b8fd9.json");
let key_path = format!("{dir}/secrets/active-road-365118-0214022979ee.json");
let pub_sub_client = PubSubClient::new(key_path, Duration::from_secs(30))?;

let messages = vec!["Hello", "from pub-sub-client"]
Expand Down
2 changes: 1 addition & 1 deletion examples/transform.rs
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ async fn main() {

async fn run() -> Result<(), Error> {
let dir = env::var("CARGO_MANIFEST_DIR").unwrap_or_else(|_| ".".to_string());
let key_path = format!("{dir}/secrets/active-road-365118-2eca6b7b8fd9.json");
let key_path = format!("{dir}/secrets/active-road-365118-0214022979ee.json");
let pub_sub_client = PubSubClient::new(key_path, Duration::from_secs(30))?;

let messages = vec!["Hello", "from pub-sub-client"]
Expand Down
Binary file added secrets/active-road-365118-0214022979ee.json.gpg
Binary file not shown.
Binary file removed secrets/active-road-365118-2eca6b7b8fd9.json.gpg
Binary file not shown.
2 changes: 1 addition & 1 deletion tests/integration_test.rs
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ async fn test() {
// locally the file must be decrypted.
env::set_var("PUB_SUB_BASE_URL", base_url);
let pub_sub_client = PubSubClient::new(
"secrets/active-road-365118-2eca6b7b8fd9.json",
"secrets/active-road-365118-0214022979ee.json",
Duration::from_secs(30),
);
env::set_var("PUB_SUB_BASE_URL", "");
Expand Down