Commit Graph

16206 Commits

Author SHA1 Message Date
Love Hörnquist Åstrand
b3a92619c0 (request_create): store the request in a file, no in bitbucket.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16993 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-04-03 17:10:30 +00:00
Love Hörnquist Åstrand
0fcc9f43ac (verify_ocsp): spelling.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16992 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-04-03 15:30:46 +00:00
Love Hörnquist Åstrand
1e0aaa115c (hx509_ci_print_names): make it print issuer too.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16991 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-04-03 15:25:28 +00:00
Love Hörnquist Åstrand
86f05f039c expose print_cert_subject internally
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16990 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-04-03 15:24:58 +00:00
Love Hörnquist Åstrand
ae6e238600 Add ocsp_print.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16989 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-04-03 15:23:08 +00:00
Love Hörnquist Åstrand
3973182c99 New command "ocsp-print".
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16988 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-04-03 15:22:44 +00:00
Love Hörnquist Åstrand
64e02c3d8d Include <hex.h>.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16987 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-04-03 15:22:17 +00:00
Love Hörnquist Åstrand
76a4c45ce5 (verify_ocsp): require issuer to match too.
(free_ocsp): new function
(hx509_revoke_ocsp_print): new function, print ocsp reply


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16986 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-04-03 15:21:24 +00:00
Love Hörnquist Åstrand
890533d4f6 build CRMF files
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16985 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-04-03 12:18:46 +00:00
Love Hörnquist Åstrand
253d40df60 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16984 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-04-03 12:17:46 +00:00
Love Hörnquist Åstrand
339a7ab662 needed for cert request test
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16983 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-04-03 12:17:20 +00:00
Love Hörnquist Åstrand
137496caa9 adapt to rename of pkcs10-create to request-create
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16982 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-04-03 07:56:34 +00:00
Love Hörnquist Åstrand
b630b37558 Rename pkcs10-create to request-create
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16981 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-04-03 07:55:13 +00:00
Love Hörnquist Åstrand
66fce528ed Avoid crashing on bad input.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16980 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-04-03 07:45:48 +00:00
Love Hörnquist Åstrand
dad83f50d7 (pkcs10_create): use opt->subject_string
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16979 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-04-03 05:33:29 +00:00
Love Hörnquist Åstrand
c32b846d53 Add pkcs10-create --subject
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16978 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-04-03 05:32:57 +00:00
Love Hörnquist Åstrand
2f417fa784 Add test_req to commands
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16977 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-04-03 05:32:10 +00:00
Love Hörnquist Åstrand
ccdec7c9ae Test for pkcs10 commands.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16976 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-04-03 05:31:42 +00:00
Love Hörnquist Åstrand
10dbe873a1 make rsa_private_key2SPKI static.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16975 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-04-03 05:28:26 +00:00
Love Hörnquist Åstrand
aeeed9cab8 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16974 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-04-03 05:18:50 +00:00
Love Hörnquist Åstrand
49cd3f86ca Implement i2d_RSAPublicKey
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16973 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-04-03 05:17:30 +00:00
Love Hörnquist Åstrand
b93187f3c7 Add i2d_RSAPublicKey
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16972 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-04-03 05:17:01 +00:00
Love Hörnquist Åstrand
83a5e521ed (hx509_parse_name): new function.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16971 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-04-03 05:14:28 +00:00
Love Hörnquist Åstrand
1e9fea9d39 (pkcs10_create): implement
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16970 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-04-03 05:13:48 +00:00
Love Hörnquist Åstrand
d612a40b89 (pkcs10-create): Add arguments to
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16969 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-04-03 05:12:14 +00:00
Love Hörnquist Åstrand
6a6823b916 Add _hx509_private_key2SPKI and support functions (only support RSA for now).
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16968 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-04-03 05:10:34 +00:00
Love Hörnquist Åstrand
5de3822ce3 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16967 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-04-02 20:21:07 +00:00
Love Hörnquist Åstrand
72a5513806 Remove a delta from last revision that should have gone in later.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16966 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-04-02 20:20:45 +00:00
Love Hörnquist Åstrand
6a07652c01 Add pkcs10-create command.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16965 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-04-02 20:15:40 +00:00
Love Hörnquist Åstrand
3a78c8c3a4 Add hx509_request.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16964 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-04-02 20:15:14 +00:00
Love Hörnquist Åstrand
1a1066f5b7 more stuff
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16963 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-04-02 20:14:44 +00:00
Love Hörnquist Åstrand
cd4cbf630e Add req.c
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16962 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-04-02 20:13:55 +00:00
Love Hörnquist Åstrand
f2be3565f5 Create certificate requests, prototype converts the request in a pkcs10 packet.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16961 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-04-02 20:13:30 +00:00
Love Hörnquist Åstrand
2a5793e1f2 Add pkcs10_create
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16960 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-04-02 20:12:32 +00:00
Love Hörnquist Åstrand
d64862d6fa (hx509_name_copy): new function.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16959 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-04-02 18:12:46 +00:00
Love Hörnquist Åstrand
d9b82bea73 fix spelling
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16958 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-04-02 10:32:20 +00:00
Love Hörnquist Åstrand
c1ce715df2 (send_and_recv_http): don't expose freed pointer, found by IBM checker.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16957 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-04-02 02:32:03 +00:00
Love Hörnquist Åstrand
529acecb2b (krb5_rd_cred): don't expose freed pointer, found by IBM checker.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16956 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-04-02 02:27:33 +00:00
Love Hörnquist Åstrand
03f05a7a6e (krb5_make_addrport): clear return value on error, found by IBM checker.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16955 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-04-02 02:17:31 +00:00
Love Hörnquist Åstrand
8796c7d7c8 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16954 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-04-02 02:13:12 +00:00
Love Hörnquist Åstrand
08f8270867 (get_mic*)_: make sure message_token is cleaned on error, found by IBM checker.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16953 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-04-02 02:12:52 +00:00
Love Hörnquist Åstrand
19d2b32265 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16952 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-04-02 02:10:33 +00:00
Love Hörnquist Åstrand
2740149d18 (wrap*): Reset output_buffer on error.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16951 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-04-02 02:10:03 +00:00
Love Hörnquist Åstrand
dd8e66433c x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16950 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-04-02 01:57:55 +00:00
Love Hörnquist Åstrand
b6fdc26556 (check_addresses): treat netbios as no addresses
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16949 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-04-02 01:54:38 +00:00
Love Hörnquist Åstrand
2211af38b6 _kdc_check_flags takes hdb_entry_ex
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16948 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-04-02 01:54:37 +00:00
Love Hörnquist Åstrand
b3f8381a4d (_kdc_check_flags): make it take hdb_entry_ex to avoid ?:'s at callers
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16947 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-04-02 01:52:32 +00:00
Love Hörnquist Åstrand
3dfde09cb0 Avoid using free memory, found by IBM checker.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16946 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-04-02 01:39:54 +00:00
Love Hörnquist Åstrand
c857bdbb07 (expand_realm): avoid passing NULL to strlen, found by IBM checker.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16945 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-04-02 01:36:45 +00:00
Love Hörnquist Åstrand
1305bbe9d5 (krb5_rd_cred): avoid a memory leak on malloc failure, found by IBM checker.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16944 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-04-02 01:31:10 +00:00