Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2024-03-22 | tcl_tests: ca.try: Ignore openssl crl exit status for 'corrupted CRL' testHEADmaster | Vitaly Chikunov | 1 | -2/+1 | |
Older `openssl crl` exits with 0 in regard to verify no matter actual verify status, newer `openssl crl` could exit with 1 on verify failure. Make the test backward-compatible comparing only an output. Fixes: https://github.com/gost-engine/engine/issues/452 Signed-off-by: Vitaly Chikunov <vt@altlinux.org> | |||||
2024-03-22 | tcl_tests: Introduce new exitStatus -1 to ignore exit codes | Vitaly Chikunov | 1 | -1/+2 | |
It's proposed[1] that crl and req change exit code making it unreliable for some commands. Allow tests to ignore exit codes by specifying expected exit code `-1`. This will also make such tests to always use regexp match mode. Also, slightly fix the logic of applying regexp. Commentary says test _parameter_ (`exitStatus`) 1 is used to trigger regexp matching but in fact actual command exit code (`status`) 1 is used for that. This change did not cause any test result difference. Link: https://github.com/openssl/openssl/pull/23773 Signed-off-by: Vitaly Chikunov <vt@altlinux.org> | |||||
2023-07-28 | Adjust CA test according to new wordingv3.0.2 | Dmitry Belyavskiy | 1 | -3/+3 | |
2022-12-02 | Implementation of the MGM mode for magma/kuznyechik | igrkir | 1 | -1/+1 | |
first implemented in ossl_patched branch uses dynamic NIDs Signed-off-by: Sergei Ianovich <sergei.ianovich@ya.ru> | |||||
2022-09-25 | updating CA constraints | Dmitry Belyavskiy | 1 | -1/+23 | |
2022-08-11 | Add magma-ecb mode. Fixes #410 | Mark Fedorov | 1 | -2/+2 | |
2022-05-04 | Make TLS tests on SECLEVEL 0 | Dmitry Belyavskiy | 1 | -14/+14 | |
As https://github.com/openssl/openssl/pull/18236 is going to ban SSL3, TLS1, TLS1.1 and DTLS1.0 at security level one and above, we have to adjust GOST TLS tests. | |||||
2021-10-07 | Explicitly provide SECLEVEL for TLS tests | Dmitry Belyavskiy | 1 | -14/+14 | |
2021-09-16 | We don't want depend on spacing around equal sign | Dmitry Belyavskiy | 3 | -26/+26 | |
...in DN output | |||||
2021-03-30 | Don't put test results or intermediary files in the source tree | Richard Levitte | 5 | -11/+31 | |
When building in a directory that's separate from the source directory, test results should end up in the build directory, not the source directory. Essentially, unless you do build in the source directory, it should be regarded as read-only when building. | |||||
2021-01-20 | Fixed tests to match the current messages | Dmitry Belyavskiy | 2 | -8/+8 | |
2020-11-28 | Tests updated to support GOST2001DH | Dmitry Belyavskiy | 1 | -1/+1 | |
2020-08-28 | Tests adjustment | Dmitry Belyavskiy | 1 | -7/+7 | |
2020-08-20 | Update test to match current openssl messages | Dmitry Belyavskiy | 3 | -13/+13 | |
2020-08-13 | SSL tests fix | Dmitry Belyavskiy | 1 | -7/+7 | |
2020-05-10 | Finally normally passing MAC tests | Dmitry Belyavskiy | 2 | -22/+21 | |
2020-05-10 | Restore kuznyechik-mac test | Dmitry Belyavskiy | 1 | -4/+4 | |
2020-05-10 | Reenable some hmac tests | Dmitry Belyavskiy | 1 | -15/+15 | |
2020-05-09 | Enabling TC26 CMS tests | Dmitry Belyavskiy | 4 | -10/+28 | |
2020-05-09 | magma-ctr-acpkm + magma-ctr-acpkm-omac | Dmitry Belyavskiy | 1 | -1/+1 | |
2020-05-06 | -debug_decrypt option | Dmitry Belyavskiy | 1 | -10/+10 | |
2020-05-06 | Update rsa cms/smime tests to avoid regression | Dmitry Belyavskiy | 1 | -1/+1 | |
2020-05-06 | Allow IANA ciphersuite | Dmitry Belyavskiy | 1 | -1/+1 | |
2020-05-06 | Fix failing ssl tests | Dmitry Belyavskiy | 1 | -6/+6 | |
2020-05-04 | Update CA verification test | Dmitry Belyavskiy | 1 | -6/+2 | |
2020-05-04 | Typo in CA verify command | Dmitry Belyavskiy | 1 | -1/+1 | |
2020-05-04 | Fixing ca cert verification | Dmitry Belyavskiy | 1 | -1/+1 | |
2020-05-04 | Temporary commented out weird failure | Dmitry Belyavskiy | 1 | -3/+4 | |
2020-05-04 | Try to make mac test happy | Dmitry Belyavskiy | 1 | -17/+18 | |
2020-05-04 | TCL engine test updated | Dmitry Belyavskiy | 1 | -1/+1 | |
2020-01-12 | tcl_tests: Abbreviate output when run under CI | Vitaly Chikunov | 1 | -1/+15 | |
To make CI output not too long - output only header of every test set and output only relevant log entries on test failures. When `CI' env is defined. Which should be defined for both Travis and Cirrus. Reference: https://docs.travis-ci.com/user/environment-variables/ https://cirrus-ci.org/guide/writing-tasks/#environment-variables | |||||
2020-01-12 | tcl_tests: Rearrange runtest.sh to run from dirrerent env | Vitaly Chikunov | 1 | -1/+8 | |
Add more debug output to fix Travis-CI issues. Move definition of OPENSSL_CONF above first tcl test run. Define OPENSSL_ENGINES from ENGINE_DIR by default. | |||||
2020-01-12 | tcl_tests: Fix ocsp test by removing -md_gost94 option | Vitaly Chikunov | 1 | -2/+2 | |
Otherwise you'll get: ocsp: Digest must be before -cert or -serial ocsp: Use -help for summary. | |||||
2020-01-12 | tcl_tests: Disable failing ssl tests and suites | Vitaly Chikunov | 1 | -4/+4 | |
Remove GOST2012-MAGMA-MAGMAOMAC and GOST2012-KUZNYECHIK-KUZNYECHIKOMAC suites from the test. Disable handshake tests. | |||||
2020-01-12 | tcl_tests: Fix cms and smime_io tests by telling that signature is -binary | Vitaly Chikunov | 2 | -2/+2 | |
Verification failure 139891902039680:error:2E09A09E:CMS routines:CMS_SignerInfo_verify_content:verification failure:crypto/cms/cms_sd.c:848: 139891902039680:error:2E09D06D:CMS routines:CMS_verify:content verify error:crypto/cms/cms_smime.c:393: | |||||
2020-01-12 | tcl_tests: Fix smimeenc test by removing entries with empty params | Vitaly Chikunov | 2 | -2/+2 | |
This is not robust to have such tests. | |||||
2020-01-12 | tcl_tests: Fix and update enc test | Vitaly Chikunov | 1 | -33/+39 | |
- Set expected default value for CRYPT_PARAMS. - Disable `RIC 1' params tests. - Disable `Magma-ACPKM' test. - Update test descriptions to include cipher name. | |||||
2020-01-12 | tcl_tests: Fix and extend ca test | Vitaly Chikunov | 2 | -8/+29 | |
- Add more curves to test. - Properly handle R 1323565.1.023-2018 (5.2.1.2) - absence of digestParamSet for some curves. | |||||
2020-01-12 | tcl_tests: Add more parameters to pkcs12 test | Vitaly Chikunov | 1 | -1/+10 | |
2020-01-12 | tcl_tests: Fix and extend req-newkey test (with TC26 parameters) | Vitaly Chikunov | 1 | -1/+7 | |
`gost2012_512:C' was reported as invalid but it's now valid parameter. Also, add TC26 `TC{A,B,C,D}' parameters (note different OIDs). | |||||
2020-01-12 | tcl_tests: Fix req-genpkey test (show OID for gost2012_256:0) | Vitaly Chikunov | 1 | -1/+1 | |
2020-01-12 | tcl_tests: Fix pkcs8 test (showing public key) | Vitaly Chikunov | 1 | -0/+9 | |
2020-01-12 | tcl_tests: Allow running tests separately | Vitaly Chikunov | 1 | -0/+6 | |
For debug purposes. Example: sh ./runtest.sh dgst pkcs8 | |||||
2020-01-12 | tcl_tests: Fix engine.try (add more algos) | Vitaly Chikunov | 1 | -1/+1 | |
2020-01-12 | tcl_tests: Integrate TCL tests into build system | Vitaly Chikunov | 3 | -5/+24 | |
Run `make tcl_tests' to run the tests. Tests report success state to make. Tests aren't run by default because of too many failures, yet. | |||||
2020-01-12 | tcl_tests: Make utf-8 encoding work | Vitaly Chikunov | 37 | -59/+13 | |
- Remove emacs coding: cp1251 tag - Change stats file encoding to utf-8 - Change packages source to have -encoding utf-8 - Run tclsh with -encoding utf-8 - Make `proc rus' noop. This will make Tcl automatically translate scripts output from utf-8 to system encoding. | |||||
2020-01-12 | tcl_tests: Add TCL tests files | Dmitry Belyavskiy | 132 | -0/+9730 | |
All source files are converted from cp1251 to utf-8. |