Skip to content

Commit

Permalink
Decrypt AES_CBC_256 files with AES 128
Browse files Browse the repository at this point in the history
  • Loading branch information
alexrenz committed Nov 15, 2024
1 parent a7ec1a7 commit ea65e80
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/snowflake/kms.rs
Original file line number Diff line number Diff line change
Expand Up @@ -316,6 +316,7 @@ impl CryptoMaterialProvider for SnowflakeStageAzureKms {

let scheme = match encryption_data.encryption_agent.encryption_algorithm.as_str() {
"AES_CBC_128" => CryptoScheme::Aes128Cbc,
"AES_CBC_256" => CryptoScheme::Aes128Cbc, // TODO: discuss
v => unimplemented!("encryption algorithm `{}` not implemented", v)
};

Expand Down

0 comments on commit ea65e80

Please sign in to comment.