Love Hörnquist Åstrand
6dbdfd41fc
x
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19240 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-12-06 10:36:15 +00:00
Love Hörnquist Åstrand
8bc1396160
(_hx509_calculate_path): add flag to allow leaving out trust anchor
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19239 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-12-06 10:35:16 +00:00
Love Hörnquist Åstrand
d58d796709
(hx509_cms_create_signed_1): when building the path, omit the trust
...
anchors.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19238 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-12-06 10:34:39 +00:00
Love Hörnquist Åstrand
7a308c3ab3
add HX509_CALCULATE_PATH_NO_ANCHOR
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19237 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-12-06 10:32:42 +00:00
Love Hörnquist Åstrand
dddb1000d7
x
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19236 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-12-06 10:25:12 +00:00
Love Hörnquist Åstrand
e99ef09706
(rsa_create_signature): Abort when signature is longer, not shorter.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19235 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-12-06 10:23:14 +00:00
Love Hörnquist Åstrand
2243d26b39
x
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19234 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-12-06 08:05:36 +00:00
Love Hörnquist Åstrand
3154e1056e
Use strcspn to remove \n from string returned by fgets.
...
From Björn Sandell
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19233 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-12-06 08:04:05 +00:00
Love Hörnquist Åstrand
9de2bce244
x
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19232 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-12-06 07:48:46 +00:00
Love Hörnquist Åstrand
e7a2d233f5
Add rsakey.der to EXTRA_DIST.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19231 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-12-06 07:48:27 +00:00
Love Hörnquist Åstrand
6134eea21c
x
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19230 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-12-05 23:47:28 +00:00
Love Hörnquist Åstrand
a3ece41637
Provide time to _hx509_calculate_path so we don't send no longer valid certs to our peer.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19229 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-12-05 23:47:11 +00:00
Love Hörnquist Åstrand
0528938895
(find_parent): when checking for certs and its not a trust anchor,
...
require time be in range.
(_hx509_query_match_cert): Add time validity-testing to query mask
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19228 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-12-05 23:46:19 +00:00
Love Hörnquist Åstrand
db093bb975
add time validity-testing to query mask
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19227 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-12-05 23:44:32 +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
38f4b80b48
x
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19225 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-12-05 22:45:42 +00:00
Love Hörnquist Åstrand
db71758e08
Add test_crypto.in to EXTRA_DIST.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19224 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-12-05 22:28:00 +00:00
Love Hörnquist Åstrand
8079e0a3dd
Split built programs and scripts for tests
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19223 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-12-05 19:57:07 +00:00
Love Hörnquist Åstrand
fb4bac7d1a
x
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19220 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-12-05 07:44:08 +00:00
Love Hörnquist Åstrand
7930ababe4
Add more spaces to allow sh to parse this
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19219 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-12-05 07:39:08 +00:00
Love Hörnquist Åstrand
0afbff54bc
x
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19218 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-12-04 23:55:05 +00:00
Love Hörnquist Åstrand
084786dcf9
Explain what the fixed "sha1" checksum test tries to test.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19217 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-12-04 23:53:30 +00:00
Love Hörnquist Åstrand
238e717568
Clear errno before calling the strtol functions. From Paul Stoeber to
...
OpenBSD by Ray Lai and Björn Sandell.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19215 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-12-04 23:41:18 +00:00
Love Hörnquist Åstrand
623e559f60
x
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19214 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-12-04 23:37:17 +00:00
Love Hörnquist Åstrand
487bcca4e2
Use strcspn to remove \n from fgets result. Prompted by change by Ray
...
Lai of OpenBSD via Björn Sandell.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19213 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-12-04 23:36:36 +00:00
Love Hörnquist Åstrand
768fb6de89
x
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19211 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-12-04 23:22:01 +00:00
Love Hörnquist Åstrand
a4990b9b3c
x
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19210 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-12-04 21:56:34 +00:00
Love Hörnquist Åstrand
7a5f41d9a1
rsa and crypto engine test cases
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19209 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-12-04 21:40:56 +00:00
Love Hörnquist Åstrand
26b0f36b4f
Make faster and less verbose
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19208 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-12-04 21:40:19 +00:00
Love Hörnquist Åstrand
31bfa2d1cb
test rsa key
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19207 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-12-04 21:36:19 +00:00
Love Hörnquist Åstrand
c50d6599af
Test rsa operations
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19206 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-12-04 21:33:05 +00:00
Love Hörnquist Åstrand
49c442c958
Fix the rsa-decrypt failed case that been hauting me for a while.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19205 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-12-04 21:31:30 +00:00
Love Hörnquist Åstrand
d37ea650ff
Revert preious, something fishy is going on.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19204 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-12-02 09:14:55 +00:00
Love Hörnquist Åstrand
ded1164b42
x
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19203 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-12-02 09:00:29 +00:00
Love Hörnquist Åstrand
9dc51937ea
Use mp_int_to_binary to encode bignums
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19202 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-12-02 08:59:59 +00:00
Love Hörnquist Åstrand
89f9b6b049
x
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19201 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-12-02 08:49:39 +00:00
Love Hörnquist Åstrand
548ec1a806
Check if header is there
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19200 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-12-02 08:49:16 +00:00
Love Hörnquist Åstrand
9d9e6a7778
x
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19199 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-11-30 17:23:58 +00:00
Love Hörnquist Åstrand
31c6637aca
(plugin_get_hosts): be more paranoid and pass in a NULLed plugin list
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19198 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-11-30 17:23:08 +00:00
Love Hörnquist Åstrand
b8ee799cba
(kadm_connect): clear error string before trying to print a errno,
...
this way we don't pick up a random failure code
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19197 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-11-30 17:15:37 +00:00
Love Hörnquist Åstrand
64c7c462af
add more pkinit options.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19194 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-11-29 19:19:45 +00:00
Love Hörnquist Åstrand
b54d852966
add RSA_PKCS1_OAEP_PADDING
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19193 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-11-29 11:51:50 +00:00
Love Hörnquist Åstrand
247bb1c42b
Store what PK-INIT type we used to know reply to expect, this avoids
...
overwriting the real PK-INIT error from just a failed requeat with a
Windows PK-INIT error (that always failes).
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19191 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-11-29 11:47:29 +00:00
Love Hörnquist Åstrand
a23ef1734e
Add LIB_com_err to pacify AIX
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19186 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-11-29 07:18:33 +00:00
Love Hörnquist Åstrand
e13178a048
Add LIB_com_err to pacify AIX
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19185 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-11-28 22:34:38 +00:00
Love Hörnquist Åstrand
eb6b4d91a0
x
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19184 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-11-28 22:15:35 +00:00
Love Hörnquist Åstrand
66c417d257
(hx509_cms_verify_signed): specify what signature we failed to verify
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19183 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-11-28 21:50:36 +00:00
Love Hörnquist Åstrand
2f0967b969
x
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19182 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-11-28 20:08:58 +00:00
Love Hörnquist Åstrand
7c3c9f7fa1
Depend on LIB_com_err for AIX.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19181 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-11-28 20:08:32 +00:00
Love Hörnquist Åstrand
04fecea15c
Remove anther strndup that causes AIX to fall over.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19180 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-11-28 20:07:57 +00:00