Commit Graph

12 Commits

Author SHA1 Message Date
Johan Danielsson
5f68cd1d3c (hdb_set_master_keyfile): clear error string when not returning error
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@10716 ec53bebd-3082-4978-b11e-865c3cabbd6b
2001-09-18 07:42:09 +00:00
Assar Westerlund
c7562eda65 add some more error strings
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@10338 ec53bebd-3082-4978-b11e-865c3cabbd6b
2001-07-13 06:30:42 +00:00
Johan Danielsson
3bd196cf37 more set_error_string
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@10335 ec53bebd-3082-4978-b11e-865c3cabbd6b
2001-07-12 10:52:26 +00:00
Johan Danielsson
ea426418be (read_master_mit): set_error_string
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@10334 ec53bebd-3082-4978-b11e-865c3cabbd6b
2001-07-12 10:40:43 +00:00
Assar Westerlund
0e0d1336bd (hdb_unseal_keys_mkey, hdb_seal_keys_mkey, hdb_unseal_keys,
hdb_seal_keys): check that we have the correct master key and that we
manage to decrypt the key properly, returning an error code.  fix all
callers to check return value.


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@9594 ec53bebd-3082-4978-b11e-865c3cabbd6b
2001-01-30 01:20:57 +00:00
Johan Danielsson
e7f3feb49c add support for reading krb4 /.k files
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@9503 ec53bebd-3082-4978-b11e-865c3cabbd6b
2001-01-26 15:05:57 +00:00
Johan Danielsson
bea226bd5e add key usage
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@8613 ec53bebd-3082-4978-b11e-865c3cabbd6b
2000-07-08 16:03:59 +00:00
Johan Danielsson
7ddae03f39 (read_master_encryptionkey): handle old keytype based files, and
convert the key to cfb64


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@8602 ec53bebd-3082-4978-b11e-865c3cabbd6b
2000-07-08 14:52:54 +00:00
Assar Westerlund
965da66604 (_hdb_unseal_keys_int, _hdb_seal_keys_int): rename and export them
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@8592 ec53bebd-3082-4978-b11e-865c3cabbd6b
2000-07-08 13:39:31 +00:00
Johan Danielsson
2249e4157b (hdb_read_master_key): set mkey to NULL before doing anything else
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@8590 ec53bebd-3082-4978-b11e-865c3cabbd6b
2000-07-08 13:26:01 +00:00
Johan Danielsson
326dfb8181 (read_master_mit): fix this
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@8552 ec53bebd-3082-4978-b11e-865c3cabbd6b
2000-07-05 19:27:48 +00:00
Johan Danielsson
0e3158a838 rewrite master key handling
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@8546 ec53bebd-3082-4978-b11e-865c3cabbd6b
2000-07-05 13:08:13 +00:00