[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Monotone-commits-diffs] Revision c25b17203749e4ad9616c16bfec781cd6ffeaa
From: |
monotone |
Subject: |
[Monotone-commits-diffs] Revision c25b17203749e4ad9616c16bfec781cd6ffeaacb |
Date: |
Fri, 1 Feb 2008 19:05:32 +0100 |
-----------------------------------------------------------------
Revision: c25b17203749e4ad9616c16bfec781cd6ffeaacb
Ancestor: 61a83351e0e24a39e2c413104b8a933c5768bd42
Author: address@hidden
Date: 2008-02-01T14:56:34
Branch: net.venge.monotone.experiment.encapsulation
Modified files:
README.encapsulation cert.cc cert.hh key_store.cc
key_store.hh keys.cc keys.hh netsync.cc
ChangeLog:
* keys.cc (require_password): Use keys.key_pair_exists and keys.make_signature.
(make_signature) Move ...
* key_store.cc: ... here; make into key_store method.
(key_store_state): New class, containing all the state that used to be in
the key_store object.
(key_store): Refactor using pointer-to-state idiom.
* keys.hh: Don't prototype make_signature.
* key_store.hh: Prune #includes and forward declarations. key_store class
now holds no direct data members. put_key_pair_memory is no longer an
exposed interface. Kill get_opt_ssh_sign and get_agent wrapper hacks.
* cert.cc (load_key_pair): Add variant that doesn't return the key pair.
(calculate_cert): Use it and keys.make_signature.
* cert.hh: Prototype it.
* netsync.cc (session::process_hello_cmd): Use it. Exchange order of
operations to ensure the signing public key is in the database before
we try to generate its hash.
* README.encapsulation: update.
txtyappJAZwfH.txt
Description: Diff [61a83351e0e24a39e2c413104b8a933c5768bd42] -> [c25b17203749e4ad9616c16bfec781cd6ffeaacb]
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Monotone-commits-diffs] Revision c25b17203749e4ad9616c16bfec781cd6ffeaacb,
monotone <=