[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Monotone-commits-diffs] Revision c246ea7ffce7984e4a8101e0714e68f29e3998
From: |
monotone |
Subject: |
[Monotone-commits-diffs] Revision c246ea7ffce7984e4a8101e0714e68f29e399834 |
Date: |
Mon, 28 Jan 2008 23:06:22 +0100 |
-----------------------------------------------------------------
Revision: c246ea7ffce7984e4a8101e0714e68f29e399834
Ancestor: dfa39db382b039ec2a50f966977e9dbca3991fc7
Author: address@hidden
Date: 2008-01-28T21:27:28
Branch: net.venge.monotone.experiment.encapsulation
Modified files:
README.encapsulation automate.cc cert.cc cert.hh cmd_db.cc
cmd_key_cert.cc cmd_merging.cc cmd_netsync.cc
cmd_othervcs.cc cmd_ws_commit.cc database.cc database.hh
database_check.cc key_store.hh keys.cc keys.hh netsync.cc
options_list.hh project.cc project.hh rcs_import.cc
rcs_import.hh revision.cc revision.hh
ChangeLog:
* database.cc (verifier_cache): New typedef.
(database_impl): Add 'verifiers' field.
(database::get_key): Add overload that returns the 'raw' (not-base64) key.
(database::check_signature): New function.
(database::get_key_store): Delete.
* database.hh: Include cert.hh for cert_status. Update declaration of
database class.
* key_store.hh (class key_store): Remove verifiers field.
* options_list.hh (GOPT(ssh_sign)): Do argument checking here.
* keys.cc: Include database.hh.
(make_signature): Don't do --ssh-sign argument checking here.
Ensure the privkey we are passed matches the one we get from the key_store.
If the database doesn't have the pubkey, add it. Use db.check_signature.
(check_signature): Delete.
(require_password): Add database argument. Remove one redundant and one
impossible N().
* keys.hh: Remove using-declarations. Don't include botan/rsa.h. Forward
declare database and Botan::RSA_PrivateKey. Update prototypes.
* cert.cc (priv_key_exists): Delete.
(load_key_pair): Remove redundant caching.
(check_cert): Likewise; just call db.check_signature on the signable text.
(get_user_key): Take the key_store as an argument.
(calculate_cert, make_simple_cert, put_simple_revision_cert)
(cert_revision_in_branch, cert_revision_suspended_in_branch)
(cert_revision_date_time, cert_revision_author, cert_revision_author_default)
(cert_revision_tag, cert_revision_changelog, cert_revision_testresult):
Take and pass down a key_store argument.
* cert.hh: Update prototypes.
* project.cc (put_revision_in_branch, suspend_revision_in_branch, put_tag)
(put_standard_certs, put_standard_certs_from_options, put_cert):
Take and pass down a key_store argument.
* project.hh: Update prototypes.
* rcs_import.cc (cluster_consumer): Hold onto a key_store too. Update
constructor.
(import_branch, import_cvs_repo): Take and pass down a key_store
argument.
* rcs_import.hh: Update prototypes.
* revision.cc (anc_graph): Hold onto a key_store too. Update
constructor.
(build_roster_style_revs_from_manifest_style_revs)
(build_changesets_from_manifest_ancestry): Take and pass down a
key_store argument.
* revision.hh: Update prototypes.
* database_check.cc (check_certs): Use db.check_signature; no need for
a key_store.
* automate.cc, cmd_db.cc, cmd_key_cert.cc, cmd_merging.cc, cmd_netsync.cc
* cmd_othervcs.cc, cmd_ws_commit.cc, netsync.cc: Update calls to
changed functions.
* README.encapsulation: update.
txtmVEYTbrrLA.txt
Description: Diff [dfa39db382b039ec2a50f966977e9dbca3991fc7] -> [c246ea7ffce7984e4a8101e0714e68f29e399834]
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Monotone-commits-diffs] Revision c246ea7ffce7984e4a8101e0714e68f29e399834,
monotone <=