Skip to content

Commit 68afb72

Browse files
committed
fix: offline envx
1 parent 59ca702 commit 68afb72

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/utils/magic_variables.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ async fn write_variables_magic(
6262
) -> anyhow::Result<()> {
6363
let stringified_kvpairs = kvpairs
6464
.iter()
65-
.map(|kv| kv.value.to_string())
65+
.map(|kv| kv.to_string())
6666
.collect::<Vec<String>>()
6767
.join("\n");
6868
let msg = encrypt_to_msg(&stringified_kvpairs, &[key.try_into()?])?;

src/utils/rpgp.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ pub fn encrypt_to_msg(
9494

9595
let new_msg = msg.encrypt_to_keys_seipdv1(
9696
&mut rng,
97-
crypto::sym::SymmetricKeyAlgorithm::AES128,
97+
crypto::sym::SymmetricKeyAlgorithm::AES256,
9898
&borrowed_keys,
9999
)?;
100100

0 commit comments

Comments
 (0)