Commit Graph

324 Commits

Author SHA1 Message Date
Love Hörnquist Åstrand
81ea1bb05f Document --credential=principal.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17326 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-04-27 20:52:12 +00:00
Love Hörnquist Åstrand
43c959fd1d document option password-file
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17246 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-04-25 21:24:04 +00:00
Love Hörnquist Åstrand
594b3f5d86 Add option password-file, read password from the first line of a file.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17245 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-04-25 21:21:23 +00:00
Love Hörnquist Åstrand
6815452550 Added certificate revoke information from configuration file.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17054 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-04-12 13:21:46 +00:00
Love Hörnquist Åstrand
495cb953e6 Catch empty file case. From Tobias Stoeckmann.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17051 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-04-12 12:22:52 +00:00
Johan Danielsson
125128ed5c use exactly six X:es with mkstemp
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17003 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-04-07 09:55:12 +00:00
Love Hörnquist Åstrand
145960cda9 Add pool of certificates to help certificate path building for clients
sending incomplete path in the signedData.


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16856 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-03-30 03:12:06 +00:00
Johan Danielsson
b8e5d95008 unused
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16574 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-01-17 15:32:17 +00:00
Love Hörnquist Åstrand
2716c51d68 Default to use DH when fetching keys.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16381 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-12-12 12:43:01 +00:00
Love Hörnquist Åstrand
a271224bab In the list caches view, rename the Status field to Expires.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16245 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-10-26 19:46:10 +00:00
Love Hörnquist Åstrand
5b3597703d Document --list-caches
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16126 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-10-06 19:59:16 +00:00
Love Hörnquist Åstrand
737b532df0 Change short flag of --list-caches to -l (-v is already used).
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16125 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-10-06 19:56:38 +00:00
Love Hörnquist Åstrand
cd2ce0c2a6 Add option --list-caches that lists the avaible caches and their status.
$ klist --list-caches
  Principal        Cache name               Status
