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
fd5c282f7d
Default to hx509_signature_ecdsa_with_sha1 since private crypto
...
backend must be the one that selects the credential since the ec group
might not be able to handle sha256.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24665 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-02-09 17:17:43 +00:00
Love Hörnquist Åstrand
76b621899b
signing alg selection based on private key type.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24664 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-02-09 17:17:27 +00:00
Love Hörnquist Åstrand
6017ed211c
make error unique
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24663 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-02-09 17:17:11 +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
0f2af8c10f
more EC bits, now parses the private key
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24661 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-02-09 17:16:32 +00:00
Love Hörnquist Åstrand
647dde211f
more bits for ecdsa signing
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24660 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-02-09 17:16:14 +00:00
Love Hörnquist Åstrand
fead259d5d
use hx509_err
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24659 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-02-09 17:15:52 +00:00
Love Hörnquist Åstrand
8331f55413
Remove bits that never been used.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24658 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-02-07 15:13:56 +00:00
Love Hörnquist Åstrand
82c71ee5db
Make parsing of private key generic, prepare for EC private keys.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24657 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-02-07 15:13:48 +00:00
Love Hörnquist Åstrand
0dfb6450fe
Hooks for ECDSA private key ops
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24656 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-02-07 15:13:39 +00:00
Love Hörnquist Åstrand
1ebe934837
regen
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24655 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-02-07 15:13:28 +00:00
Love Hörnquist Åstrand
9d14f64819
gen ec-cert
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24654 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-02-07 15:13:19 +00:00
Love Hörnquist Åstrand
929121644a
add pre-generated ec certs
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24653 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-02-07 15:13:11 +00:00
Love Hörnquist Åstrand
7ff6e45302
add test for eccerts
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24652 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-02-07 15:13:02 +00:00
Love Hörnquist Åstrand
1e95e97550
Add ecdsa-with-sha1 and secp160r1, secp160r2 since openssl uses.
...
Make ECDSA test case work.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24651 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-02-07 15:12:53 +00:00
Love Hörnquist Åstrand
0f6f788f37
Add secp160r1 and secp160r2
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24650 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-02-07 15:12:45 +00:00
Love Hörnquist Åstrand
24400da6a6
Add secp160r1 and secp160r2
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24649 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-02-07 15:12:37 +00:00
Love Hörnquist Åstrand
476f81c4e7
add id-ecdsa-with-SHA1
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24648 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-02-07 15:12:22 +00:00
Love Hörnquist Åstrand
d866ed47cf
x
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24647 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-02-07 15:12:15 +00:00
Love Hörnquist Åstrand
44dd28a447
remove rcsid
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24646 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-02-07 15:12:07 +00:00
Love Hörnquist Åstrand
bf84d12699
test password expiration warning and new gic interface
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24645 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-02-07 15:11:52 +00:00
Love Hörnquist Åstrand
79c232c708
print etype on one line
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24644 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-02-07 15:11:44 +00:00
Love Hörnquist Åstrand
b7323a8b85
(process_last_request): Process the lr.func even if we have no prompter.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24643 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-02-07 15:11:36 +00:00
Love Hörnquist Åstrand
5be004f3fa
Handle relative time syntax using +<parse_time>.
...
Example: kadmin mod --pw-expiration-time='+1month 1day'
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24642 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-02-07 15:11:22 +00:00
Love Hörnquist Åstrand
ec2535c8d8
add test_gic
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24641 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-02-07 04:07:13 +00:00
Love Hörnquist Åstrand
2ac3c49016
test for krb5_get_init_creds_opt_set_process_last_req
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24640 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-02-07 04:07:03 +00:00
Love Hörnquist Åstrand
7e61cc4f3b
Fix _ALL_SOURCE def to get working headers on AIX, From Ted Percival
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24639 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-02-07 04:06:53 +00:00
Love Hörnquist Åstrand
12a7a9e488
Prepare for ECDH.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24638 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-02-07 04:06:43 +00:00
Love Hörnquist Åstrand
9eeecd7419
First drop of EC support.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24637 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-02-07 04:06:33 +00:00
Love Hörnquist Åstrand
0ec483ada2
add ec-group-secp256r1
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24636 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-02-07 04:06:22 +00:00
Love Hörnquist Åstrand
711c5ae000
add ec-group-secp256r1
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24635 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-02-07 04:06:12 +00:00
Love Hörnquist Åstrand
c1f55e1376
fix --pk-enterprise to not alias -C
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24634 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-02-07 04:06:02 +00:00
Love Hörnquist Åstrand
a8d40354e1
add secp256r1
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24633 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-02-07 04:05:52 +00:00
Love Hörnquist Åstrand
4b3c2d35c6
drop unused $type
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24632 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-02-07 04:05:42 +00:00
Love Hörnquist Åstrand
562c74e03d
drop id_ec.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24631 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-02-07 04:05:32 +00:00
Love Hörnquist Åstrand
8ccb24f309
add John Center
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24630 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-02-07 04:05:22 +00:00
Love Hörnquist Åstrand
431bcf82fe
Move lexlib before libroken to make sure we don't get an empty line. From John Center.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24629 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-02-07 04:05:12 +00:00
Love Hörnquist Åstrand
b93daea7ea
add ECDSA_Sig_Value
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24628 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-02-07 04:05:00 +00:00
Love Hörnquist Åstrand
481aeb5028
add ECDSA_Sig_Value
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24627 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-02-07 04:04:50 +00:00
Love Hörnquist Åstrand
e79aed842f
add id-ecdsa-with-SHA256
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24626 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-02-07 04:04:40 +00:00
Love Hörnquist Åstrand
9d28a20178
add asn1_id_ecdsa_with_SHA256.x
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24625 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-02-07 04:04:30 +00:00
Love Hörnquist Åstrand
c916bc431e
Add ECC bits
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24624 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-02-07 04:04:10 +00:00
Love Hörnquist Åstrand
fb44159aa4
add ecMQV
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24623 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-02-07 04:03:58 +00:00
Love Hörnquist Åstrand
b4dd6350cd
add ecc bits, sort
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24622 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-02-07 04:03:45 +00:00
Love Hörnquist Åstrand
41a7bd3b69
Don't return void.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24621 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-02-04 22:11:21 +00:00
Love Hörnquist Åstrand
f7e54baefc
More symbols, from Martin von Gagern.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24620 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-02-04 22:11:11 +00:00
Love Hörnquist Åstrand
8ffd509d0a
pass hx509_context to the matching function
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24619 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-02-04 22:11:01 +00:00
Love Hörnquist Åstrand
ad7bb6ffad
pass hx509_context to the matching function
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24618 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-02-04 22:10:52 +00:00
Love Hörnquist Åstrand
be5c7fd7b0
use _krb5_pk_enterprise_cert
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24617 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-02-04 22:10:41 +00:00