Browse Source

Committing to merge

master
Krista Bennett 4 months ago
parent
commit
bbfc9f3392
39 changed files with 5882 additions and 2175 deletions
  1. +43
    -33
      src/message_api.c
  2. +533
    -12
      test/src/DefaultFromEmailTest.cc
  3. +2
    -2
      test/src/TestUtilities.cc
  4. +106
    -0
      test/test_keys/priv/pep-test-bob-0x9667F61D_priv.asc
  5. +106
    -0
      test/test_keys/priv/sylvia-0x2E5A78A9_priv.asc
  6. +52
    -0
      test/test_keys/pub/pep-test-bob-0x9667F61D_pub.asc
  7. +52
    -0
      test/test_keys/pub/sylvia-0x2E5A78A9_pub.asc
  8. +61
    -37
      test/test_mails/CanonicalFrom2.2BobToAliceUnencrypted_TwoKeys.eml
  9. +108
    -0
      test/test_mails/CanonicalFrom2.2BobToAlice_1_0_ModifiedVersion.eml
  10. +50
    -0
      test/test_mails/CanonicalFrom2.2BobToAlice_1_0_NoKey_ModifiedVersion.eml
  11. +49
    -0
      test/test_mails/CanonicalFrom2.2BobToAlice_1_0_NoKey_no_pEp.eml
  12. +184
    -145
      test/test_mails/CanonicalFrom2.2BobToAlice_1_0_TwoKeys.eml
  13. +202
    -0
      test/test_mails/CanonicalFrom2.2BobToAlice_1_0_TwoKeys_ModifiedVersion.eml
  14. +201
    -0
      test/test_mails/CanonicalFrom2.2BobToAlice_1_0_TwoKeys_no_pEp.eml
  15. +107
    -0
      test/test_mails/CanonicalFrom2.2BobToAlice_1_0_no_pEp.eml
  16. +108
    -0
      test/test_mails/CanonicalFrom2.2BobToAlice_1_0_wrong_key_filename_ModifiedVersion.eml
  17. +107
    -0
      test/test_mails/CanonicalFrom2.2BobToAlice_1_0_wrong_key_filename_no_pEp.eml
  18. +107
    -0
      test/test_mails/CanonicalFrom2.2BobToAlice_1_0_wrong_sender_key_attached_ModifiedVersion.eml
  19. +106
    -0
      test/test_mails/CanonicalFrom2.2BobToAlice_1_0_wrong_sender_key_attached_no_pEp.eml
  20. +200
    -161
      test/test_mails/CanonicalFrom2.2BobToAlice_2_0_TwoKeys.eml
  21. +205
    -165
      test/test_mails/CanonicalFrom2.2BobToAlice_2_1_TwoKeys.eml
  22. +205
    -165
      test/test_mails/CanonicalFrom2.2BobToAlice_2_2_TwoKeys.eml
  23. +184
    -145
      test/test_mails/CanonicalFrom2.2BobToAlice_OpenPGP_TwoKeys.eml
  24. +61
    -62
      test/test_mails/CanonicalFrom2.2SylviaToAliceUnencrypted_TwoKeys.eml
  25. +160
    -0
      test/test_mails/CanonicalFrom2.2SylviaToAlice_1_0_Modified_Version.eml
  26. +61
    -0
      test/test_mails/CanonicalFrom2.2SylviaToAlice_1_0_NoKey_Modified_Version.eml
  27. +60
    -0
      test/test_mails/CanonicalFrom2.2SylviaToAlice_1_0_NoKey_no_pEp.eml
  28. +237
    -238
      test/test_mails/CanonicalFrom2.2SylviaToAlice_1_0_TwoKeys.eml
  29. +255
    -0
      test/test_mails/CanonicalFrom2.2SylviaToAlice_1_0_TwoKeys_Modified_Version.eml
  30. +255
    -0
      test/test_mails/CanonicalFrom2.2SylviaToAlice_1_0_TwoKeys_no_pEp.eml
  31. +159
    -0
      test/test_mails/CanonicalFrom2.2SylviaToAlice_1_0_no_pEp.eml
  32. +160
    -0
      test/test_mails/CanonicalFrom2.2SylviaToAlice_1_0_wrong_key_filename_Modified_Version.eml
  33. +159
    -0
      test/test_mails/CanonicalFrom2.2SylviaToAlice_1_0_wrong_key_filename_no_pEp.eml
  34. +118
    -0
      test/test_mails/CanonicalFrom2.2SylviaToAlice_1_0_wrong_sender_key_attached_Modified_Version.eml
  35. +117
    -0
      test/test_mails/CanonicalFrom2.2SylviaToAlice_1_0_wrong_sender_key_attached_no_pEp.eml
  36. +252
    -254
      test/test_mails/CanonicalFrom2.2SylviaToAlice_2_0_TwoKeys.eml
  37. +257
    -259
      test/test_mails/CanonicalFrom2.2SylviaToAlice_2_1_TwoKeys.eml
  38. +257
    -259
      test/test_mails/CanonicalFrom2.2SylviaToAlice_2_2_TwoKeys.eml
  39. +236
    -238
      test/test_mails/CanonicalFrom2.2SylviaToAlice_OpenPGP_TwoKeys.eml

+ 43
- 33
src/message_api.c View File

@ -5331,47 +5331,57 @@ static PEP_STATUS _decrypt_message(
&_changed_keys,
&imported_sender_key_fpr);
if (src->from && !is_me(session, src->from)) {
if (status == PEP_STATUS_OK && !has_inner) {
// If we're claiming to have a pEp version 2.2 or greater, we only take it
// if it had the right name during the import and if it was the ONLY key on the message?
//
// FIXME: From SENDER >= 2.2, we should be VERY careful here -- check back on this one
//
const char* sender_key = NULL;
if ((major_ver == 2 && minor_ver > 1) || major_ver > 2) {
if (imported_sender_key_fpr)
sender_key = imported_sender_key_fpr;
if (src->from) {
if (!is_me(session, src->from)) {
/* if decrypted, but not verified... */
if (status == PEP_STATUS_OK && decrypt_status == PEP_DECRYPTED) {
if (src->from)
status = verify_decrypted(session,
src, msg,
ptext, psize,
&_keylist,
&decrypt_status,
crypto);
}
else if (header_key_imported && _imported_key_list)
sender_key = _imported_key_list->value;
else if (*start && !((*start)->next))
sender_key = (*start)->value; // signer if sent from < 2.1
if (status == PEP_STATUS_OK && !has_inner) {
// If we're claiming to have a pEp version 2.2 or greater, we only take it
// if it had the right name during the import and if it was the ONLY key on the message?
//
// FIXME: From SENDER >= 2.2, we should be VERY careful here -- check back on this one
//
const char *sender_key = NULL;
// FIXME: No, not possible. Has to come from INNER message.
if ((major_ver == 2 && minor_ver > 1) || major_ver > 2) {
if (imported_sender_key_fpr)
sender_key = imported_sender_key_fpr;
}
else if (header_key_imported && _imported_key_list) {
sender_key = _imported_key_list->value;
}
else if (*start && !((*start)->next)) {
if (decrypt_status == PEP_DECRYPTED_AND_VERIFIED) {
if (_keylist && !EMPTYSTR(_keylist->value) && *start && !EMPTYSTR((*start)->value)) {
sender_key = (*start)->value; // signer if sent from < 2.1
}
}
}
status = _check_and_set_default_key(session, src->from, sender_key);
free(imported_sender_key_fpr);
imported_sender_key_fpr = NULL;
if (status == PEP_OUT_OF_MEMORY)
goto enomem;
}
} // else, it needs to get set from INNER keys.
status = _check_and_set_default_key(session, src->from, sender_key);
free(imported_sender_key_fpr);
imported_sender_key_fpr = NULL;
if (status == PEP_OUT_OF_MEMORY)
goto enomem;
} // else, it needs to get set from INNER keys.
}
}
if (status != PEP_STATUS_OK)
goto pEp_error;
/* if decrypted, but not verified... */
if (decrypt_status == PEP_DECRYPTED) {
if (src->from)
status = verify_decrypted(session,
src, msg,
ptext, psize,
&_keylist,
&decrypt_status,
crypto);
}
break;
case PEP_enc_inline:


+ 533
- 12
test/src/DefaultFromEmailTest.cc View File

@ -858,10 +858,10 @@ TEST_F(DefaultFromEmailTest, check_unencrypted_key_import_bob) {
// B. Test failures
// Failure case 1) No key attached
TEST_F(DefaultFromEmailTest, check_unencrypted_key_import_carol_no_key) {
TEST_F(DefaultFromEmailTest, check_unencrypted_key_import_bob_no_pep_no_key) {
}
TEST_F(DefaultFromEmailTest, check_unencrypted_key_import_john_no_key) {
TEST_F(DefaultFromEmailTest, check_unencrypted_key_import_sylvia_no_pep_no_key) {
}
TEST_F(DefaultFromEmailTest, check_unencrypted_key_import_sylvia_no_key) {
@ -944,10 +944,84 @@ TEST_F(DefaultFromEmailTest, check_unencrypted_key_import_bob_no_key) {
// A. Test successful cases
TEST_F(DefaultFromEmailTest, check_encrypted_key_import_carol) {
// Bob is a known OpenPGP partner - we use the "wrong filename" version because OpenPGP doesn't use our conventions
TEST_F(DefaultFromEmailTest, check_encrypted_key_import_bob_no_pep) {
pEp_identity* alice = TestUtilsPreset::generateAndSetPrivateIdentity(session, TestUtilsPreset::ALICE);
const TestUtilsPreset::IdentityInfo& sender_info = TestUtilsPreset::presets[TestUtilsPreset::BOB];
// We need recip to exist in DB without a known key.
pEp_identity* recip = new_identity(sender_info.email, NULL, sender_info.user_id, sender_info.name);
PEP_STATUS status = set_identity(session, recip);
ASSERT_OK;
// Make sure identity exists
free_identity(recip);
recip = NULL;
status = get_identity(session, sender_info.email, sender_info.user_id, &recip);
ASSERT_OK;
free_identity(recip);
recip = NULL;
// And *not* in TOFU form
string TOFU = string("TOFU_") + sender_info.email;
status = get_identity(session, sender_info.email, TOFU.c_str(), &recip);
ASSERT_EQ(status, PEP_CANNOT_FIND_IDENTITY);
// Ok, we now the desired state. Run the import mail fun.
const char* filename = "test_mails/CanonicalFrom2.2BobToAlice_1_0_wrong_key_filename_no_pEp.eml";
message* infile = NULL;
status = vanilla_read_file_and_decrypt(session, &infile, filename);
ASSERT_OK;
// Ensure we now have a default key for recip - NOTE: IF THE NAME IS NULL OR DOES NOT MATCH THE TOFU INPUT NAME,
// WE WILL GET NO KEY. THIS IS APPARENTLY BY DESIGN.
//
// I did ask. Often. ;)
recip = new_identity(sender_info.email, NULL, sender_info.user_id, sender_info.name);
ASSERT_NOTNULL(recip);
status = update_identity(session, recip);
ASSERT_NOTNULL(recip->fpr);
ASSERT_STREQ(recip->fpr, sender_info.fpr);
ASSERT_EQ(recip->comm_type, PEP_ct_OpenPGP_unconfirmed);
free_message(infile);
free_identity(alice);
free_identity(recip);
}
TEST_F(DefaultFromEmailTest, check_encrypted_key_import_john) {
// Sylvia is an unknown OpenPGP partner
TEST_F(DefaultFromEmailTest, check_encrypted_key_import_sylvia_no_pep) {
pEp_identity* alice = TestUtilsPreset::generateAndSetPrivateIdentity(session, TestUtilsPreset::ALICE);
const TestUtilsPreset::IdentityInfo& sender_info = TestUtilsPreset::presets[TestUtilsPreset::SYLVIA];
pEp_identity* recip = NULL;
// Make sure identity doesn't exist - do NOT use update_identity, which will create it in the DB
PEP_STATUS status = get_identity(session, sender_info.email, sender_info.user_id, &recip);
ASSERT_EQ(status, PEP_CANNOT_FIND_IDENTITY);
// And also not in TOFU form
string TOFU = string("TOFU_") + sender_info.email;
status = get_identity(session, sender_info.email, TOFU.c_str(), &recip);
ASSERT_EQ(status, PEP_CANNOT_FIND_IDENTITY);
// Ok, we now have a blank slate. Run the import mail fun.
const char* filename = "test_mails/CanonicalFrom2.2SylviaToAlice_1_0_wrong_key_filename_no_pEp.eml";
message* infile = NULL;
status = vanilla_read_file_and_decrypt(session, &infile, filename);
ASSERT_OK;
// Ensure we now have a default key for recip - NOTE: IF THE NAME IS NULL OR DOES NOT MATCH THE TOFU INPUT NAME,
// WE WILL GET NO KEY. THIS IS APPARENTLY BY DESIGN.
//
// I did ask. Often. ;)
recip = new_identity(sender_info.email, NULL, sender_info.user_id, sender_info.name);
ASSERT_NOTNULL(recip);
status = update_identity(session, recip);
ASSERT_NOTNULL(recip->fpr);
ASSERT_STREQ(recip->fpr, sender_info.fpr);
ASSERT_EQ(recip->comm_type, PEP_ct_OpenPGP_unconfirmed);
free_message(infile);
free_identity(alice);
free_identity(recip);
}
TEST_F(DefaultFromEmailTest, check_encrypted_key_import_sylvia_2_2) {
@ -1184,6 +1258,7 @@ TEST_F(DefaultFromEmailTest, check_encrypted_key_import_bob_2_0) {
free_identity(recip);
}
// We use the "wrong" filename version on purpose to ensure we aren't relying on 2.2 changes
TEST_F(DefaultFromEmailTest, check_encrypted_key_import_sylvia_1_0) {
pEp_identity* alice = TestUtilsPreset::generateAndSetPrivateIdentity(session, TestUtilsPreset::ALICE);
const TestUtilsPreset::IdentityInfo& sender_info = TestUtilsPreset::presets[TestUtilsPreset::SYLVIA];
@ -1198,7 +1273,7 @@ TEST_F(DefaultFromEmailTest, check_encrypted_key_import_sylvia_1_0) {
ASSERT_EQ(status, PEP_CANNOT_FIND_IDENTITY);
// Ok, we now have a blank slate. Run the import mail fun.
const char* filename = "test_mails/CanonicalFrom2.2SylviaToAlice_1_0.eml";
const char* filename = "test_mails/CanonicalFrom2.2SylviaToAlice_1_0_wrong_key_filename_ModifiedVersion.eml";
message* infile = NULL;
status = vanilla_read_file_and_decrypt(session, &infile, filename);
ASSERT_OK;
@ -1219,6 +1294,7 @@ TEST_F(DefaultFromEmailTest, check_encrypted_key_import_sylvia_1_0) {
free_identity(recip);
}
// We use the "wrong" filename version on purpose to ensure we aren't relying on 2.2 changes
TEST_F(DefaultFromEmailTest, check_encrypted_key_import_bob_1_0) {
pEp_identity* alice = TestUtilsPreset::generateAndSetPrivateIdentity(session, TestUtilsPreset::ALICE);
const TestUtilsPreset::IdentityInfo& sender_info = TestUtilsPreset::presets[TestUtilsPreset::BOB];
@ -1241,7 +1317,7 @@ TEST_F(DefaultFromEmailTest, check_encrypted_key_import_bob_1_0) {
ASSERT_EQ(status, PEP_CANNOT_FIND_IDENTITY);
// Ok, we now the desired state. Run the import mail fun.
const char* filename = "test_mails/CanonicalFrom2.2BobToAlice_1_0.eml";
const char* filename = "test_mails/CanonicalFrom2.2BobToAlice_1_0_wrong_key_filename_ModifiedVersion.eml";
message* infile = NULL;
status = vanilla_read_file_and_decrypt(session, &infile, filename);
ASSERT_OK;
@ -1262,14 +1338,88 @@ TEST_F(DefaultFromEmailTest, check_encrypted_key_import_bob_1_0) {
free_identity(recip);
}
// B. Test failures
// Failure case 1) No key attached
TEST_F(DefaultFromEmailTest, check_encrypted_key_import_carol_no_key) {
TEST_F(DefaultFromEmailTest, check_encrypted_key_import_sylvia_no_pep_no_key) {
pEp_identity* alice = TestUtilsPreset::generateAndSetPrivateIdentity(session, TestUtilsPreset::ALICE);
const TestUtilsPreset::IdentityInfo& sender_info = TestUtilsPreset::presets[TestUtilsPreset::SYLVIA];
pEp_identity* recip = NULL;
// Make sure identity doesn't exist - do NOT use update_identity, which will create it in the DB
PEP_STATUS status = get_identity(session, sender_info.email, sender_info.user_id, &recip);
ASSERT_EQ(status, PEP_CANNOT_FIND_IDENTITY);
// And also not in TOFU form
string TOFU = string("TOFU_") + sender_info.email;
status = get_identity(session, sender_info.email, TOFU.c_str(), &recip);
ASSERT_EQ(status, PEP_CANNOT_FIND_IDENTITY);
// Ok, we now have a blank slate. Run the import mail fun.
const char* filename = "test_mails/CanonicalFrom2.2SylviaToAlice_1_0_NoKey_no_pEp.eml";
message* infile = NULL;
PEP_rating rating = PEP_rating_undefined;
status = vanilla_read_file_and_decrypt_with_rating(session, &infile, filename, &rating);
ASSERT_EQ(status, PEP_DECRYPTED);
ASSERT_EQ(rating, PEP_rating_unreliable);
// Ensure we now have a default key for recip - NOTE: IF THE NAME IS NULL OR DOES NOT MATCH THE TOFU INPUT NAME,
// WE WILL GET NO KEY. THIS IS APPARENTLY BY DESIGN.
//
// I did ask. Often. ;)
recip = new_identity(sender_info.email, NULL, sender_info.user_id, sender_info.name);
ASSERT_NOTNULL(recip);
status = update_identity(session, recip);
ASSERT_NULL(recip->fpr);
ASSERT_EQ(recip->comm_type, PEP_ct_key_not_found);
free_message(infile);
free_identity(alice);
free_identity(recip);
}
TEST_F(DefaultFromEmailTest, check_encrypted_key_import_john_no_key) {
TEST_F(DefaultFromEmailTest, check_encrypted_key_import_bob_no_pep_no_key) {
pEp_identity* alice = TestUtilsPreset::generateAndSetPrivateIdentity(session, TestUtilsPreset::ALICE);
const TestUtilsPreset::IdentityInfo& sender_info = TestUtilsPreset::presets[TestUtilsPreset::BOB];
// We need recip to exist in DB without a known key.
pEp_identity* recip = new_identity(sender_info.email, NULL, sender_info.user_id, sender_info.name);
PEP_STATUS status = set_identity(session, recip);
ASSERT_OK;
// Make sure identity exists
free_identity(recip);
recip = NULL;
status = get_identity(session, sender_info.email, sender_info.user_id, &recip);
ASSERT_OK;
free_identity(recip);
recip = NULL;
// And *not* in TOFU form
string TOFU = string("TOFU_") + sender_info.email;
status = get_identity(session, sender_info.email, TOFU.c_str(), &recip);
ASSERT_EQ(status, PEP_CANNOT_FIND_IDENTITY);
// Ok, we now the desired state. Run the import mail fun.
const char* filename = "test_mails/CanonicalFrom2.2BobToAlice_1_0_NoKey_no_pEp.eml";
message* infile = NULL;
PEP_rating rating = PEP_rating_undefined;
status = vanilla_read_file_and_decrypt_with_rating(session, &infile, filename, &rating);
ASSERT_EQ(status, PEP_DECRYPTED);
ASSERT_EQ(rating, PEP_rating_unreliable);
// Ensure we now have a default key for recip - NOTE: IF THE NAME IS NULL OR DOES NOT MATCH THE TOFU INPUT NAME,
// WE WILL GET NO KEY. THIS IS APPARENTLY BY DESIGN.
//
// I did ask. Often. ;)
recip = new_identity(sender_info.email, NULL, sender_info.user_id, sender_info.name);
ASSERT_NOTNULL(recip);
status = update_identity(session, recip);
ASSERT_NULL(recip->fpr);
ASSERT_EQ(recip->comm_type, PEP_ct_key_not_found);
free_message(infile);
free_identity(alice);
free_identity(recip);
}
TEST_F(DefaultFromEmailTest, check_encrypted_key_import_sylvia_2_2_no_key) {
@ -1593,10 +1743,51 @@ TEST_F(DefaultFromEmailTest, check_encrypted_key_import_bob_1_0_no_key) {
}
// Failure case 2) Wrong key attached
TEST_F(DefaultFromEmailTest, check_encrypted_key_import_carol_wrong_sender_key_attached) {
TEST_F(DefaultFromEmailTest, check_encrypted_key_import_bob_no_pep_wrong_sender_key_attached) {
pEp_identity* alice = TestUtilsPreset::generateAndSetPrivateIdentity(session, TestUtilsPreset::ALICE);
const TestUtilsPreset::IdentityInfo& sender_info = TestUtilsPreset::presets[TestUtilsPreset::BOB];
// We need recip to exist in DB without a known key.
pEp_identity* recip = new_identity(sender_info.email, NULL, sender_info.user_id, sender_info.name);
PEP_STATUS status = set_identity(session, recip);
ASSERT_OK;
// Make sure identity exists
free_identity(recip);
recip = NULL;
status = get_identity(session, sender_info.email, sender_info.user_id, &recip);
ASSERT_OK;
free_identity(recip);
recip = NULL;
// And *not* in TOFU form
string TOFU = string("TOFU_") + sender_info.email;
status = get_identity(session, sender_info.email, TOFU.c_str(), &recip);
ASSERT_EQ(status, PEP_CANNOT_FIND_IDENTITY);
// Ok, we now the desired state. Run the import mail fun.
const char* filename = "test_mails/CanonicalFrom2.2BobToAlice_1_0_wrong_sender_key_attached_no_pEp.eml";
message* infile = NULL;
PEP_rating rating = PEP_rating_undefined;
status = vanilla_read_file_and_decrypt_with_rating(session, &infile, filename, &rating);
ASSERT_EQ(status, PEP_DECRYPTED);
ASSERT_EQ(rating, PEP_rating_unreliable);
// Ensure we now have a default key for recip - NOTE: IF THE NAME IS NULL OR DOES NOT MATCH THE TOFU INPUT NAME,
// WE WILL GET NO KEY. THIS IS APPARENTLY BY DESIGN.
//
// I did ask. Often. ;)
recip = new_identity(sender_info.email, NULL, sender_info.user_id, sender_info.name);
ASSERT_NOTNULL(recip);
status = update_identity(session, recip);
ASSERT_NULL(recip->fpr);
ASSERT_EQ(recip->comm_type, PEP_ct_key_not_found);
free_message(infile);
free_identity(alice);
free_identity(recip);
}
TEST_F(DefaultFromEmailTest, check_encrypted_key_import_john_wrong_sender_key_attached) {
TEST_F(DefaultFromEmailTest, check_encrypted_key_import_sylvia_no_pep_wrong_sender_key_attached) {
}
TEST_F(DefaultFromEmailTest, check_encrypted_key_import_sylvia_2_2_wrong_sender_key_attached) {
@ -2088,4 +2279,334 @@ TEST_F(DefaultFromEmailTest, check_encrypted_key_import_bob_2_0_wrong_keyfilenam
free_identity(recip);
}
// Note: 1.0 only looks at the number of keys attached, so there's no concept of "wrong sender key"
// Note: 1.0 only looks at the number of keys attached, so there's no concept of "wrong sender key"
// C. Cases which may fail or succeed based on source
// Two keys attached
TEST_F(DefaultFromEmailTest, check_encrypted_key_import_carol_two_keys) {
}
TEST_F(DefaultFromEmailTest, check_encrypted_key_import_john_two_keys) {
}
TEST_F(DefaultFromEmailTest, check_encrypted_key_import_sylvia_2_2_two_keys) {
pEp_identity* alice = TestUtilsPreset::generateAndSetPrivateIdentity(session, TestUtilsPreset::ALICE);
const TestUtilsPreset::IdentityInfo& sender_info = TestUtilsPreset::presets[TestUtilsPreset::SYLVIA];
pEp_identity* recip = NULL;
// Make sure identity doesn't exist - do NOT use update_identity, which will create it in the DB
PEP_STATUS status = get_identity(session, sender_info.email, sender_info.user_id, &recip);
ASSERT_EQ(status, PEP_CANNOT_FIND_IDENTITY);
// And also not in TOFU form
string TOFU = string("TOFU_") + sender_info.email;
status = get_identity(session, sender_info.email, TOFU.c_str(), &recip);
ASSERT_EQ(status, PEP_CANNOT_FIND_IDENTITY);
// Ok, we now have a blank slate. Run the import mail fun.
const char* filename = "test_mails/CanonicalFrom2.2SylviaToAlice_2_2_TwoKeys.eml";
message* infile = NULL;
status = vanilla_read_file_and_decrypt(session, &infile, filename);
ASSERT_OK;
// Ensure we now have a default key for recip - NOTE: IF THE NAME IS NULL OR DOES NOT MATCH THE TOFU INPUT NAME,
// WE WILL GET NO KEY. THIS IS APPARENTLY BY DESIGN.
//
// I did ask. Often. ;)
recip = new_identity(sender_info.email, NULL, sender_info.user_id, sender_info.name);
ASSERT_NOTNULL(recip);
status = update_identity(session, recip);
ASSERT_NOTNULL(recip->fpr);
ASSERT_STREQ(recip->fpr, sender_info.fpr);
ASSERT_EQ(recip->comm_type, PEP_ct_pEp_unconfirmed);
free_message(infile);
free_identity(alice);
free_identity(recip);
}
TEST_F(DefaultFromEmailTest, check_encrypted_key_import_bob_2_2_two_keys) {
pEp_identity* alice = TestUtilsPreset::generateAndSetPrivateIdentity(session, TestUtilsPreset::ALICE);
const TestUtilsPreset::IdentityInfo& sender_info = TestUtilsPreset::presets[TestUtilsPreset::BOB];
// We need recip to exist in DB without a known key.
pEp_identity* recip = new_identity(sender_info.email, NULL, sender_info.user_id, sender_info.name);
PEP_STATUS status = set_identity(session, recip);
ASSERT_OK;
// Make sure identity exists
free_identity(recip);
recip = NULL;
status = get_identity(session, sender_info.email, sender_info.user_id, &recip);
ASSERT_OK;
free_identity(recip);
recip = NULL;
// And *not* in TOFU form
string TOFU = string("TOFU_") + sender_info.email;
status = get_identity(session, sender_info.email, TOFU.c_str(), &recip);
ASSERT_EQ(status, PEP_CANNOT_FIND_IDENTITY);
// Ok, we now the desired state. Run the import mail fun.
const char* filename = "test_mails/CanonicalFrom2.2BobToAlice_2_2_TwoKeys.eml";
message* infile = NULL;
status = vanilla_read_file_and_decrypt(session, &infile, filename);
ASSERT_OK;
// Ensure we now have a default key for recip - NOTE: IF THE NAME IS NULL OR DOES NOT MATCH THE TOFU INPUT NAME,
// WE WILL GET NO KEY. THIS IS APPARENTLY BY DESIGN.
//
// I did ask. Often. ;)
recip = new_identity(sender_info.email, NULL, sender_info.user_id, sender_info.name);
ASSERT_NOTNULL(recip);
status = update_identity(session, recip);
ASSERT_NOTNULL(recip->fpr);
ASSERT_STREQ(recip->fpr, sender_info.fpr);
ASSERT_EQ(recip->comm_type, PEP_ct_pEp_unconfirmed);
free_message(infile);
free_identity(alice);
free_identity(recip);
}
TEST_F(DefaultFromEmailTest, check_encrypted_key_import_sylvia_2_1_two_keys) {
pEp_identity* alice = TestUtilsPreset::generateAndSetPrivateIdentity(session, TestUtilsPreset::ALICE);
const TestUtilsPreset::IdentityInfo& sender_info = TestUtilsPreset::presets[TestUtilsPreset::SYLVIA];
pEp_identity* recip = NULL;
// Make sure identity doesn't exist - do NOT use update_identity, which will create it in the DB
PEP_STATUS status = get_identity(session, sender_info.email, sender_info.user_id, &recip);
ASSERT_EQ(status, PEP_CANNOT_FIND_IDENTITY);
// And also not in TOFU form
string TOFU = string("TOFU_") + sender_info.email;
status = get_identity(session, sender_info.email, TOFU.c_str(), &recip);
ASSERT_EQ(status, PEP_CANNOT_FIND_IDENTITY);
// Ok, we now have a blank slate. Run the import mail fun.
const char* filename = "test_mails/CanonicalFrom2.2SylviaToAlice_2_1_TwoKeys.eml";
message* infile = NULL;
PEP_rating rating = PEP_rating_undefined;
status = vanilla_read_file_and_decrypt_with_rating(session, &infile, filename, &rating);
ASSERT_OK;
ASSERT_EQ(rating, PEP_rating_reliable);
// Ensure we now have a default key for recip - NOTE: IF THE NAME IS NULL OR DOES NOT MATCH THE TOFU INPUT NAME,
// WE WILL GET NO KEY. THIS IS APPARENTLY BY DESIGN.
//
// I did ask. Often. ;)
recip = new_identity(sender_info.email, NULL, sender_info.user_id, sender_info.name);
ASSERT_NOTNULL(recip);
status = update_identity(session, recip);
ASSERT_NOTNULL(recip->fpr);
ASSERT_STREQ(recip->fpr, sender_info.fpr);
ASSERT_EQ(recip->comm_type, PEP_ct_pEp_unconfirmed);
free_message(infile);
free_identity(alice);
free_identity(recip);
}
TEST_F(DefaultFromEmailTest, check_encrypted_key_import_bob_2_1_two_keys) {
pEp_identity* alice = TestUtilsPreset::generateAndSetPrivateIdentity(session, TestUtilsPreset::ALICE);
const TestUtilsPreset::IdentityInfo& sender_info = TestUtilsPreset::presets[TestUtilsPreset::BOB];
// We need recip to exist in DB without a known key.
pEp_identity* recip = new_identity(sender_info.email, NULL, sender_info.user_id, sender_info.name);
PEP_STATUS status = set_identity(session, recip);
ASSERT_OK;
// Make sure identity exists
free_identity(recip);
recip = NULL;
status = get_identity(session, sender_info.email, sender_info.user_id, &recip);
ASSERT_OK;
free_identity(recip);
recip = NULL;
// And *not* in TOFU form
string TOFU = string("TOFU_") + sender_info.email;
status = get_identity(session, sender_info.email, TOFU.c_str(), &recip);
ASSERT_EQ(status, PEP_CANNOT_FIND_IDENTITY);
// Ok, we now the desired state. Run the import mail fun.
const char* filename = "test_mails/CanonicalFrom2.2BobToAlice_2_1_TwoKeys.eml";
message* infile = NULL;
PEP_rating rating = PEP_rating_undefined;
status = vanilla_read_file_and_decrypt_with_rating(session, &infile, filename, &rating);
ASSERT_OK;
ASSERT_EQ(rating, PEP_rating_reliable);
// Ensure we now have a default key for recip - NOTE: IF THE NAME IS NULL OR DOES NOT MATCH THE TOFU INPUT NAME,
// WE WILL GET NO KEY. THIS IS APPARENTLY BY DESIGN.
//
// I did ask. Often. ;)
recip = new_identity(sender_info.email, NULL, sender_info.user_id, sender_info.name);
ASSERT_NOTNULL(recip);
status = update_identity(session, recip);
ASSERT_NOTNULL(recip->fpr);
ASSERT_STREQ(recip->fpr, sender_info.fpr);
ASSERT_EQ(recip->comm_type, PEP_ct_pEp_unconfirmed);
free_message(infile);
free_identity(alice);
free_identity(recip);
}
TEST_F(DefaultFromEmailTest, check_encrypted_key_import_sylvia_2_0_two_keys) {
pEp_identity* alice = TestUtilsPreset::generateAndSetPrivateIdentity(session, TestUtilsPreset::ALICE);
const TestUtilsPreset::IdentityInfo& sender_info = TestUtilsPreset::presets[TestUtilsPreset::SYLVIA];
pEp_identity* recip = NULL;
// Make sure identity doesn't exist - do NOT use update_identity, which will create it in the DB
PEP_STATUS status = get_identity(session, sender_info.email, sender_info.user_id, &recip);
ASSERT_EQ(status, PEP_CANNOT_FIND_IDENTITY);
// And also not in TOFU form
string TOFU = string("TOFU_") + sender_info.email;
status = get_identity(session, sender_info.email, TOFU.c_str(), &recip);
ASSERT_EQ(status, PEP_CANNOT_FIND_IDENTITY);
// Ok, we now have a blank slate. Run the import mail fun.
const char* filename = "test_mails/CanonicalFrom2.2SylviaToAlice_2_0_TwoKeys.eml";
message* infile = NULL;
PEP_rating rating = PEP_rating_undefined;
status = vanilla_read_file_and_decrypt_with_rating(session, &infile, filename, &rating);
ASSERT_OK;
ASSERT_EQ(rating, PEP_rating_reliable);
// Ensure we now have a default key for recip - NOTE: IF THE NAME IS NULL OR DOES NOT MATCH THE TOFU INPUT NAME,
// WE WILL GET NO KEY. THIS IS APPARENTLY BY DESIGN.
//
// I did ask. Often. ;)
recip = new_identity(sender_info.email, NULL, sender_info.user_id, sender_info.name);
ASSERT_NOTNULL(recip);
status = update_identity(session, recip);
ASSERT_NOTNULL(recip->fpr);
ASSERT_STREQ(recip->fpr, sender_info.fpr);
ASSERT_EQ(recip->comm_type, PEP_ct_pEp_unconfirmed);
free_message(infile);
free_identity(alice);
free_identity(recip);
}
TEST_F(DefaultFromEmailTest, check_encrypted_key_import_bob_2_0_two_keys) {
pEp_identity* alice = TestUtilsPreset::generateAndSetPrivateIdentity(session, TestUtilsPreset::ALICE);
const TestUtilsPreset::IdentityInfo& sender_info = TestUtilsPreset::presets[TestUtilsPreset::BOB];
// We need recip to exist in DB without a known key.
pEp_identity* recip = new_identity(sender_info.email, NULL, sender_info.user_id, sender_info.name);
PEP_STATUS status = set_identity(session, recip);
ASSERT_OK;
// Make sure identity exists
free_identity(recip);
recip = NULL;
status = get_identity(session, sender_info.email, sender_info.user_id, &recip);
ASSERT_OK;
free_identity(recip);
recip = NULL;
// And *not* in TOFU form
string TOFU = string("TOFU_") + sender_info.email;
status = get_identity(session, sender_info.email, TOFU.c_str(), &recip);
ASSERT_EQ(status, PEP_CANNOT_FIND_IDENTITY);
// Ok, we now the desired state. Run the import mail fun.
const char* filename = "test_mails/CanonicalFrom2.2BobToAlice_2_0_TwoKeys.eml";
message* infile = NULL;
PEP_rating rating = PEP_rating_undefined;
status = vanilla_read_file_and_decrypt_with_rating(session, &infile, filename, &rating);
ASSERT_OK;
ASSERT_EQ(rating, PEP_rating_reliable);
// Ensure we now have a default key for recip - NOTE: IF THE NAME IS NULL OR DOES NOT MATCH THE TOFU INPUT NAME,
// WE WILL GET NO KEY. THIS IS APPARENTLY BY DESIGN.
//
// I did ask. Often. ;)
recip = new_identity(sender_info.email, NULL, sender_info.user_id, sender_info.name);
ASSERT_NOTNULL(recip);
status = update_identity(session, recip);
ASSERT_NULL(recip->fpr);
ASSERT_EQ(recip->comm_type, PEP_ct_key_not_found);
free_message(infile);
free_identity(alice);
free_identity(recip);
}
TEST_F(DefaultFromEmailTest, check_encrypted_key_import_sylvia_1_0_two_keys) {
pEp_identity* alice = TestUtilsPreset::generateAndSetPrivateIdentity(session, TestUtilsPreset::ALICE);
const TestUtilsPreset::IdentityInfo& sender_info = TestUtilsPreset::presets[TestUtilsPreset::SYLVIA];
pEp_identity* recip = NULL;
// Make sure identity doesn't exist - do NOT use update_identity, which will create it in the DB
PEP_STATUS status = get_identity(session, sender_info.email, sender_info.user_id, &recip);
ASSERT_EQ(status, PEP_CANNOT_FIND_IDENTITY);
// And also not in TOFU form
string TOFU = string("TOFU_") + sender_info.email;
status = get_identity(session, sender_info.email, TOFU.c_str(), &recip);
ASSERT_EQ(status, PEP_CANNOT_FIND_IDENTITY);
// Ok, we now have a blank slate. Run the import mail fun.
const char* filename = "test_mails/CanonicalFrom2.2SylviaToAlice_1_0_TwoKeys.eml";
message* infile = NULL;
PEP_rating rating = PEP_rating_undefined;
status = vanilla_read_file_and_decrypt_with_rating(session, &infile, filename, &rating);
ASSERT_OK;
ASSERT_EQ(rating, PEP_rating_reliable);
// Ensure we now have a default key for recip - NOTE: IF THE NAME IS NULL OR DOES NOT MATCH THE TOFU INPUT NAME,
// WE WILL GET NO KEY. THIS IS APPARENTLY BY DESIGN.
//
// I did ask. Often. ;)
recip = new_identity(sender_info.email, NULL, sender_info.user_id, sender_info.name);
ASSERT_NOTNULL(recip);
status = update_identity(session, recip);
ASSERT_NULL(recip->fpr);
ASSERT_EQ(recip->comm_type, PEP_ct_key_not_found);
free_message(infile);
free_identity(alice);
free_identity(recip);
}
TEST_F(DefaultFromEmailTest, check_encrypted_key_import_bob_1_0_two_keys) {
pEp_identity* alice = TestUtilsPreset::generateAndSetPrivateIdentity(session, TestUtilsPreset::ALICE);
const TestUtilsPreset::IdentityInfo& sender_info = TestUtilsPreset::presets[TestUtilsPreset::BOB];
// We need recip to exist in DB without a known key.
pEp_identity* recip = new_identity(sender_info.email, NULL, sender_info.user_id, sender_info.name);
PEP_STATUS status = set_identity(session, recip);
ASSERT_OK;
// Make sure identity exists
free_identity(recip);
recip = NULL;
status = get_identity(session, sender_info.email, sender_info.user_id, &recip);
ASSERT_OK;
free_identity(recip);
recip = NULL;
// And *not* in TOFU form
string TOFU = string("TOFU_") + sender_info.email;
status = get_identity(session, sender_info.email, TOFU.c_str(), &recip);
ASSERT_EQ(status, PEP_CANNOT_FIND_IDENTITY);
// Ok, we now the desired state. Run the import mail fun.
const char* filename = "test_mails/CanonicalFrom2.2BobToAlice_1_0_TwoKeys.eml";
message* infile = NULL;
PEP_rating rating = PEP_rating_undefined;
status = vanilla_read_file_and_decrypt_with_rating(session, &infile, filename, &rating);
ASSERT_OK;
ASSERT_EQ(rating, PEP_rating_reliable);
// Ensure we now have a default key for recip - NOTE: IF THE NAME IS NULL OR DOES NOT MATCH THE TOFU INPUT NAME,
// WE WILL GET NO KEY. THIS IS APPARENTLY BY DESIGN.
//
// I did ask. Often. ;)
recip = new_identity(sender_info.email, NULL, sender_info.user_id, sender_info.name);
ASSERT_NOTNULL(recip);
status = update_identity(session, recip);
ASSERT_NULL(recip->fpr);
ASSERT_EQ(recip->comm_type, PEP_ct_key_not_found);
free_message(infile);
free_identity(alice);
free_identity(recip);
}

+ 2
- 2
test/src/TestUtilities.cc View File

@ -36,7 +36,7 @@ const TestUtilsPreset::IdentityInfo TestUtilsPreset::presets[] = {
TestUtilsPreset::IdentityInfo("Alice Spivak Hyatt", "ALICE", "pep.test.alice@pep-project.org", "pep-test-alice-0x6FF00E97", "4ABE3AAF59AC32CFE4F86500A9411D176FF00E97"),
TestUtilsPreset::IdentityInfo("Apple of my Computer", "APPLE", "pep.test.apple@pep-project.org", "pep-test-apple-0x1CCBC7D7", "3D8D9423D03DDF61B60161150313D94A1CCBC7D7"),
TestUtilsPreset::IdentityInfo("Bob Dog", "BOB", "pep.test.bob@pep-project.org", "pep-test-bob-0xC9C2EE39", "BFCDB7F301DEEEBBF947F29659BFF488C9C2EE39"),
TestUtilsPreset::IdentityInfo("Bob Dog", "BOB", "pep.test.bob@pep-project.org", "pep-test-bob-0xC9C2EE39", "BFCDB7F301DEEEBBF947F29659BFF488C9C2EE39"),
TestUtilsPreset::IdentityInfo("Bob Dog", "BOB", "pep.test.bob@pep-project.org", "pep-test-bob-0x9667F61D", "C47ADE6207C7C3098C6E83D9FF3D3F669667F61D"),
TestUtilsPreset::IdentityInfo("Carol Burnett", "CAROL", "pep-test-carol@pep-project.org", "pep-test-carol-0x42A85A42", "8DD4F5827B45839E9ACCA94687BDDFFB42A85A42"),
TestUtilsPreset::IdentityInfo("The Hoff", "DAVE", "pep-test-dave@pep-project.org", "pep-test-dave-0xBB5BCCF6", "E8AC9779A2D13A15D8D55C84B049F489BB5BCCF6"),
TestUtilsPreset::IdentityInfo("Erin Ireland", "ERIN", "pep-test-erin@pep-project.org", "pep-test-erin-0x9F8D7CBA", "1B0E197E8AE66277B8A024B9AEA69F509F8D7CBA"),
@ -60,7 +60,7 @@ const TestUtilsPreset::IdentityInfo TestUtilsPreset::presets[] = {
TestUtilsPreset::IdentityInfo("Inquisitor Claire Trevelyan", "INQUISITOR", "inquisitor@darthmama.org", "inquisitor-0xA4728718_renewed", "8E8D2381AE066ABE1FEE509821BA977CA4728718"),
TestUtilsPreset::IdentityInfo("Bernd das Brot", "BERNDI", "bernd.das.brot@darthmama.org", "bernd.das.brot-0xCAFAA422", "F8CE0F7E24EB190A2FCBFD38D4B088A7CAFAA422"),
TestUtilsPreset::IdentityInfo("Sylvia Plath", "SYLVIA", "sylvia@darthmama.org", "sylvia-0x585A6780", "0C0F053EED87058C7330A11F10B89D31585A6780"),
TestUtilsPreset::IdentityInfo("Sylvia Plath", "SYLVIA", "sylvia@darthmama.org", "sylvia-0x585A6780", "0C0F053EED87058C7330A11F10B89D31585A6780")
TestUtilsPreset::IdentityInfo("Sylvia Plath", "SYLVIA", "sylvia@darthmama.org", "sylvia-0x2E5A78A9", "3FB4EB6F00E96E163FB05C0374B8F0832E5A78A9")
};


+ 106
- 0
test/test_keys/priv/pep-test-bob-0x9667F61D_priv.asc View File

@ -0,0 +1,106 @@
-----BEGIN PGP PRIVATE KEY BLOCK-----
lQcYBGC+NJUBEACtnixqMF8aF2KeIcEiM9It7CIQBz3X3e5SJ/JfiMowDV9JbC15
6P32FSnSVdWlFvCRxckjWgdKRZbLTGnmSdhDUbMj+iMugE/JcJoaf/MipP/e7j2f
wVc6Sl9jB79FedjFmCTnvn7I3bi/k/5aamjH7xSv+HYtxoHikuxj1Y9/qh+BOz5V
sp2NcCwXCXLal5k+S1qxPHfH2aT8ygum+C+gacd2u9d7CcO7H3jxT/nCEAOW6mIc
tN+ox7RFmTNt8e3vDrIQ3XaSiRDcSxofE1bF6Pus2q8mdWTMS1msBF1Xt2cTrDMI
s1TQGqxHXPILRFNNSLFg3Il4/W5oNkmdz7uz8ffHLM1RTxTf5sZjVpX4RBpGpzwg
J5zn4bQ1S+0jUnTdbN3qsCu5xT6UwyqlWBcbDifBn13fJWoPZ7D7rBWIoxnqquSJ
MPtNb9fKrZiwE52Q1ygJCkkc53Ll3qbs0+R1GKuDOkMXloNU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qBJO
-----END PGP PUBLIC KEY BLOCK-----

+ 61
- 37
test/test_mails/CanonicalFrom2.2BobToAliceUnencrypted_TwoKeys.eml View File

@ -3,9 +3,9 @@ To: Alice Spivak Hyatt <pep.test.alice@pep-project.org>
Subject: This is a canonical mail from someone to Alice
X-pEp-Version: 2.2
MIME-Version: 1.0
Content-Type: multipart/mixed; boundary="bf72b1411447b7342963e5aa0382c5"
Content-Type: multipart/mixed; boundary="6feaabad2c151875184cee7e2320e4c6"
--bf72b1411447b7342963e5aa0382c5
--6feaabad2c151875184cee7e2320e4c6
Content-Type: text/plain
Content-Transfer-Encoding: 7bit
@ -13,45 +13,69 @@ Fa una canzona senza note nere
Se mai bramasti la mia grazia havere
Falla d'un tuono ch'invita al dormire,
Dolcemente, dolcemente facendo la finire.
--bf72b1411447b7342963e5aa0382c5
--6feaabad2c151875184cee7e2320e4c6
Content-Type: application/pgp-keys
Content-Transfer-Encoding: base64
Content-Disposition: attachment; filename="pEpKey.asc"
LS0tLS1CRUdJTiBQR1AgUFVCTElDIEtFWSBCTE9DSy0tLS0tCgp4c0JOQkZWNFBsOEJDQUN1dWtR
THdzSGZ0SDVqa1ZzU0w3Q09GaGFtTnNFRThsWjhNRzFmMVJ4NXp0UHVaVG5hCllYeVdPRGdwajJC
eHowVGNQK1ExN0diTEtzZTdUV0QxazlpMVJ6TFd6OFpTQ0xZcTJUdGpMV1BsZVZ1R0dXZXEKWTN0
VFdIQy9uRmJpdm9sTlBBMG1MMjAzOFRHZEJvbFBhWmlQWjRQOHd1UVZZTmZEcWk0dXRjZXpHRE5T
OE9IaApFUGhmeUtLb1NNNzlITG9VUGM2eHNmaW14UE1yeWxJL2k4YkZ2ZkRZejV2bXlkZWZ2QXhO
aHFqTEgzR21oajFwCm5JbnNyYUVpeWg3WTJ6QXhDZnI2aEQ5bmt5N1dpeEJpbktGRmhRcGNVdTFv
K0llNlVHd0xWYlR5Uk1PY1Jzb2IKeWFocUEvbTJIZkRSajFZK244SEhxc1FrQj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WOTNNbWY0QTM3UnR0bWsK
NENDeTFXRlNEQlJGbkdPeWlmcXFuZjRvZFdoNUdVdXVPb0ZPTk1ncmFUbi9CS1l6b3VIRzB6TXhk
MUhTZ1dxMQpSKzRmWE44bXA1TVRNc3dPeGRFNWhjVnJjelpPMGVvUDJrWk1jeTk3bXNvOFBVUmVz
UjcvUTh1WmI4ZXp2TjYwCjZyN0hFakFZdS9xU2E4dWNtdFNNdEM5Qlp6QjEwWHc1Nlh1UW4vVXBQ
b2dMdGpUWUhNUSt5L1I5RkY4ampubjEKY05tNzV3d0pTeDNmemFTRjdvVFZDRFdPQnlmODlNcGly
U1htanJrZEE1U0hEcEhJcjNQa09LbFRkM0hLYjN5UQoybzVjcjdwSzI5ZXNkNHhTQjFiK1k5RGpD
WHlNY0Q2bG8xZFFLZlc4NFdKKytMNlhlbHF1ZGVrN3pFUUdUdWttCnFvVTE5dUxkTElJVklpWG1Q
UFVmMnVWY2doTy82ZDlzZ3B3ZG5iSXB0NTZ6TDYrcDZIRndlTmJ5T0ZxR0RjTHkKR0g2UWdxR3l3
bWtucmxHVWdPN3RzNCtlSGRhbmw3dGtLVlNwdEdoRXBSL2JuWjFmRE5RWkFpZFpJRmY0cVZXdApr
SmN0ZmNhVzNhZDI2QVZXclMrVDdSZVhnT0drN0RCdXVxMkZWcDRWL2pLaytqNUs4UkpWdHFuRWZL
aGZFQVFvCkMzdXJaMmtxTjhFbFNUVG05ME5JOWVjMThKd2wrV0Q0MnplRUJCaGE2b1hPWmt6dm05
VEZCaStMemZmamQrR1oKaDNOYlhUZzIwMlRNTnM4K1BEekJyYjJxcHJWTDZSNmFHM3RvNFMxZ0Nj
YkVlcjRlUTJrPQo9UkMwagotLS0tLUVORCBQR1AgUFVCTElDIEtFWSBCTE9DSy0tLS0tCg==
--bf72b1411447b7342963e5aa0382c5
--6feaabad2c151875184cee7e2320e4c6
Content-Type: application/pgp-keys
Content-Transfer-Encoding: base64
Content-Disposition: attachment; filename="sender_key.asc"
@ -89,4 +113,4 @@ T3VjaDdKeGNuCm9jSU1qSzM2VXo1VHpQT2dkU3grQ0JNRW1qcXhDVW5SNTV4US9KNTBpSTBjbjYy
dDNiQ1AwVlRabUYvQkpEQmkKQXM2RWVKVm5HQlVvU1VET2tFST0KPXhyM3kKLS0tLS1FTkQgUEdQ
IFBVQkxJQyBLRVkgQkxPQ0stLS0tLQo=
--bf72b1411447b7342963e5aa0382c5--
--6feaabad2c151875184cee7e2320e4c6--

+ 108
- 0
test/test_mails/CanonicalFrom2.2BobToAlice_1_0_ModifiedVersion.eml View File

@ -0,0 +1,108 @@
From: Bob Dog <pep.test.bob@pep-project.org>
To: Alice Spivak Hyatt <pep.test.alice@pep-project.org>
Subject: =?utf-8?Q?p=E2=89=A1p?=
X-pEp-Version: 1.0
MIME-Version: 1.0
Content-Type: multipart/encrypted; boundary="7fdcc2331befd79f41a7c4c96b68079a";
protocol="application/pgp-encrypted"
--7fdcc2331befd79f41a7c4c96b68079a
Content-Type: application/pgp-encrypted
Version: 1
--7fdcc2331befd79f41a7c4c96b68079a
Content-Type: application/octet-stream
Content-Transfer-Encoding: 7bit
Content-Disposition: inline; filename="msg.asc"
-----BEGIN PGP MESSAGE-----
wcBMA4rbkTfsG51OAQf7BhQYtnuckgUVJ1AHwG79uE9GkFF78RMfJLvhBI+kCc2F
amp/AgOuhfCSulLJg9+5MRRQJL7ngq2/RfApvGVarygARSiyYlES2UubE7PL7X2N
uoq/E8JcfyIqaYxgED+Sl15zXfWePnMRqA4hs7Z/T9PAvm3lvE5bK58y+sxvwKPc
D+7q6BRz2BHCgvhD9Tu0/miiMQy2sJ2nLJAMgKDq1tSk/ysInebgaCTXDA2cWP04
m3IT43y6RiSv8L8JL39JIJ9oNavLnhccRLvjqHZ8JzjpxaM4KVyzC8/wGkNlbzrr
fkJpOJxYw6aL1XHK0kePigkGjkKsWkMC49Jzfoeg/cHATANaAgXZcwg/TQEIAKKG
qIpkku6vemmbf8Z4dO6A7OFVT5CwXc6r48XLp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jgCSOB9cysvPhCIj0VoBErKpNJ
6iZnrfz8G4oiGf0USsD1kjMShu7Yhmb7Zei9nVhglWmrvLKsAPueuEDe4BWI1RwG
Y6hMqNZAeOo4EE2JKWVLxTbKkaUH+fpjqm7qjTGl+E3INibjI8ZN/kvos+YAi4yX
VjPdsAZc+zSdd/tUexJTB/1KNOMy68/3CC79BgKJtE0idW+t5CN44+IIc28ERuf6
Bc2+4boLG6rWEBoQJu9Pt1YRhfMhuieT1+ftrpcZVOYRI/FrknBYOZPVSzPt3iHx
AGagmshms7TrqcggJhB6XxLIt7yL1OoUWBgsBd9k0deU09X4rb3j5Ve8AH6dX30r
xFAruIqXbe91PI5KMmAMah/NoOd9LY8MvayRGnpKuPDm7od5FVTGbBLSi7i6iicL
m4QB26tX6VW+ffHzawPopzSUSEiDfh+jXIaJJe4lhjHfLHpqESW5KvLb+qTX1ohX
hIJJKVcH2au0AgI6OwyeJMYAOeixRRS6IvtHJyCCFDrkYFmgpMS8i97T5PEE0mqo
UO7mCOPL86CvKffAdueFzydtrOZNHDgxhCazHuS16FVKF4l6X+QtenKFfFP9dYVk
YzwDzPXHog45ftZeKa68K/Hk1PmgzcBEAo8TF8ydHTOvWzOOfttJ0r9ZrQpOHRUn
3hcgUo1SsLlozhTKU72UPwZlkchLbKxQkK8GneFzSzRDiYm9owxZOYMw6eed9pEr
VHSYymD5ACK3DHPWxdkzVjzIt1U2Cw4=
=jmBT
-----END PGP MESSAGE-----
--7fdcc2331befd79f41a7c4c96b68079a--

+ 50
- 0
test/test_mails/CanonicalFrom2.2BobToAlice_1_0_NoKey_ModifiedVersion.eml View File

@ -0,0 +1,50 @@
From: Bob Dog <pep.test.bob@pep-project.org>
To: Alice Spivak Hyatt <pep.test.alice@pep-project.org>
Subject: =?utf-8?Q?p=E2=89=A1p?=
X-pEp-Version: 1.0
MIME-Version: 1.0
Content-Type: multipart/encrypted; boundary="32fff902684a481a579478fe749abb43";
protocol="application/pgp-encrypted"
--32fff902684a481a579478fe749abb43
Content-Type: application/pgp-encrypted
Version: 1
--32fff902684a481a579478fe749abb43
Content-Type: application/octet-stream
Content-Transfer-Encoding: 7bit
Content-Disposition: inline; filename="msg.asc"
-----BEGIN PGP MESSAGE-----
wcBMA4rbkTfsG51OAQf9EI1NVefF1eD2GMmYDl448IuMevBqp+0Z8MFTWoLdH6Zi
tMJb4WcJpBsUg6pcI/lkrheYT9006OuPYGwA9xSSfc7MGB1MN8M6zaJP2rObxFne
2X+ShiG/y/yibzMpsOjVg2b+xj1zsszEJ+JMKgcIHays+PXQap1CtX4V/z1L1ZUw
4Ryfjnhd157M7B5cGmaH0hvrfnoKg/f5rW4rxPNSMMnBWVmTRau0gcDpLeDKLKE7
GN8ET9CIYThKDGMpzVVQ0PmNj41/IdC6o5QNFYVA4YL0sasujHKS5tdJoV3m8sjO
dVnYe67hfb0FauZWXLnNquaVGpsRvj8ri8UfYlZkPcHATANaAgXZcwg/TQEIAIzq
JTN/30ezqTkjtwqxpSprUMTry5o9U5ZllhLJyGCzSrx/Xpa4oa9XrL1t0Oj076Nv
KPMgZyS8THa6LEQoCYC5PcMCdjrGieLufTZUvcPMLOXV6g6LhwTRgR6AI6IWIpKy
xrv/5Y2b87foV8GxneJLBc49V/vH1J83QENOfyvJNMLvefOQLZzykZGcRG2otDSm
PPVIVpwEH9Zm+kfkH/rIvQYGZxuV1nAY6DbrW9aoOV/PeUlR3pWaVSGPM5q5s19h
cDATSvARtisPffQwFOheJhbO6raiyZLPp/zs3kZeR92LLx78GfPg2glejpYkbJDK
vYcx9luo3yB4R+8w0PHSwiEBaFc7QD6CUYbIZRTPR4yuHzDTcH/xpLEU/l+J+1nY
jQnS9TYhFThhSPJDpmzr9dKYZxqwHBFjRAOk7k0ZTP/f6EvjioipK5X/yx8EIb3j
WaP2oUCW2P/Tvgb9rElrTJ+7xtx0zJ/sSdMonwjLwlcmYlqHRG34F7SLk+5Pnqis
5ZV9MnxwImAmENGSsBi0kT911nnBNLzfdIsug3OKjfnm/5rdyRxmLrAYcsomdvAe
y3Pp17prLs+7g4l3QdFllLL/k5PU0ytsKsPEf4M6g5Yu609DGuQru3Y8D87TaoT7
DxotkhX6rxkUZGzT8wr/96XLbEZx1mdiuoTmRl7npjA2JdgOKeVp6JY7b0dXTD6+
znHD9sxjsyYJjLW10ogVvybHjEOaswyipKiBhkBNOl7COJv/Dl3U4ZaaloNbAAOS
E1TjPKjrslyI3Vo+XrqTA25ULogEK1lhVxWKUgIo0j4xcriXQakj4ZkJnEVUVHwn
vSN39ObZ8ij19x+o3kSjL6ef8DWzJZzLYlMkblB6VIO3/7sxovINdIpdEA8tcZN2
YngsIAFVPGJyZ2RQ3pG+KHNP5GGC05qDAUc0Yetd9sfyY0lWBKHfdJqKW+jzdm+n
TIxcPAKdi39uQ9E+c3qwHr4dUJIO5gTSUyt4twF5ZwxV+Db/Gyvvp2Qawf1yDEcf
Ucg5cESy5aJaZmllHlSzZc0NT4aSZ1nff93DxT6nMc2+VYBBPgVH1YmI8iOXpueZ
zYEpVAyMywAUGho41k3+s+lvv1j/5R68IvBBvhvqIl6PA7MFlQac4JgoYfsOkcLA
l3XEjGC4wI4fkMGxQ05oqhknTaQ1JeUmLjveiGIaK9ytbtQF8Nas1c5P7saYR/D6
3ZgsqWwOMZWoMlH88d+AhhXS4/1RbnOu2jGm2aIitPioTB8Oy3UzlqojfPrlkBNy
RfEvlOFQo/0Xv1en3EjRDvCINSkYI2yvVehZmSQClbd0Dw==
=n4ly
-----END PGP MESSAGE-----
--32fff902684a481a579478fe749abb43--

+ 49
- 0
test/test_mails/CanonicalFrom2.2BobToAlice_1_0_NoKey_no_pEp.eml View File

@ -0,0 +1,49 @@
From: Bob Dog <pep.test.bob@pep-project.org>
To: Alice Spivak Hyatt <pep.test.alice@pep-project.org>
Subject: Not pEp
MIME-Version: 1.0
Content-Type: multipart/encrypted; boundary="32fff902684a481a579478fe749abb43";
protocol="application/pgp-encrypted"
--32fff902684a481a579478fe749abb43
Content-Type: application/pgp-encrypted
Version: 1
--32fff902684a481a579478fe749abb43
Content-Type: application/octet-stream
Content-Transfer-Encoding: 7bit
Content-Disposition: inline; filename="msg.asc"
-----BEGIN PGP MESSAGE-----
wcBMA4rbkTfsG51OAQf9EI1NVefF1eD2GMmYDl448IuMevBqp+0Z8MFTWoLdH6Zi
tMJb4WcJpBsUg6pcI/lkrheYT9006OuPYGwA9xSSfc7MGB1MN8M6zaJP2rObxFne
2X+ShiG/y/yibzMpsOjVg2b+xj1zsszEJ+JMKgcIHays+PXQap1CtX4V/z1L1ZUw
4Ryfjnhd157M7B5cGmaH0hvrfnoKg/f5rW4rxPNSMMnBWVmTRau0gcDpLeDKLKE7
GN8ET9CIYThKDGMpzVVQ0PmNj41/IdC6o5QNFYVA4YL0sasujHKS5tdJoV3m8sjO
dVnYe67hfb0FauZWXLnNquaVGpsRvj8ri8UfYlZkPcHATANaAgXZcwg/TQEIAIzq
JTN/30ezqTkjtwqxpSprUMTry5o9U5ZllhLJyGCzSrx/Xpa4oa9XrL1t0Oj076Nv
KPMgZyS8THa6LEQoCYC5PcMCdjrGieLufTZUvcPMLOXV6g6LhwTRgR6AI6IWIpKy
xrv/5Y2b87foV8GxneJLBc49V/vH1J83QENOfyvJNMLvefOQLZzykZGcRG2otDSm
PPVIVpwEH9Zm+kfkH/rIvQYGZxuV1nAY6DbrW9aoOV/PeUlR3pWaVSGPM5q5s19h
cDATSvARtisPffQwFOheJhbO6raiyZLPp/zs3kZeR92LLx78GfPg2glejpYkbJDK
vYcx9luo3yB4R+8w0PHSwiEBaFc7QD6CUYbIZRTPR4yuHzDTcH/xpLEU/l+J+1nY
jQnS9TYhFThhSPJDpmzr9dKYZxqwHBFjRAOk7k0ZTP/f6EvjioipK5X/yx8EIb3j
WaP2oUCW2P/Tvgb9rElrTJ+7xtx0zJ/sSdMonwjLwlcmYlqHRG34F7SLk+5Pnqis
5ZV9MnxwImAmENGSsBi0kT911nnBNLzfdIsug3OKjfnm/5rdyRxmLrAYcsomdvAe
y3Pp17prLs+7g4l3QdFllLL/k5PU0ytsKsPEf4M6g5Yu609DGuQru3Y8D87TaoT7
DxotkhX6rxkUZGzT8wr/96XLbEZx1mdiuoTmRl7npjA2JdgOKeVp6JY7b0dXTD6+
znHD9sxjsyYJjLW10ogVvybHjEOaswyipKiBhkBNOl7COJv/Dl3U4ZaaloNbAAOS
E1TjPKjrslyI3Vo+XrqTA25ULogEK1lhVxWKUgIo0j4xcriXQakj4ZkJnEVUVHwn
vSN39ObZ8ij19x+o3kSjL6ef8DWzJZzLYlMkblB6VIO3/7sxovINdIpdEA8tcZN2
YngsIAFVPGJyZ2RQ3pG+KHNP5GGC05qDAUc0Yetd9sfyY0lWBKHfdJqKW+jzdm+n
TIxcPAKdi39uQ9E+c3qwHr4dUJIO5gTSUyt4twF5ZwxV+Db/Gyvvp2Qawf1yDEcf
Ucg5cESy5aJaZmllHlSzZc0NT4aSZ1nff93DxT6nMc2+VYBBPgVH1YmI8iOXpueZ
zYEpVAyMywAUGho41k3+s+lvv1j/5R68IvBBvhvqIl6PA7MFlQac4JgoYfsOkcLA
l3XEjGC4wI4fkMGxQ05oqhknTaQ1JeUmLjveiGIaK9ytbtQF8Nas1c5P7saYR/D6
3ZgsqWwOMZWoMlH88d+AhhXS4/1RbnOu2jGm2aIitPioTB8Oy3UzlqojfPrlkBNy
RfEvlOFQo/0Xv1en3EjRDvCINSkYI2yvVehZmSQClbd0Dw==
=n4ly
-----END PGP MESSAGE-----
--32fff902684a481a579478fe749abb43--

+ 184
- 145
test/test_mails/CanonicalFrom2.2BobToAlice_1_0_TwoKeys.eml View File

@ -3,161 +3,200 @@ To: Alice Spivak Hyatt <pep.test.alice@pep-project.org>
Subject: =?utf-8?Q?p=E2=89=A1p?=
X-pEp-Version: 2.2
MIME-Version: 1.0
Content-Type: multipart/encrypted; boundary="2df6d64846b7d4474a2ac31539ee015c";
Content-Type: multipart/encrypted; boundary="21d16ce04e65e34b57f06df123987fba";
protocol="application/pgp-encrypted"
--2df6d64846b7d4474a2ac31539ee015c
--21d16ce04e65e34b57f06df123987fba
Content-Type: application/pgp-encrypted
Version: 1
--2df6d64846b7d4474a2ac31539ee015c
--21d16ce04e65e34b57f06df123987fba
Content-Type: application/octet-stream
Content-Transfer-Encoding: 7bit
Content-Disposition: inline; filename="msg.asc"
-----BEGIN PGP MESSAGE-----
wcBMA4rbkTfsG51OAQf+N0rc1BbyX/p4cFEN3i4st12GMdfyNCAYO+iz0T1AnoZ6
0UO8TDPYF8LfcuywNjy5BbPtgNEQYVb6/01aaS77XPwASqbvY2tYL3bNyGHek0Ye
pR16hpOBFNsujI8k2ZrypFZOGM6bmFd+8mkT1DQQzJnsBFUgYJqgqKxGEw+7MAgi
KdneDQ2bkX7qYbMqa2HxNQ+nHcf0l7X73cJVofg4TmtEPKcsd6frUZo8c2ykWs1m
I11mFb7Mv5b/sYaQfiSAmu2fek81LHCcBwRXoZAGLQXBgtHoWApNW2b83awW8xLA
Sypjkj32EFFZULc0cV5bQgU5xbGSiOVzedW8FkLDIcHATANaAgXZcwg/TQEIAMjv
g9Q6Via/oGHOEEXmLUDFoCwJLNXulfOtgb8sOYSdh8Sby1YqcBMNUizUcUmI7Tuk
K7xEgy35FFJaIvcIcSEgaf61zwQroDKA57G7+fDN2PZ14FT7NWqiZNVQApbsE3BE
SVR5yiaecl02cyrfHKCDwq8Cf7cUYeGcDOUFl3fSH8BL9BWl88tXh8x+bxhZ4usw
CmpOYxLwHsDmEgFKhC/qYk3daQLvR1c8ZaDGoWcsqOxg2GyXint+Nom40y0jNWgk
alBBMyrnQfm0b3qArjT9EeSi+plgxKwmCQSK0fEdLjABkmeIVAtw3Ah30j0xX9/W
j/+Fb7AmgV7UnkeTv3TS1zUB9+T0mjnPjYvkDBev/TX33duIJdxNeHPeezb5dQRl
7hGRNnbauSyZeQNhuRcSAhZm41W1HgeO+eFKbdtuaHhczdjFHsbtXacLjeHg+aRL
QFHHrcmlYcFS4CoV6zYu7hKsWzT7QeyJk4Wlkpi/wVskQmvls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