Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Test algorithm perspective functionality #296

Closed
simlei opened this issue Apr 23, 2020 · 10 comments
Closed

Test algorithm perspective functionality #296

simlei opened this issue Apr 23, 2020 · 10 comments
Milestone

Comments

@simlei
Copy link
Member

simlei commented Apr 23, 2020

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).

These UI paths were deemed representative and should be tested. Post results as comments in this issue for now to be sorted out later.

Getestet Status Verfahren Kommentar
@grthor 🏁 Asymmetric Block Ciphers \ ElGamal
@CharlotteMagister / @grthor 🏁 Asymmetric Block Ciphers \ RSA
@grthor 🏁 Block Ciphers \ Twofish Help icon with no function. Dropdown for keylength selection availabel but at no time changeable
@grthor Hybrid Ciphers \ McEliecePointchevalCipher Trying to encrypt the default text with a default McElieceCCA2 freezes JCT. No exception thrown.
@grthor 🏁 Message Authentication Codes \ CMac \ CmacDESede
@grthor 🏁 Message Authentication Codes \ HMac \ HmacRIPEMD320 Outputs something, but may not be correct
@Eduard951 🏁 Message Authentication Codes \ CBCMac \ CBCmacSerpent 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.
@grthor 🏁 Message Authentication Codes \ TwoTrackMac \ TwoTrackMac160 Outputs something, but may not be correct
@Eduard951 🏁 Message Digests \ SHA384
@Eduard951 Password-Based Ciphers \ PbeWithSHAAnd3_KeyTripleDES_CBC Nothing happens when you try to click run button. log
@Eduard951 🏁 Pseudo Random Number Generators \ SHA1PRNG
@Eduard951 Signatures \ MeRSA You cant decrypt message, the key dissapears. log
@Eduard951 🏁 Signatures \ RSASignaturePKCS1v15 \ RIPEMD160/RSA
@Eduard951 🏁 Signatures \ IQGQSignature \ IQGQ
@Eduard951 🏁 Signatures \ DSASignature \ RAW/DSA
@CharlotteMagister 🏁 Signatures \ CMSSSignature \ CMSSwithSHA512andWinternitzOTS_1
@CharlotteMagister Signatures \ IQRDSASignature \ IQRDSA Mac Problem: German and English version do not output that signature verified
@CharlotteMagister Signatures \ GMSSSignature \ GMSSwithSHA512 Mac Problem: German version does not output that signature verified
@CharlotteMagister Signatures \ SSL_MD5andSHA1withRSA Exception initialising signature error
@CharlotteMagister Signatures \ MerkleOTSSignature \ MerkleOTSwithSHA512 Mac Problem: German version does not output that signature verified
@simlei simlei added this to the Final 1.0.0 milestone Apr 23, 2020
@simlei
Copy link
Member Author

simlei commented Jun 2, 2020

An idea of how a test check list could look like can be seen in #287

@CharlotteMagister
Copy link
Collaborator

Will start testing the first three items, after a plan for testing is established.

@grthor
Copy link
Member

grthor commented Jun 4, 2020

@CharlotteMagister and I have just developed a checklist according to which the algorithm plug-ins are tested.

The checklist contains the following 4 points:

  • test if all plugins are completely translated.
  • see if all GUI elements have a function.
  • check the context help for gross errors (spelling mistakes, strange phrases)
  • test whether input fields can cope with incorrect entries (e.g. enter letters in input fields for numbers)

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 (#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.

@grthor
Copy link
Member

grthor commented Oct 8, 2020

Some Algorithms do not open at all:

  • Message Authentication Codes / CBCMac / CBCMacMisty1 fixed with jcryptool/core@d1bae29
  • Message Authentication Codes / CBCMac / SAFER fixed with jcryptool/core@d1bae29
  • Message Authentication Codes / CBCMac / SAFER++ fixed with jcryptool/core@d1bae29
  • All entries in Message Authentication Codes / HMac
  • All entries in Authentication Codes / TwoTrackMac

List to be continued

@CharlotteMagister
Copy link
Collaborator

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.

@Eduard951
Copy link
Contributor

Eduard951 commented Oct 14, 2020

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.

@Eduard951
Copy link
Contributor

I tested:

Pseudo Random Number Generators \ SHA1PRNG
Message Digests \ SHA384

Both working as intended.

@Eduard951
Copy link
Contributor

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

@Eduard951
Copy link
Contributor

Working:
Signatures \ IQGQSignature \ IQGQ
Signatures \ DSASignature \ RAW/DSA
Signatures \ RSASignaturePKCS1v15 \ RIPEMD160/RSA

@simlei
Copy link
Member Author

simlei commented Jan 26, 2021

Closed with the release of v1.0.0

@simlei simlei closed this as completed Jan 26, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants