diff options
| author | Petr Svenda | 2019-12-23 14:07:22 +0100 |
|---|---|---|
| committer | Petr Svenda | 2019-12-23 14:07:22 +0100 |
| commit | 3f454f3d6d5a4675aa6aa492e5c73c988526b929 (patch) | |
| tree | 80d526e9b5d189d6f2426e6dfdab0466d9e67f08 /src | |
| parent | 59f3ecfaade6c7c62f75b3886e8cd3ed5e15c728 (diff) | |
| download | sec-certs-3f454f3d6d5a4675aa6aa492e5c73c988526b929.tar.gz sec-certs-3f454f3d6d5a4675aa6aa492e5c73c988526b929.tar.zst sec-certs-3f454f3d6d5a4675aa6aa492e5c73c988526b929.zip | |
added out of scope keyword extraction
Diffstat (limited to 'src')
| -rw-r--r-- | src/cert_rules.py | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/src/cert_rules.py b/src/cert_rules.py index 7aa85b39..16f60235 100644 --- a/src/cert_rules.py +++ b/src/cert_rules.py @@ -121,7 +121,8 @@ rules_crypto_algs = [ 'AES[-]*(?:128|192|256|)', 'SHA-1', 'MD5', - 'HMAC', + 'HMAC,' + 'HMAC-SHA-(?:160|224|256|384|512)', 'Diffie-Hellman', 'ECDSA', 'DES', @@ -170,6 +171,12 @@ rules_defenses = [ ] +rules_certification_process = [ + '[oO]ut of [sS]cope', + '[\.\(].{0,100}?.[oO]ut of [sS]cope..{0,100}?[\.\)]', + '.{0,100}[oO]ut of [sS]cope.{0,100}', + ] + rules_other = [ 'library', ] @@ -191,4 +198,5 @@ rules['rules_cplc'] = rules_cplc rules['rules_crypto_engines'] = rules_crypto_engines rules['rules_crypto_libs'] = rules_crypto_libs rules['rules_defenses'] = rules_defenses +rules['rules_certification_process'] = rules_certification_process rules['rules_other'] = rules_other |
