Closed simlei closed 3 years ago
An idea of how a test check list could look like can be seen in https://github.com/jcryptool/crypto/issues/287
Will start testing the first three items, after a plan for testing is established.
@CharlotteMagister and I have just developed a checklist according to which the algorithm plug-ins are tested.
The checklist contains the following 4 points:
Due to the small size of the algorithm GUIs (maximum one dialog box with 2 pages) the checklist is much smaller than for the normal plugins (https://github.com/jcryptool/crypto/issues/287).
We decided against testing the validity of the results of the algorithms, because the algorithms are provided by the crypto-provider Bouncycastle and we trust that they are correct.
Some Algorithms do not open at all:
List to be continued
I tested Asymmetric Block Ciphers \ RSA. I did not find any issues with it, but when clicking between the Asymmetric Block Ciphers and the Operations View the change in the text displayed in the Help box appears inconsistent. Sometimes the text vanishes and sometimes it appears again.
I tested Message Authentication Codes \ HMac \ CBCmacSerpent. I did find some issues. When the user wants to specify a parameter and just adds " " (Spacebar) the field "finish" is green and the user can finish the configuration. The field expects a hexadecimal input, but when the user types for example the letter "G" two times in a row the Finish-Button can be clicked. I dontΒ΄t think this works as intended.
I tested:
Pseudo Random Number Generators \ SHA1PRNG Message Digests \ SHA384
Both working as intended.
Tested Password-Based Ciphers \ PbeWithSHAAnd3_KeyTripleDES_CBC:
Nothing happens when you try to click run button. log(TripleKey_error_20_10_2020).txt
Also tested Signatures \ MeRSA:
You cant decrypt message, the key dissapears. log(Mersa_20_10_2020).txt
Working: Signatures \ IQGQSignature \ IQGQ Signatures \ DSASignature \ RAW/DSA Signatures \ RSASignaturePKCS1v15 \ RIPEMD160/RSA
Closed with the release of v1.0.0
Test Algorithm-Perspective
TODO: while testing the first ones, develop a scheme for evaluation like in #287. Try to find a good trade-off to the effect of maximum efficiency (we only want to see if there are any systemic problems).