[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[openssl-gost] [gost-engine/engine] 3b8ddf: tcl_tests: Add TCL tests files



  Branch: refs/heads/master
  Home:   https://github.com/gost-engine/engine
  Commit: 3b8ddfe2f303b8931842e52bdb5c07c97042f651
      https://github.com/gost-engine/engine/commit/3b8ddfe2f303b8931842e52bdb5c07c97042f651
  Author: Dmitry Belyavskiy <beldmit@gmail.com>
  Date:   2020-01-12 (Sun, 12 Jan 2020)

  Changed paths:
    A tcl_tests/097.ciphers
    A tcl_tests/098.ciphers
    A tcl_tests/_exists
    A tcl_tests/aes0.enc
    A tcl_tests/aes1.enc
    A tcl_tests/apache.try
    A tcl_tests/asn.tcl
    A tcl_tests/base64.tcl
    A tcl_tests/ca.try
    A tcl_tests/calchash.tcl
    A tcl_tests/calcstat
    A tcl_tests/cbc0.enc
    A tcl_tests/cbc1.enc
    A tcl_tests/cfb0.enc
    A tcl_tests/cfb1.enc
    A tcl_tests/ciphers.try
    A tcl_tests/client.try
    A tcl_tests/cms.try
    A tcl_tests/cms2.try
    A tcl_tests/cms_cs.try
    A tcl_tests/cms_io.try
    A tcl_tests/cmsenc.try
    A tcl_tests/cmsenc_cs.try
    A tcl_tests/cmsenc_io.try
    A tcl_tests/cmsenc_sc.try
    A tcl_tests/cmstc262019.try
    A tcl_tests/cnt0.enc
    A tcl_tests/cnt1.enc
    A tcl_tests/cp10.ciphers
    A tcl_tests/cp20.ciphers
    A tcl_tests/cp21.ciphers
    A tcl_tests/csp3.ciphers
    A tcl_tests/csp36.ciphers
    A tcl_tests/csp36r2.ciphers
    A tcl_tests/csp36r3.ciphers
    A tcl_tests/csp36r4.ciphers
    A tcl_tests/csp39.ciphers
    A tcl_tests/csp4.ciphers
    A tcl_tests/csp4r2.ciphers
    A tcl_tests/csp4r3.ciphers
    A tcl_tests/csp5.ciphers
    A tcl_tests/dgst.try
    A tcl_tests/dgst_CF.dat
    A tcl_tests/dgst_ex1.dat
    A tcl_tests/dgst_ex2.dat
    A tcl_tests/enc.try
    A tcl_tests/engine.try
    A tcl_tests/enums.tcl
    A tcl_tests/getengine.tcl
    A tcl_tests/http.tcl
    A tcl_tests/hwkeys.tcl
    A tcl_tests/interop.try
    A tcl_tests/kbstrike.exe
    A tcl_tests/key.pem
    A tcl_tests/mac-grasshopper.dat
    A tcl_tests/mac-magma.dat
    A tcl_tests/mac.try
    A tcl_tests/macpkm1.enc
    A tcl_tests/magma1.enc
    A tcl_tests/magma_acpkm_plain.enc
    A tcl_tests/magma_enc
    A tcl_tests/magma_plain
    A tcl_tests/magma_plain.enc
    A tcl_tests/make_other.sh
    A tcl_tests/mkn2o.tcl
    A tcl_tests/mkoidf.tcl
    A tcl_tests/name2oid.tcl
    A tcl_tests/name2oid.tst
    A tcl_tests/nopath.try
    A tcl_tests/ocsp.try
    A tcl_tests/oidfile
    A tcl_tests/opnssl.sh
    A tcl_tests/ossltest.tcl
    A tcl_tests/pkcs12.try
    A tcl_tests/pkcs7.tcl
    A tcl_tests/pkcs8.try
    A tcl_tests/pkgIndex.tcl
    A tcl_tests/plain.enc
    A tcl_tests/private/gost2001_A.pem
    A tcl_tests/private/gost2001_B.pem
    A tcl_tests/private/gost2001_C.pem
    A tcl_tests/private/gost2001_XA.pem
    A tcl_tests/private/gost2001_XB.pem
    A tcl_tests/private/gost2012_256_A.pem
    A tcl_tests/private/gost2012_256_B.pem
    A tcl_tests/private/gost2012_256_C.pem
    A tcl_tests/private/gost2012_256_XA.pem
    A tcl_tests/private/gost2012_256_XB.pem
    A tcl_tests/private/gost2012_512_A.pem
    A tcl_tests/private/gost2012_512_B.pem
    A tcl_tests/private/rsa_1024.pem
    A tcl_tests/req-genpkey.try
    A tcl_tests/req-newkey.try
    A tcl_tests/runtest.bat
    A tcl_tests/runtest.sh
    A tcl_tests/runtest1.bat
    A tcl_tests/runtest2.bat
    A tcl_tests/server.try
    A tcl_tests/smime.try
    A tcl_tests/smime2.try
    A tcl_tests/smime_cs.try
    A tcl_tests/smime_io.try
    A tcl_tests/smimeenc.try
    A tcl_tests/smimeenc_io.try
    A tcl_tests/ssl.try
    A tcl_tests/tc26_cms/encrypted_keyagree_a211.pem
    A tcl_tests/tc26_cms/encrypted_keyagree_a221.pem
    A tcl_tests/tc26_cms/encrypted_keytrans_a231.pem
    A tcl_tests/tc26_cms/encrypted_keytrans_a241.pem
    A tcl_tests/tc26_cms/encrypted_kuznyechik_a421.pem
    A tcl_tests/tc26_cms/encrypted_magma_a411.pem
    A tcl_tests/tc26_cms/encryption_key.hex
    A tcl_tests/tc26_cms/hashed_a311.pem
    A tcl_tests/tc26_cms/hashed_a321.pem
    A tcl_tests/tc26_cms/recipient256_cert.pem
    A tcl_tests/tc26_cms/recipient256_key.pem
    A tcl_tests/tc26_cms/recipient512_cert.pem
    A tcl_tests/tc26_cms/recipient512_key.pem
    A tcl_tests/tc26_cms/root256_cert.pem
    A tcl_tests/tc26_cms/root256_key.pem
    A tcl_tests/tc26_cms/sender256_cert.pem
    A tcl_tests/tc26_cms/sender256_key.pem
    A tcl_tests/tc26_cms/sender512_cert.pem
    A tcl_tests/tc26_cms/sender512_key.pem
    A tcl_tests/tc26_cms/signed_a111.pem
    A tcl_tests/tc26_cms/signed_a121.pem
    A tcl_tests/test.tcl
    A tcl_tests/tmpl.try
    A tcl_tests/ts.try
    A tcl_tests/vn4.ciphers
    A tcl_tests/wcli.try
    A tcl_tests/yarrowc.tcl

  Log Message:
  -----------
  tcl_tests: Add TCL tests files

All source files are converted from cp1251 to utf-8.


  Commit: b0f5bce10dcc05198e2e58ee08e1cc3dcd3d1aea
      https://github.com/gost-engine/engine/commit/b0f5bce10dcc05198e2e58ee08e1cc3dcd3d1aea
  Author: Vitaly Chikunov <vt@altlinux.org>
  Date:   2020-01-12 (Sun, 12 Jan 2020)

  Changed paths:
    M tcl_tests/ca.try
    M tcl_tests/calchash.tcl
    M tcl_tests/calcstat
    M tcl_tests/client.try
    M tcl_tests/cms.try
    M tcl_tests/cms2.try
    M tcl_tests/cms_cs.try
    M tcl_tests/cms_io.try
    M tcl_tests/cmsenc.try
    M tcl_tests/cmsenc_cs.try
    M tcl_tests/cmsenc_io.try
    M tcl_tests/cmsenc_sc.try
    M tcl_tests/dgst.try
    M tcl_tests/enc.try
    M tcl_tests/engine.try
    M tcl_tests/http.tcl
    M tcl_tests/hwkeys.tcl
    M tcl_tests/mac.try
    M tcl_tests/make_other.sh
    M tcl_tests/nopath.try
    M tcl_tests/ocsp.try
    M tcl_tests/pkcs12.try
    M tcl_tests/pkgIndex.tcl
    M tcl_tests/req-genpkey.try
    M tcl_tests/req-newkey.try
    M tcl_tests/runtest.sh
    M tcl_tests/server.try
    M tcl_tests/smime.try
    M tcl_tests/smime2.try
    M tcl_tests/smime_cs.try
    M tcl_tests/smime_io.try
    M tcl_tests/smimeenc.try
    M tcl_tests/smimeenc_io.try
    M tcl_tests/ssl.try
    M tcl_tests/test.tcl
    M tcl_tests/ts.try
    M tcl_tests/wcli.try

  Log Message:
  -----------
  tcl_tests: Make utf-8 encoding work

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


  Commit: 46da0131e71906a5ec206a0c2b7fb60f74bb6844
      https://github.com/gost-engine/engine/commit/46da0131e71906a5ec206a0c2b7fb60f74bb6844
  Author: Vitaly Chikunov <vt@altlinux.org>
  Date:   2020-01-12 (Sun, 12 Jan 2020)

  Changed paths:
    M CMakeLists.txt
    A tcl_tests/openssl-gost.cnf
    M tcl_tests/runtest.sh
    M tcl_tests/test.tcl

  Log Message:
  -----------
  tcl_tests: Integrate TCL tests into build system

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.


  Commit: cbf239c24b502cde53f027bff442f33b5e9f3a63
      https://github.com/gost-engine/engine/commit/cbf239c24b502cde53f027bff442f33b5e9f3a63
  Author: Vitaly Chikunov <vt@altlinux.org>
  Date:   2020-01-12 (Sun, 12 Jan 2020)

  Changed paths:
    M tcl_tests/engine.try

  Log Message:
  -----------
  tcl_tests: Fix engine.try (add more algos)


  Commit: 10576d5b3387fdb1f014e60a9c2bda97dbe6a593
      https://github.com/gost-engine/engine/commit/10576d5b3387fdb1f014e60a9c2bda97dbe6a593
  Author: Vitaly Chikunov <vt@altlinux.org>
  Date:   2020-01-12 (Sun, 12 Jan 2020)

  Changed paths:
    M tcl_tests/runtest.sh

  Log Message:
  -----------
  tcl_tests: Allow running tests separately

For debug purposes.

Example:
  sh ./runtest.sh dgst pkcs8


  Commit: c4e68c4e124ec29bd3c9c88fd8fdca77e6292f38
      https://github.com/gost-engine/engine/commit/c4e68c4e124ec29bd3c9c88fd8fdca77e6292f38
  Author: Vitaly Chikunov <vt@altlinux.org>
  Date:   2020-01-12 (Sun, 12 Jan 2020)

  Changed paths:
    M tcl_tests/pkcs8.try

  Log Message:
  -----------
  tcl_tests: Fix pkcs8 test (showing public key)


  Commit: f5a7dc7363a68ce4a79ec3d3fffc8e924e988ad4
      https://github.com/gost-engine/engine/commit/f5a7dc7363a68ce4a79ec3d3fffc8e924e988ad4
  Author: Vitaly Chikunov <vt@altlinux.org>
  Date:   2020-01-12 (Sun, 12 Jan 2020)

  Changed paths:
    M tcl_tests/ossltest.tcl

  Log Message:
  -----------
  tcl_tests: Fix req-genpkey test (show OID for gost2012_256:0)


  Commit: 4d484e7d55987e87256563a7c2c5148fb6bb8aa2
      https://github.com/gost-engine/engine/commit/4d484e7d55987e87256563a7c2c5148fb6bb8aa2
  Author: Vitaly Chikunov <vt@altlinux.org>
  Date:   2020-01-12 (Sun, 12 Jan 2020)

  Changed paths:
    M tcl_tests/req-newkey.try

  Log Message:
  -----------
  tcl_tests: Fix and extend req-newkey test (with TC26 parameters)

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


  Commit: 9aa10ba25786b585e29c3f396d74bc4b3594467b
      https://github.com/gost-engine/engine/commit/9aa10ba25786b585e29c3f396d74bc4b3594467b
  Author: Vitaly Chikunov <vt@altlinux.org>
  Date:   2020-01-12 (Sun, 12 Jan 2020)

  Changed paths:
    M tcl_tests/pkcs12.try

  Log Message:
  -----------
  tcl_tests: Add more parameters to pkcs12 test


  Commit: c60fb20676ad9420e14e5d3377267c2bc620e6ea
      https://github.com/gost-engine/engine/commit/c60fb20676ad9420e14e5d3377267c2bc620e6ea
  Author: Vitaly Chikunov <vt@altlinux.org>
  Date:   2020-01-12 (Sun, 12 Jan 2020)

  Changed paths:
    M tcl_tests/ca.try
    M tcl_tests/ossltest.tcl

  Log Message:
  -----------
  tcl_tests: Fix and extend ca test

- Add more curves to test.
- Properly handle R 1323565.1.023-2018 (5.2.1.2) - absence of
  digestParamSet for some curves.


  Commit: 08f954f1d335acf54e28c580e05dd3699571909f
      https://github.com/gost-engine/engine/commit/08f954f1d335acf54e28c580e05dd3699571909f
  Author: Vitaly Chikunov <vt@altlinux.org>
  Date:   2020-01-12 (Sun, 12 Jan 2020)

  Changed paths:
    M tcl_tests/enc.try

  Log Message:
  -----------
  tcl_tests: Fix and update enc test

- Set expected default value for CRYPT_PARAMS.
- Disable `RIC 1' params tests.
- Disable `Magma-ACPKM' test.
- Update test descriptions to include cipher name.


  Commit: f74ade0b36020023b21bb6b452c6cc0f55c4105a
      https://github.com/gost-engine/engine/commit/f74ade0b36020023b21bb6b452c6cc0f55c4105a
  Author: Vitaly Chikunov <vt@altlinux.org>
  Date:   2020-01-12 (Sun, 12 Jan 2020)

  Changed paths:
    M tcl_tests/smimeenc.try
    M tcl_tests/smimeenc_io.try

  Log Message:
  -----------
  tcl_tests: Fix smimeenc test by removing entries with empty params

This is not robust to have such tests.


  Commit: 7602f251c8d19e0085129e07b4e81a8fbdc3f1a2
      https://github.com/gost-engine/engine/commit/7602f251c8d19e0085129e07b4e81a8fbdc3f1a2
  Author: Vitaly Chikunov <vt@altlinux.org>
  Date:   2020-01-12 (Sun, 12 Jan 2020)

  Changed paths:
    M tcl_tests/cms.try
    M tcl_tests/smime_io.try

  Log Message:
  -----------
  tcl_tests: Fix cms and smime_io tests by telling that signature is -binary

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:


  Commit: 655876655d0a3ab1a7898331c0b5187db6e843ad
      https://github.com/gost-engine/engine/commit/655876655d0a3ab1a7898331c0b5187db6e843ad
  Author: Vitaly Chikunov <vt@altlinux.org>
  Date:   2020-01-12 (Sun, 12 Jan 2020)

  Changed paths:
    M tcl_tests/ssl.try

  Log Message:
  -----------
  tcl_tests: Disable failing ssl tests and suites

Remove GOST2012-MAGMA-MAGMAOMAC and GOST2012-KUZNYECHIK-KUZNYECHIKOMAC
suites from the test.

Disable handshake tests.


  Commit: f3181ef3445c9b2be3ee438da1874fa07e668b55
      https://github.com/gost-engine/engine/commit/f3181ef3445c9b2be3ee438da1874fa07e668b55
  Author: Vitaly Chikunov <vt@altlinux.org>
  Date:   2020-01-12 (Sun, 12 Jan 2020)

  Changed paths:
    M tcl_tests/ocsp.try

  Log Message:
  -----------
  tcl_tests: Fix ocsp test by removing -md_gost94 option

Otherwise you'll get:

  ocsp: Digest must be before -cert or -serial
  ocsp: Use -help for summary.


  Commit: 65676eb409dd79b1d1b3b37b0ae71bc627ec63d4
      https://github.com/gost-engine/engine/commit/65676eb409dd79b1d1b3b37b0ae71bc627ec63d4
  Author: Vitaly Chikunov <vt@altlinux.org>
  Date:   2020-01-12 (Sun, 12 Jan 2020)

  Changed paths:
    M .travis.yml

  Log Message:
  -----------
  travis-ci: Remove redundant linux/gcc test

Fis was same as the first test.


  Commit: 58710773611a1ed466cc9a5078e2c0ab52259ae0
      https://github.com/gost-engine/engine/commit/58710773611a1ed466cc9a5078e2c0ab52259ae0
  Author: Vitaly Chikunov <vt@altlinux.org>
  Date:   2020-01-12 (Sun, 12 Jan 2020)

  Changed paths:
    M .travis.yml

  Log Message:
  -----------
  travis-ci: Add tcl_tests to the builds


  Commit: 1d36903aadb45850650e8113c6367893140d40af
      https://github.com/gost-engine/engine/commit/1d36903aadb45850650e8113c6367893140d40af
  Author: Vitaly Chikunov <vt@altlinux.org>
  Date:   2020-01-12 (Sun, 12 Jan 2020)

  Changed paths:
    M tcl_tests/runtest.sh

  Log Message:
  -----------
  tcl_tests: Rearrange runtest.sh to run from dirrerent env

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.


  Commit: 07743c1340bebbaba78525d0d22c9104732c3f1d
      https://github.com/gost-engine/engine/commit/07743c1340bebbaba78525d0d22c9104732c3f1d
  Author: Vitaly Chikunov <vt@altlinux.org>
  Date:   2020-01-12 (Sun, 12 Jan 2020)

  Changed paths:
    M tcl_tests/runtest.sh

  Log Message:
  -----------
  tcl_tests: Abbreviate output when run under CI

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


  Commit: e3eee4545d1ca455ecb70d47dc6623162aeeccc0
      https://github.com/gost-engine/engine/commit/e3eee4545d1ca455ecb70d47dc6623162aeeccc0
  Author: Vitaly Chikunov <vt@altlinux.org>
  Date:   2020-01-12 (Sun, 12 Jan 2020)

  Changed paths:
    M .travis.yml

  Log Message:
  -----------
  travis-ci: Fix quietness of building of openssl

No need for `build.log' as `make -s' will output any failure.

Also, redirection was broken anyway since splitting make into two makes
with separate `-j' and install phase.

Add `travis_wait' to make traves not time-out on slow arches. Reference:
  https://docs.travis-ci.com/user/common-build-problems/#build-times-out-because-no-output-was-received

Fixes: c38ec7587 ("travis: speed up Travis build")


  Commit: 172279e7396a6c4148a4ffb5719ef82e08641cd7
      https://github.com/gost-engine/engine/commit/172279e7396a6c4148a4ffb5719ef82e08641cd7
  Author: Vitaly Chikunov <vt@altlinux.org>
  Date:   2020-01-12 (Sun, 12 Jan 2020)

  Changed paths:
    M .travis.yml

  Log Message:
  -----------
  travis-ci: Add descriptive names to the tests

Format is `os/compiler[+env]/arch'.


  Commit: 062e004e48a9087de55e598afc4a78f72e7f4248
      https://github.com/gost-engine/engine/commit/062e004e48a9087de55e598afc4a78f72e7f4248
  Author: Ilya Shipitsin <chipitsine@gmail.com>
  Date:   2020-01-12 (Sun, 12 Jan 2020)

  Changed paths:
    M .travis.yml

  Log Message:
  -----------
  travis-ci: remove redundant cpanminus installation, remove cmake compile from source


Compare: https://github.com/gost-engine/engine/compare/e09d5a86fe1c...062e004e48a9