Skip to content

Add new tests about Configuration of Cryptographic Standard Algorithms (android) (by @guardsquare) - #3064

Draft
nmsa wants to merge 5 commits into
OWASP:masterfrom
nmsa:port-MASTG-TEST-0014
Draft

Add new tests about Configuration of Cryptographic Standard Algorithms (android) (by @guardsquare)#3064
nmsa wants to merge 5 commits into
OWASP:masterfrom
nmsa:port-MASTG-TEST-0014

Conversation

@nmsa

@nmsa nmsa commented Nov 7, 2024

Copy link
Copy Markdown
Contributor

NOTE from Nov 28, 2025: This PR originally addressed #2949. However the test was really about the crypto providers. I'm keeping the DRAFT PR open but retarget it for new test creation instead.

@cpholguera

Copy link
Copy Markdown
Collaborator

hey @nmsa, any news on this draft?

@nmsa

nmsa commented Dec 9, 2024

Copy link
Copy Markdown
Contributor Author

I am working on it, but as we talked the last time, the scope is a bit large so it will originate many atomic tests.
I will be able to create the new version of the PR this month, for sure

@cpholguera

Copy link
Copy Markdown
Collaborator

Sounds great, thank you @nmsa!

@cpholguera cpholguera changed the title Ports MASTG-TEST-0014 (by @guardsquare) Ports MASTG-TEST-0014: Testing the Configuration of Cryptographic Standard Algorithms (android) (by @guardsquare) Feb 24, 2025
The test was called "Testing the Configuration of Cryptographic Standard Algorithms", which has a very broad scope.
It is being decompoed into atomic tests, which are in different phases of preparation, as follows:

Weak Hashing Algorithms -- to be reviewed
Hardcoded Initialization Vectors -- to be reviewed
Reused Initialization Vectors -- to be reviewed
Predictable Initialization Vectors -- to be reviewed
Weak Padding -- to be reviewed

Weak Message Authentication Codes (MAC) Algorithms  -- initial version, needs work
Weak Signature Algorithms -- only placeholder
Improper Verification of Cryptographic Signature --  only placeholder
@cpholguera

Copy link
Copy Markdown
Collaborator

Hi @nmsa should we take this out of draft? Is it ready for review?

Comment thread tests-beta/android/MASVS-CRYPTO/MASTG-TEST-0x14-21.md Outdated
nmsa added 2 commits April 28, 2025 16:06
The test was called "Testing the Configuration of Cryptographic Standard Algorithms", which has a very broad scope.
It was decompoed into atomic tests, which are in different phases of preparation, as follows:

- [X] Weak Hashing Algorithms `MASTG-TEST-0x14-1`
- [X] Hardcoded Initialization Vectors `MASTG-TEST-0x14-22-1`
- [X] Reused Initialization Vectors `MASTG-TEST-0x14-22-2`
- [X] Predictable Initialization Vectors `MASTG-TEST-0x14-22-3`
- [X] Weak Padding `MASTG-TEST-0x14-23`
- [X] Weak Message Authentication Codes (MAC) Algorithms  `MASTG-TEST-0x14-24`
- [X] Weak Signature Algorithms `MASTG-TEST-0x14-25`
- [X] Improper Verification of Cryptographic Signature `MASTG-TEST-0x14-26`
@nmsa

nmsa commented Apr 28, 2025

Copy link
Copy Markdown
Contributor Author

@cpholguera available for your review.

@cpholguera cpholguera changed the title Ports MASTG-TEST-0014: Testing the Configuration of Cryptographic Standard Algorithms (android) (by @guardsquare) Port MASTG-TEST-0014: Testing the Configuration of Cryptographic Standard Algorithms (android) (by @guardsquare) May 15, 2025
@cpholguera cpholguera changed the title Port MASTG-TEST-0014: Testing the Configuration of Cryptographic Standard Algorithms (android) (by @guardsquare) Add new tests about Configuration of Cryptographic Standard Algorithms (android) (by @guardsquare) Nov 28, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants