1
0
Fork 0
mirror of https://github.com/pgpainless/pgpainless.git synced 2025-09-09 18:29:39 +02:00

Fix User-ID format in documentation and note invalid user-id formats in tests

This commit is contained in:
Paul Schaub 2022-07-12 10:33:43 +02:00
parent 56abb51757
commit 223cf009fc
Signed by: vanitasvitae
GPG key ID: 62BEE9264BF17311
3 changed files with 6 additions and 4 deletions

View file

@ -704,6 +704,8 @@ public class KeyRingInfoTest {
@Test
public void getEmailsTest() throws IOException {
// NOTE: The User-ID Format for the ID "Alice Anderson <alice@email.tld> [Primary Mail Address]" is incorrect.
// TODO: Fix?
String KEY = "-----BEGIN PGP PRIVATE KEY BLOCK-----\n" +
"Version: PGPainless\n" +
"Comment: B4A8 9FE8 9D59 31E6 BCF7 DC2F 6BA1 2CC7 9A08 8D73\n" +

View file

@ -119,6 +119,7 @@ public class SignatureUtilsTest {
"-----END PGP PUBLIC KEY BLOCK-----\n";
String aliceId = "Alice <alice@exmaple.com>";
// TODO: Fix wrong user-id format of pet name
String charliesPetNameForAlice = "Alice Example <alice@example.com> [from work]";
long aliceKeyId = 1059762964264170602L;