Commit Graph

11091 Commits

Author SHA1 Message Date
Love Hörnquist Åstrand
0a7d314165 (gss_display_status): use _gss_mg_get_error to fetch the error from
underlaying mech, if it failes, let do the regular dance for GSS-CODE
version and a generic print-the-error code for MECH-CODE.


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19927 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-01-16 10:35:09 +00:00
Love Hörnquist Åstrand
5138355930 Don't include the NUL in the length of the string.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19926 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-01-16 10:26:07 +00:00
Love Hörnquist Åstrand
d2752533aa Protoypes for _gss_mg_.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19925 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-01-16 10:19:27 +00:00
Love Hörnquist Åstrand
545bb59019 Glue to catch the error from the lower gss-api layer and save that for
later so gss_display_status() can show the error.


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19924 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-01-16 10:17:01 +00:00
Love Hörnquist Åstrand
0353cc0b50 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19923 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-01-16 09:32:52 +00:00
Love Hörnquist Åstrand
4ddf0e6cc1 Detect NTLM.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19922 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-01-16 09:32:03 +00:00
Love Hörnquist Åstrand
2ca0d5a961 (krb5_rd_req_ctx): The code failed to consider the enc_tkt_in_skey
case, from Douglas E. Engert.


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19919 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-01-15 22:40:42 +00:00
Love Hörnquist Åstrand
4af0b4f8bf x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19913 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-01-14 23:31:14 +00:00
Love Hörnquist Åstrand
698d712bfa (hx509_cms_create_signed_1): use hx509_cert_binary
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19912 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-01-14 23:28:58 +00:00
Love Hörnquist Åstrand
e993ff978b (store_func): use hx509_cert_binary
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19911 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-01-14 23:25:28 +00:00
Love Hörnquist Åstrand
7e631d7fda (hx509_cert_binary): return binary encoded certificate (DER format)
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19910 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-01-14 23:20:43 +00:00
Love Hörnquist Åstrand
9a40fcaf39 (hx509_ca_tbs_subject_expand): new function.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19905 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-01-14 22:20:17 +00:00
Love Hörnquist Åstrand
ba9774453c (hx509_name_expand): if env is NULL, return directly
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19904 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-01-14 22:17:42 +00:00
Love Hörnquist Åstrand
1e0cd6e775 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19903 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-01-14 18:51:28 +00:00
Love Hörnquist Åstrand
dd0471e76a test template handling
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19899 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-01-14 18:20:22 +00:00
Love Hörnquist Åstrand
9b40125782 Add template flags.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19898 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-01-14 18:19:27 +00:00
Love Hörnquist Åstrand
c250a963fd clean out new files
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19897 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-01-14 18:18:37 +00:00
Love Hörnquist Åstrand
e660fb69bd Add certificate template processing, fix hx509_err usage.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19896 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-01-14 18:16:38 +00:00
Love Hörnquist Åstrand
884b0179aa Add certificate template processing.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19895 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-01-14 18:15:53 +00:00
Love Hörnquist Åstrand
aed12a2d7c Add certificate template processing. Fix return messages from
hx509_ca_tbs_add_eku.


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19894 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-01-14 18:15:26 +00:00
Love Hörnquist Åstrand
2dfb044b10 Export more stuff from certificate.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19893 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-01-14 18:13:44 +00:00
Love Hörnquist Åstrand
1eb0ccb9c5 update LICENSE
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19892 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-01-13 13:25:27 +00:00
Love Hörnquist Åstrand
3c4dae18f6 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19891 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-01-13 12:42:10 +00:00
Love Hörnquist Åstrand
e3460e2055 update (c)
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19890 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-01-13 12:41:11 +00:00
Love Hörnquist Åstrand
ecd3180240 Add type email and add email eku when using option --email.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19888 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-01-13 12:30:13 +00:00
Love Hörnquist Åstrand
ab5ec24f71 (hx509_ca_tbs_add_eku): filter out dups
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19887 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-01-13 12:29:06 +00:00
Love Hörnquist Åstrand
419060e44f add env.c
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19886 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-01-13 12:21:33 +00:00
Love Hörnquist Åstrand
8ddc5a6aa6 Remove abort, add error handling.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19885 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-01-13 12:13:37 +00:00
Love Hörnquist Åstrand
342aad4138 add hx509_env
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19884 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-01-13 11:18:33 +00:00
Love Hörnquist Åstrand
6811e9609f x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19883 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-01-13 01:27:58 +00:00
Love Hörnquist Åstrand
f6cbb2eaa5 update (c)
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19882 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-01-13 01:02:57 +00:00
Love Hörnquist Åstrand
4b12f3487c less printing
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19881 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-01-13 01:01:53 +00:00
Love Hörnquist Åstrand
0d0948cd9e test name expansion
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19880 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-01-13 01:01:15 +00:00
Love Hörnquist Åstrand
a7ffead44c add hx509_name_expand
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19879 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-01-13 01:00:06 +00:00
Love Hörnquist Åstrand
7604f5b544 key-value pair help functions
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19878 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-01-13 00:58:39 +00:00
Love Hörnquist Åstrand
3669c75ddd x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19877 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-01-12 22:47:24 +00:00
Love Hörnquist Åstrand
63d4fbb416 Don't issue certs with subject DN that is NULL and have no SANs
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19876 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-01-12 22:46:52 +00:00
Love Hörnquist Åstrand
f978746627 Fix previous test.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19875 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-01-12 22:45:29 +00:00
Love Hörnquist Åstrand
6efa69a5d3 Check there is a SAN if subject DN is NULL.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19874 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-01-12 22:44:34 +00:00
Love Hörnquist Åstrand
5d38f1ea53 test email, null subject dn
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19873 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-01-12 22:40:45 +00:00
Love Hörnquist Åstrand
950f043ab4 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19872 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-01-12 22:03:17 +00:00
Love Hörnquist Åstrand
e59e71f307 Allow setting parameters to private key generation.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19871 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-01-12 22:01:58 +00:00
Love Hörnquist Åstrand
4c80025879 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19870 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-01-12 16:03:36 +00:00
Love Hörnquist Åstrand
0cf980c265 Try harder to call res_ndestroy().
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19869 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-01-12 16:03:14 +00:00
Love Hörnquist Åstrand
bd62812bd8 update (c)
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19868 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-01-12 15:43:30 +00:00
Love Hörnquist Åstrand
4401882f8c test issue cert with jid
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19864 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-01-12 08:54:34 +00:00
Love Hörnquist Åstrand
dfc6e11891 (eval_types): add jid if user gave one
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19863 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-01-12 08:53:25 +00:00
Love Hörnquist Åstrand
1739d7acbe (certificate-sign): add --jid
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19862 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-01-12 08:44:58 +00:00
Love Hörnquist Åstrand
68f12e3ffb (hx509_ca_tbs_add_san_jid): Allow adding id-pkix-on-xmppAddr OtherName.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19861 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-01-12 08:44:18 +00:00
Love Hörnquist Åstrand
cd5e0fba78 Print id-pkix-on-xmppAddr OtherName.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19860 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-01-12 08:43:20 +00:00