Nicolas Williams
cbe156d927
Use OpenSSL 3.x _only_ and implement RFC 8636
...
- No more OpenSSL 1.x support
- Remove 1DES and 3DES
- Remove NETLOGON, NTLM (client and 'digest' service)
2026-01-18 19:06:16 -06:00
Nicolas Williams
7439820618
hcrypto, otp: Remove hcrypto and otp!
...
We must switch to OpenSSL 3.x, and getting lib/hcrypto to provide
OpenSSL 3.x APIs is too large an undertaking. Plus the hcrypto backend
is not safe, not secure (probably has timing leaks galore), and no one
has the resources to make it a world-class crypto library, so it just
has to go.
2026-01-18 16:09:31 -06:00
Joseph Sutton
61bf5009a0
hx509: Fix spelling of error messages
...
Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz >
2023-11-28 21:34:35 -05:00
Viktor Dukhovni
46e0bd3c68
Use P-256 for EC tests
...
Fedora/RedHat OpenSSL supports only P-256, P-384 and P-521.
The new mkcert.sh script can create updated certs when these
expire on Jan 17th 2038.
2014-03-12 21:18:03 -04:00
Love Hornquist Astrand
5e3e5a6497
test more then one signer
2010-08-10 10:19:16 -07:00
Love Hornquist Astrand
edb688c1e7
don't run EC test if there is broken EC support
2009-08-21 14:04:13 -07:00
Love Hörnquist Åstrand
806551e98f
test sha256
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@25125 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-04-16 08:26:03 +00:00
Love Hörnquist Åstrand
85c9cf9a76
add allow weak crypto flag
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24961 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-03-26 23:12:45 +00:00
Love Hörnquist Åstrand
18512a864c
fix quoting
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24666 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-02-09 17:17:59 +00:00
Love Hörnquist Åstrand
0254c6a681
Test signing cms data with ecdsa.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24662 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-02-09 17:16:54 +00:00
Love Hörnquist Åstrand
896e99c291
test unsigned SignedData
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24586 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-02-04 22:05:31 +00:00
Love Hörnquist Åstrand
e172367898
switch to utf8 encoding of all files
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23814 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-09-13 08:53:55 +00:00
Love Hörnquist Åstrand
6ace7f4af6
Test verifying PEM signature files.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22652 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-02-26 12:28:52 +00:00
Love Hörnquist Åstrand
1761c997f6
test creation of PEM signeddata.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21311 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-25 18:26:37 +00:00
Love Hörnquist Åstrand
58ecb90252
Test --id-by-name.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21272 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-24 19:27:34 +00:00
Love Hörnquist Åstrand
4149100c58
test --content-type.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21169 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-19 00:11:53 +00:00
Love Hörnquist Åstrand
9e01858ba1
Test cms peer-alg.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20940 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-06 20:56:54 +00:00
Love Hörnquist Åstrand
4f97424296
turn on stat collecting
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20782 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-02 00:46:00 +00:00
Love Hörnquist Åstrand
b9da6ebef0
sprinle stat saveing
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20780 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-01 22:17:03 +00:00
Love Hörnquist Åstrand
b9f5ea7628
Support detached sigatures.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20166 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-02-03 22:44:14 +00:00
Love Hörnquist Åstrand
8a02fd12ed
no random, no RSA/DH tests
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19858 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-01-11 20:48:34 +00:00
Love Hörnquist Åstrand
caf1dff34b
Tests for CMS SignedData with incomplete chain from the signer.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19226 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-12-05 23:43:45 +00:00
Love Hörnquist Åstrand
4f9be7d03f
Parameterise the invocation of hxtool, so we can make it run under TESTS_ENVIRONMENT. From Andrew Bartlett
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18388 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-10-10 09:24:07 +00:00
Love Hörnquist Åstrand
35287059cf
Add cms test for digitalSignature and keyEncipherment certs.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18020 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-09-05 19:14:55 +00:00
Love Hörnquist Åstrand
1d8bb73fcf
DH and RSA method names are renamed
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17503 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-05-07 11:59:30 +00:00
Love Hörnquist Åstrand
b98b142233
SKIP test if there is no RSA support.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17183 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-04-23 20:41:53 +00:00
Love Hörnquist Åstrand
4e36fc3e98
Test that certs in signed data is picked up.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17168 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-04-22 12:07:01 +00:00
Love Hörnquist Åstrand
d459cbb457
Test generating des-ede3 aes-128 aes-256 enveloped data
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17161 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-04-22 07:35:13 +00:00
Love Hörnquist Åstrand
81f51b2dba
add tests for enveloped data using des-ede3 and aes256
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17157 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-04-22 07:11:38 +00:00
Love Hörnquist Åstrand
8bbd1c18e7
quiet down
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17156 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-04-22 07:07:26 +00:00
Love Hörnquist Åstrand
60581c73b0
check with test.combined.crt.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17145 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-04-21 21:12:15 +00:00
Love Hörnquist Åstrand
2c77a16770
Test signed data using keyfile that is encrypted.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17140 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-04-21 15:04:52 +00:00
Love Hörnquist Åstrand
5f401a4cc1
Add commeted out password protected PEM file, remove password for
...
those tests that doesn't need it.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17127 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-04-21 12:45:08 +00:00
Love Hörnquist Åstrand
d21857e2fb
adapt test now that we can use any certificate and trust anchor
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17123 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-04-21 11:27:22 +00:00
Love Hörnquist Åstrand
ab868c1a2a
test rc2-40 rc2-64 rc2-128 enveloped data
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17070 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-04-14 21:02:00 +00:00
Love Hörnquist Åstrand
d7379e76d2
rename missing-crl to missing-revoke
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16898 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-04-01 00:30:45 +00:00
Love Hörnquist Åstrand
e1284cccf5
Use static file, add --missing-crl.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16605 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-01-19 18:06:40 +00:00
Love Hörnquist Åstrand
f3a5546ac9
Pass in password, add more tests.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16021 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-09-03 21:04:21 +00:00
Love Hörnquist Åstrand
badd92116b
pass in password to cms-create-sd
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16018 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-09-03 20:47:52 +00:00
Love Hörnquist Åstrand
97749b61d7
Use --certificate= for enveloped/unenvelope.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15824 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-07-28 07:41:03 +00:00
Love Hörnquist Åstrand
e7e008d515
add EnvelopeData tests
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15821 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-07-27 23:53:41 +00:00
Love Hörnquist Åstrand
09977986dc
verify ContentInfo wrapping code in hxtool
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15809 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-07-27 21:42:32 +00:00
Love Hörnquist Åstrand
73187c0202
test more cms signeddata messages
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15806 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-07-27 21:23:03 +00:00
Love Hörnquist Åstrand
03717b6fd4
add more cms tests
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15783 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-07-27 19:01:21 +00:00
Love Hörnquist Åstrand
1c9aeb2f70
test for cms
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15778 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-07-27 15:23:46 +00:00