[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Monotone-commits-nodiffs] Revision 5753fc88803f090d42d7e3a3360192b7edf0
From: |
monotone |
Subject: |
[Monotone-commits-nodiffs] Revision 5753fc88803f090d42d7e3a3360192b7edf0a7d9 |
Date: |
Wed, 14 Dec 2005 13:31:13 UT |
-----------------------------------------------------------------
Revision: 5753fc88803f090d42d7e3a3360192b7edf0a7d9
Ancestor: 9a93ec6abe654986820a58dde57d6932fda65e5c
Author: Timothy Brownawell <address@hidden>
Date: 2005-12-06T22:10:45
Branch: net.venge.monotone
Added files:
tests/t_read_privkey.at
Modified files:
ChangeLog commands.cc key_store.cc packet.cc packet.hh
tests/t_dropkey_2.at testsuite.at
ChangeLog:
2005-12-06 Timothy Brownawell <address@hidden>
* packet.cc (packet stream reading): Fix handling of privkey packets.
It would convert pubkey+privkey to keypair, but not change the private
key to the new encryption type. Now uses migrate_private_key to
convert privkey->keypair. Reading privkey packets from stdin only works
if the get_passphrase hook is defined for that key.
Fix packet_roundabout_test; the send+receive part was using an empty
stream, rather than the packet sequence generated in the first part.
* packet.hh, commands.cc, key_store.cc: read_packets now takes an
app_state argument.
* tests/t_dropkey_2.at: use genkey instead of reading packets
* tests/t_read_privkey.at: check that reading a privkey packet works
* testsuite.at: add read_privkey test
monotone --db={your.database} diff
--revision=9a93ec6abe654986820a58dde57d6932fda65e5c
--revision=5753fc88803f090d42d7e3a3360192b7edf0a7d9
----------------------------------------------------------------------
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Monotone-commits-nodiffs] Revision 5753fc88803f090d42d7e3a3360192b7edf0a7d9,
monotone <=