lha@E.KTH.SE     2                        Valid
lha@SU.SE        1                        Expired
lha/root@SU.SE   0                        Expired
lha@N.L.NXS.SE   Initial default ccache   Expired


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16114 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-10-01 03:39:59 +00:00
Love Hörnquist Åstrand
ded223d98f (check_for_tgt): Re-order code so it only free the credential if one
was returned.


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15947 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-08-22 20:18:06 +00:00
Love Hörnquist Åstrand
4c6f3aeaf3 If there are no addresses, print addressless instead of nothing.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15603 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-07-09 03:27:19 +00:00
Love Hörnquist Åstrand
bef3d96fb7 avoid shadowing variables
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15543 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-07-01 07:29:03 +00:00
Love Hörnquist Åstrand
d3dabc335b avoid shadowing global variable
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15542 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-07-01 07:20:54 +00:00
Love Hörnquist Åstrand
ac8c82785c s/optind/optidx/
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15541 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-07-01 07:14:58 +00:00
Love Hörnquist Åstrand
54f8d95f72 (main): catch KRB5_CONFIG_BADFORMAT from krb5_init_context
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15369 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-06-14 00:14:43 +00:00
Love Hörnquist Åstrand
ea7df6b1e6 krb5_get_init_creds_opt_set_pkinit
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15042 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-04-30 16:17:04 +00:00
Love Hörnquist Åstrand
6ab4270794 use the newly generated units function
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14960 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-04-25 18:08:42 +00:00
Love Hörnquist Åstrand
d6b87a47d9 use strlcpy
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14932 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-04-24 19:54:58 +00:00
Love Hörnquist Åstrand
5ed2d6418f add forward declaration of krb5_krb_auth_data
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14902 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-04-23 20:29:16 +00:00
Love Hörnquist Åstrand
98f267a220 widen lifetime/renewal warning text field, also make use of
unparse_time_approx, no need to be specific to the second when ticket
needs to be renewed or their lifetime.


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14644 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-03-15 23:08:35 +00:00
Love Hörnquist Åstrand
3525e279f2 use keeps around options, spelling, from openbsd
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14374 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-12-08 17:40:10 +00:00
Love Hörnquist Åstrand
af89d92dfe (get_new_tickets): only complain about ticket renewable lifetime when
the user asked for a specific renewable lifetime


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14356 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-11-18 03:39:22 +00:00
Love Hörnquist Åstrand
c4cacd7a06 adapt to new signature of krb5_get_init_creds_opt_set_pkinit
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14295 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-10-07 10:20:41 +00:00
Johan Danielsson
0326089c9f use rtbl_set_separator
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14288 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-10-04 15:10:20 +00:00
Johan Danielsson
5e83b93a1e make sure we don't always get renewable creds
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14229 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-09-14 14:40:10 +00:00
Johan Danielsson
0624b4457e replace INCLUDES with AM_CPPFLAGS
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14164 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-08-26 11:55:29 +00:00
Love Hörnquist Åstrand
fe9c311247 document --cache/-c
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14090 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-08-05 18:49:47 +00:00
Love Hörnquist Åstrand
bd3655ba6e allow to specify what credential cache to use
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14089 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-08-05 18:49:25 +00:00
Love Hörnquist Åstrand
f7a51721c2 (print_cred_verbose): keytypes are no longer, use enctype
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14064 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-07-23 18:31:23 +00:00
Johan Danielsson
e230725892 don't install copy_cred_cache manpage
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13998 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-06-27 14:07:54 +00:00
Love Hörnquist Åstrand
5cb42dc81b move "setpag if (argc < 1)" to common path
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13851 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-05-14 20:00:19 +00:00
Johan Danielsson
ed962c1a41 print some diagnostics if the exec fails
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13835 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-05-06 11:50:33 +00:00
Johan Danielsson
e95a1672b8 krb5_cc_copy_cache_match now lives in libkrb5
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13793 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-04-25 19:38:02 +00:00
Johan Danielsson
26457b7135 replace krb5_free_creds_contents by krb5_free_cred_contents
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13790 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-04-25 19:25:35 +00:00
Johan Danielsson
25de2f6777 add --valid-for option
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13783 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-04-25 16:03:45 +00:00
Love Hörnquist Åstrand
89f71476cb pacify mdoclint
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13777 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-04-25 14:30:09 +00:00
Johan Danielsson
b96a303522 add cred cache copy tool
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13771 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-04-24 22:46:08 +00:00
Love Hörnquist Åstrand
432db5d5c9 add --credential argument that just remove one credential entry out of
the cache specified


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13729 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-04-17 17:00:06 +00:00
Love Hörnquist Åstrand
8bc1b3e836 merge certificate/private_key to a user_id
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13724 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-04-16 00:40:21 +00:00
Love Hörnquist Åstrand
2bf6c25dcd its PAC not PAQ
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13653 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-03-30 15:41:04 +00:00
Love Hörnquist Åstrand
11b133e1c5 adapt to signature change of krb5_get_init_creds_opt_set_pkinit
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13609 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-03-21 22:34:13 +00:00
Love Hörnquist Åstrand
bd31b8f01f document --canonicalize
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13506 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-03-12 07:34:04 +00:00
Love Hörnquist Åstrand
f6774ea083 add --canonicalize
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13505 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-03-12 07:30:19 +00:00
Love Hörnquist Åstrand
9197bbb0c8 rename ca_dir to pkinit/x509_anchors since its more like that language
in RFC3280


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13494 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-03-09 21:06:10 +00:00
Love Hörnquist Åstrand
5ca59aff01 when running kinit with a subprocess, fetch new tickets after half the
tickets lifetime


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13465 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-03-07 21:17:53 +00:00
Love Hörnquist Åstrand
e96991c20e (renew_validate): if renewable_flag and not time specifed, use "1 month"
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13267 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-01-13 10:09:50 +00:00