[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Monotone-devel] key management
From: |
Thomas Keller |
Subject: |
Re: [Monotone-devel] key management |
Date: |
Fri, 06 Aug 2010 08:39:08 +0200 |
User-agent: |
Mozilla/5.0 (X11; U; Linux i686; de; rv:1.9.1.11) Gecko/20100714 SUSE/3.0.6 Lightning/1.0b2pre Thunderbird/3.0.6 |
Am 06.08.2010 00:30, schrieb Stephen Leake:
> Thomas Keller <address@hidden> writes:
>> One might deprecate the reader functionality packets other than keys
>> though.
>
> The top level code in cmd_packet.cc makes no distinction between key and
> other packets. But we could delete the non-key operations from packet.hh
> packet_consumer.
Yes, this is what I meant and what we should do some time.
> There is already an 'automate read_packets' command!
>
> So I think 'automate put_pub_key" is already implemented.
Kind of. Surely you can put public keys through read_packets, but as
this uses the aforementioned packet_consumer as well which might be
refactored or even replaced some time in the future, I'm not sure if its
a good idea to use that at all. Beside that its not obvious to the
implementor that the orthogonal action to get_pubkey and remove_pubkey
is read_packets. Maybe its time to do this command deprecation thing
earlier, i.e. introduce put_pubkey nonetheless and deprecate automate
read_packets, while having doubled functionality for the time until
read_packets gets removed completely, i.e. in 2.0.
> Unless the point was to have some other format for the input. Bug 30345
> doesn't say what format is expected. ASCII-armored was mentioned in
> chat, but I'm not sure that's a format spec?
No, the input to put_pubkey can basically keep the same - I don't know
if ascii-armored is the right term for this either, basically it should
accept what pubkey spits out :)
Thomas.
--
GPG-Key 0x160D1092 | address@hidden | http://thomaskeller.biz
Please note that according to the EU law on data retention, information
on every electronic information exchange might be retained for a period
of six months or longer: http://www.vorratsdatenspeicherung.de/?lang=en
signature.asc
Description: OpenPGP digital signature
- [Monotone-devel] nvm.options, Stephen Leake, 2010/08/05
- Re: [Monotone-devel] nvm.options, Thomas Keller, 2010/08/05
- Re: [Monotone-devel] nvm.options, Stephen Leake, 2010/08/05
- [Monotone-devel] key management, Stephen Leake, 2010/08/05
- Re: [Monotone-devel] key management,
Thomas Keller <=
- Re: [Monotone-devel] key management, Stephen Leake, 2010/08/06
- Re: [Monotone-devel] key management, Stephen Leake, 2010/08/09
- Re: [Monotone-devel] key management, Thomas Keller, 2010/08/09
- Re: [Monotone-devel] key management, Stephen Leake, 2010/08/09
- Re: [Monotone-devel] key management, Thomas Keller, 2010/08/10
- Re: [Monotone-devel] key management, Stephen Leake, 2010/08/10
- Re: [Monotone-devel] key management, Stephen Leake, 2010/08/18
- Re: [Monotone-devel] key management, Thomas Keller, 2010/08/18
- Re: [Monotone-devel] key management, Stephen Leake, 2010/08/18
- Re: [Monotone-devel] key management, Stephen Leake, 2010/08/23