Skip to content

Commit 50e2275

Browse files
committed
copilot issues resolved
1 parent b75c8ac commit 50e2275

3 files changed

Lines changed: 4 additions & 4 deletions

File tree

minifi_rust/extensions/minifi_pgp/features/encrypt_decrypt.feature

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ Feature: Test PGP extension's encryption and decryption capabilities
1818

1919
Scenario: Encrypted for Alice but not for Bob
2020
Given log property "logger.minifi_pgp::processors::decrypt_content::DecryptContentPGP" is set to "TRACE,stderr"
21-
And log property "logger.minigi_pgp::processors::encrypt_content::EncryptContentPGP" is set to "TRACE,stderr"
21+
And log property "logger.minifi_pgp::processors::encrypt_content::EncryptContentPGP" is set to "TRACE,stderr"
2222

2323
And a GetFile processor with the "Input Directory" property set to "/tmp/input"
2424
And an EncryptContentPGP processor with a PGPPublicKeyService is set up

minifi_rust/extensions/minifi_pgp/src/processors/decrypt_content/output_attributes.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,11 @@ use minifi_native::OutputAttribute;
33
pub(crate) const LITERAL_DATA_FILENAME: OutputAttribute = OutputAttribute {
44
name: "pgp.literal.data.filename",
55
relationships: &["success"],
6-
description: "Filename from decrypted Literal Data (Note that OpenPGP signatures do not include the formatting octet, the file name, and the date field of the Literal Data packet in a signature hash; therefore, those fields are not protected against tampering in a signed document. Therefore a lot of implementation omit these inherently malleable metadata)",
6+
description: "Filename from decrypted Literal Data (Note that OpenPGP signatures do not include the formatting octet, the file name, and the date field of the Literal Data packet in a signature hash; therefore, those fields are not protected against tampering in a signed document. Therefore a lot of implementations omit these inherently malleable metadata)",
77
};
88

99
pub(crate) const LITERAL_DATA_MODIFIED: OutputAttribute = OutputAttribute {
1010
name: "pgp.literal.data.modified",
1111
relationships: &["success"],
12-
description: "Modified Date from decrypted Literal Data (Note that OpenPGP signatures do not include the formatting octet, the file name, and the date field of the Literal Data packet in a signature hash; therefore, those fields are not protected against tampering in a signed document. Therefore a lot of implementation omit these inherently malleable metadata)",
12+
description: "Modified Date from decrypted Literal Data (Note that OpenPGP signatures do not include the formatting octet, the file name, and the date field of the Literal Data packet in a signature hash; therefore, those fields are not protected against tampering in a signed document. Therefore a lot of implementations omit these inherently malleable metadata)",
1313
};

minifi_rust/extensions/minifi_pgp/src/processors/decrypt_content/tests.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ fn test_decryption(
108108
}
109109

110110
let decrypt_content = DecryptContentPGP::schedule(&processor_context, &MockLogger::new())
111-
.expect("Should schedule without any properties");
111+
.expect("Should schedule with the configured properties");
112112
let mut output: Vec<u8> = Vec::new();
113113
let mut flow_file_stream = std::io::Cursor::new(get_test_message(message_file_name));
114114
let res = decrypt_content

0 commit comments

Comments
 (0)