GpgOL test plan
Here you can find information about the manual testing progress of GpgOL.
Contents
What should be tested?
We want to ensure GpgOL works well on all supported Microsoft Windows operating systems with all supported versions of Microsoft Outlook.
The tests refer to the signing and encrypting process in Microsoft Outlook using GpgOL, the transmission of encrypted and/or signed emails, and the receiving of encrypted and/or signed emails.
The tests are not only performed with messages from and to Microsoft Outlook, but also with other Windows and Linux mail clients which are supported by GnuPG, especially:
- Microsoft Outlook 2010 32bit (on Windows 7 64bit)
- Microsoft Outlook 2013 64bit (on Windows 8 64bit)
- Microsoft Outlook 2016 32bit (on Windows 7 32bit)
- Microsoft Outlook 2016 64bit (on Windows 8 64bit)
- Microsoft Outlook 2016 64bit (on Windows 10 64bit)
- Thunderbird with Enigmail-Add-On (on Windows or GNU/Linux)
- KMail of Kontact enterprise 35 (on GNU/Linux)
The tests will refer to the usage of PGP/MIME and PGP/Inline.
To test out the different versions of Microsoft Outlook on different platforms and CPU-Architectures a virtual test environment was recommenended, e.g. VirtualBox.
Test plan
Check if GpgOL can perform the following test suites without errors.
1. Outlook <--> Outlook
Send crypto emails between Outlook (GpgOL) and Outlook (GpgOL).
1.1 Using PGP/MIME
a) sign -> verify
b) encrypt -> decrypt
c) sign/encrypt with attachment -> decrypt/verify and check attachment
1.2 Using S/MIME
a) sign -> verify
b) encrypt -> decrypt
c) sign/encrypt with attachment -> decrypt/verify and check attachment
2. KMail <--> Outlook
Send crypto emails between KMail and Outlook (GpgOL).
2.1 Using PGP/MIME
a) sign (KMail) -> verify (GpgOL)
b) encrypt (KMail) -> decrypt (GpgOL)
c) sign/encrypt with attachment (KMail) -> decrypt/verify and check attachment (GpgOL)
d) answer to (a): sign (GpgOL) -> verify (KMail)
e) answer to (b): encrypt (GpgOL) -> decrypt (KMail)
f) answer to (c): sign/encrypt with attachment (GpgOL) -> decrypt/verify and check attachment (KMail)
2.2 Using S/MIME
a) sign (KMail) -> verify (GpgOL)
b) encrypt (KMail) -> decrypt (GpgOL)
c) sign/encrypt with attachment (KMail) -> decrypt/verify and check attachment (GpgOL)
d) answer to (a): sign (GpgOL) -> verify (KMail)
e) answer to (b): encrypt (GpgOL) -> decrypt (KMail)
f) answer to (c): sign/encrypt with attachment (GpgOL) -> decrypt/verify and check attachment (KMail)
2.3 Using PGP/Inline
a) sign (KMail) -> verify (GpgOL)
b) encrypt (KMail) -> decrypt (GpgOL)
c) sign/encrypt without attachment (KMail) -> decrypt/verify (GpgOL)
3. Thunderbird <--> Outlook
Send crypto emails between Thunderbird (Enigmail) and Outlook (GpgOL).
3.1 Using PGP/MIME
a) sign (TB) -> verify (GpgOL)
b) encrypt (TB) -> decrypt (GpgOL)
c) sign/encrypt with attachment (TB) -> decrypt/verify and check attachment (GpgOL)
d) answer to (a): sign (GpgOL) -> verify (TB)
e) answer to (b): encrypt (GpgOL) -> decrypt (TB)
f) answer to (c): sign/encrypt with attachment (GpgOL) -> decrypt/verify and check attachment (TB)
3.2 Using S/MIME (with Thunderbird's S/MIME implementation)
a) sign (TB) -> verify (GpgOL)
b) encrypt (TB) -> decrypt (GpgOL)
c) sign/encrypt with attachment (TB) -> decrypt/verify and check attachment (GpgOL)
d) answer to (a): sign (GpgOL) -> verify (TB)
e) answer to (b): encrypt (GpgOL) -> decrypt (TB)
f) answer to (c): sign/encrypt with attachment (GpgOL) -> decrypt/verify and check attachment (TB)
3.3 Using PGP/Inline
a) sign (TB) -> verify (GpgOL)
b) encrypt (TB) -> decrypt (GpgOL)
c) sign/encrypt with attachment (TB) -> decrypt/verify and check attachment (GpgOL)
Test Results
The detailed description of how the test was performed, what kind of results were expected and what the actual result was like.
1.1.a (sign and verify Using PGP/MIME)
Windows 7 32 Outlook 2016
Using Gpg4Win version 2.2.6 and gpgol.dll beta 1.3.0-beta85 (2015-11-04). Imported two necessary certificates in Kleopatra and authenticated them manually.
Signing an E-Mail with OpenPGP and sending it worked without a noticeable problem.
Receiving an signed E-Mail and read it worked without a problem.
To verify the received E-Mail, it was necessary to open it (The E-Mail) in an external window (double click) and navigate to the GpgOL-tab afterwards, which is inconvenient. It was not possible to verify the E-Mail inside the Outlook-Main-Window (missing option).
Expected:
- The E-Mail may be verified automatically
- The E-Mail may be verified from inside the main window (GpgOL-tab)
Result:
- Successful verification from an external window
1.1.b (encrypt and decrypt Using PGP/MIME)
Windows 7 32 Outlook 2016
Using Gpg4Win version 2.2.6 and gpgol.dll beta 1.3.0-beta85 (2015-11-04). Imported two necessary certificates in Kleopatra and authenticated them manually.
Encrypting an E-Mail with OpenPGP and sending it worked without a noticeable problem.
Receiving an encrypted E-Mail worked without a problem.
Once clicked on an encrypted E-Mail, Kleopatra pops-up automatically and notified about the decryption.
It is necessary to close the popped-up window manually.
Expected:
- decryption of the encrypted mail automatically.
Result:
- decryption of the encrypted mail automatically (there was a suddenly appearing Kleopatra-window which needed attention, which is slightly inconvenient)
1.1.c (encrypt and sign, and decrypt and verify Using PGP/MIME)
Windows 7 32 Outlook 2016
Using Gpg4Win version 2.2.6 and gpgol.dll beta 1.3.0-beta85 (2015-11-04). Imported two necessary certificates in Kleopatra and authenticated them manually.
The process is: Sign an E-Mail and encrypt it afterwards (using PGP/MIME).
or
Encrypt an E-Mail and sign it afterwards (using PGP/MIME).
Depending on the order of actions, one will get different results
- 1. Sign 2. Encrypt
- No noticeable problems when sending the E-Mail
- The decryption works as expected.
- The verification does not seem to work: After clicking on "verify" Kleopatra mentions that the decryption was successful, but does not react to the verification-request
- 1. Encrypt 2. Sign
- The signing block will be displayed under the encrypted message. But this is not an obvious problem.
- Kleopatra mentions that the decryption was not successful. However, the text will be decrypted (readable in clear text).
- the signing-block is missing.
Expected:
- The Program always Signs and Encrypts in the correct order
- The encryption process works similar to 1.1.b
- The verification process works similar to 1.1.a
Result:
- behavior depends on the order of actions. Can work when choosing the options in the right order, but Kleopatra will inform about errors.
The attachment was not encrypted.
1.2.a (sign and verify Using S/MIME)
Windows 7 32 Outlook 2016
Using Gpg4Win version 2.2.6 and gpgol.dll beta 1.3.0-beta85 (2015-11-04). Imported two necessary certificates in Kleopatra and authenticated them manually.
(like in 1.1.a) Signing an E-mail with S/MIME and sending it worked without a noticeable problem.
Receiving a signed E-Mail and reading it worked without a noticeable problem.
The process of verifying failed. The error message was "Decryption failed: no data" (sic: (German) "Entschlüsseln fehlgeschlagen: Keine Daten.") The detailed error decryption was "input error: unknown error" (sic: (German) "Eingabefehler: Unbekannter fehler").
Expected:
- The E-Mail may be verified successful.
- The E-Mail may be verified from inside the main window (GpgOL-tab)
Result:
- The verification failed. Error message: "Decryption failed: no data" | "input error: unknown error"
noticed:
- After clicking on "sign" pinentry pops up. After entering the password, the E-Mail-window will vanish behind the main-window.
1.2.b (encrypt and decrypt Using S/MIME)
Windows 7 32 Outlook 2016
Using Gpg4Win version 2.2.6 and gpgol.dll beta 1.3.0-beta85 (2015-11-04). Imported two necessary certificates in Kleopatra and authenticated them manually.
Encrypting an E-Mail with S/MIME and sending it worked without a noticeable problem.
Receiving an encrypted E-Mail worked without a problem.
Once clicked on an encrypted E-Mail, Outlook will display the encrypted text. It was necessary to open the E-Mail in an external window, navigating to the GpgOL tab and hitting "decrypt". The decrytion process itself worked without a problem.
Expected:
- decryption of the encrypted mail automatically.
Result:
- Outlook displayed the encrypted text.
- Decryption worked after manual navigating to according options in the GpgOL-tab on an external window.
1.2.c (encrypt and sign, and decrypt and verify Using S/MIME)
Windows 7 32 Outlook 2016
Using Gpg4Win version 2.2.6 and gpgol.dll beta 1.3.0-beta85 (2015-11-04). Imported two necessary certificates in Kleopatra and authenticated them manually.
Like in 1.2.a we need a case distinction.
- 1. Sign 2. Encrypt
- Signing and encrypting the E-Mail works without errors.
- Decryption works like in 1.2.b
- Verification fails like in 1.2.a
- 1. Encrypt 2. Sign
- Signing and encrypting the E-Mail works without errors.
- Decryption works like in 1.2.b
- The signing block will disappear after decryption
- Verification will not work like in 1.2.a
The attachment was not encrypted.
Expected:
- Similar behavior to 1.2.a and 1.2.b
- As mentioned in 1.1.c, the program is expected to sign and encrypt in the correct order.
Result:
- Similar behavior to 1.2.a and 1.2.b
2.1.a (Sign in KMail, Verify in Outlook, PGP/MIME)
Windows 7 32 Outlook 2016
Using Gpg4Win version 2.2.6 and gpgol.dll beta 1.3.0-beta85 (2015-11-04). Imported two necessary certificates in Kleopatra and authenticated them manually.
Imported the required certificate (B) on gpg on Linux using "gpg2 --import" and verified it using "gpg2 --edit-key <key>" and "trust".
Set up a new E-Mail Account in KMail e35 and added the openPGP-Key in the Identity section.
Signed an E-Mail using the according option on KMail and send them to the outlook client.
Signing and sending worked without problems. Receiving and verifying the E-Mail worked without a problem.
The verification process started immediately after clicking on the E-Mail. The verification was also repeatable using the way described in 1.1.a.
Expected:
- Automatic verification once clicked the E-Mail
Result:
- Automatic verification once clicked the E-Mail (Kleopatra still seems to be in the way)
- Manual verification is also possible
2.1.b (Sign in KMail, Verify in Outlook, PGP/MIME)
Windows 7 32 Outlook 2016
Using Gpg4Win version 2.2.6 and gpgol.dll beta 1.3.0-beta85 (2015-11-04). Imported two necessary certificates in Kleopatra and authenticated them manually.
Imported the required certificate on gpg on Linux using "gpg2 --import" and verified it using "gpg2 --edit-key <key>" and "trust" for both keys (source an target).
Encrypted a new E-Mail using the according option on KMail and send them to the outlook client.
Encrypting and sending worked without problems. Receiving and decrypting the E-Mail worked without a problem.
The decrpting started immediately after clicking on the E-Mail, similar to the result of 1.1.b.
Expected:
- Automatic verification once clicked the E-Mail
Result:
- Automatic verification once clicked the E-Mail (Kleopatra still seems to be in the way)
Test matrix
Legend:
? = untested
x = passed
F = failed
+++ Tested GpgOL version: X.X.X +++
Outlook | 2010 (32) | 2013 (64) | 2016 (32) | 2016 (64) | 2016 (64) | .. |
---|---|---|---|---|---|---|
Windows | 7 (64) | 8 (64) | 7 (32) | 8 (64) | 10 (64) | .. |
Testsuite 1: OL/OL | ||||||
1.1.a | ? | ? | x¹ | ? | ? | .. |
1.1.b | ? | ? | x² | ? | ? | .. |
1.1.c | ? | ? | F³ | ? | ? | .. |
1.1.d⁰ | ? | ? | ? | ? | ? | .. |
1.1.e⁰ | ? | ? | ? | ? | ? | .. |
1.1.f⁰ | ? | ? | ? | ? | ? | .. |
1.2.a | ? | ? | F | ? | ? | .. |
1.2.b | ? | ? | x¹ | ? | ? | .. |
1.2.c | ? | ? | F | ? | ? | .. |
1.2.d⁰ | ? | ? | ? | ? | ? | .. |
1.2.e⁰ | ? | ? | ? | ? | ? | .. |
1.2.f⁰ | ? | ? | ? | ? | ? | .. |
Testsuite 2: KMail/OL | ||||||
2.1.a | ? | ? | x | ? | ? | .. |
2.1.b | ? | ? | x | ? | ? | .. |
2.1.c | ? | ? | ? | ? | ? | .. |
2.1.d | ? | ? | ? | ? | ? | .. |
2.1.e | ? | ? | ? | ? | ? | .. |
2.1.f | ? | ? | ? | ? | ? | .. |
2.2.a | ? | ? | ? | ? | ? | .. |
2.2.b | ? | ? | ? | ? | ? | .. |
2.2.c | ? | ? | ? | ? | ? | .. |
2.2.d | ? | ? | ? | ? | ? | .. |
2.2.e | ? | ? | ? | ? | ? | .. |
2.2.f | ? | ? | ? | ? | ? | .. |
2.3.a | ? | ? | ? | ? | ? | .. |
2.3.b | ? | ? | ? | ? | ? | .. |
2.3.c | ? | ? | ? | ? | ? | .. |
Testsuite 3: Thunderbird/OL | ||||||
3.1.a | ? | ? | ? | ? | ? | .. |
3.1.b | ? | ? | ? | ? | ? | .. |
3.1.c | ? | ? | ? | ? | ? | .. |
3.1.d | ? | ? | ? | ? | ? | .. |
3.1.e | ? | ? | ? | ? | ? | .. |
3.1.f | ? | ? | ? | ? | ? | .. |
3.2.a | ? | ? | ? | ? | ? | .. |
3.2.b | ? | ? | ? | ? | ? | .. |
3.2.c | ? | ? | ? | ? | ? | .. |
3.2.d | ? | ? | ? | ? | ? | .. |
3.2.e | ? | ? | ? | ? | ? | .. |
3.2.f | ? | ? | ? | ? | ? | .. |
3.3.a | ? | ? | ? | ? | ? | .. |
3.3.b | ? | ? | ? | ? | ? | .. |
3.3.c | ? | ? | ? | ? | ? | .. |
- ⁰) Currently no Entry in the test plan
- ¹) To verify and decrypt an email, it is necessary to open it in an external window, which is inconvenient.
- ²) Kleopatra is popping up and requires attention (which is slightly inconvenient)
- ³) Seems to work when choosing the right combination of actions, but throws errors and is susceptible for "wrong usage"