monotone-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Monotone-devel] public keys in keystore?


From: Thomas Keller
Subject: Re: [Monotone-devel] public keys in keystore?
Date: Wed, 18 Aug 2010 13:48:45 +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 18.08.2010 13:26, schrieb Stephen Leake:
> Thomas just pushed a revision with a changelog that says:
> 
>     monotone.texi: we do not store public keys anywhere else than in
>        the database nowadays
> 
> However, the 'automate keys' command says public keys are in the
> keystore (see tests/automate_key_manage for this example):
> 
> mtn automate keys
> stdout:
>             hash [46ec58576f9e4f34a9eede521422aa5fd299dc50]
>       given_name "address@hidden"
>       local_name "address@hidden"
>  public_location "keystore"
> private_location "keystore"
> 
>             hash [ad435b1c15ae7b66a185fbd6d3ab0319c05bb3e2]
>       given_name "address@hidden"
>       local_name "address@hidden"
>  public_location "database" "keystore"
> private_location "keystore"
> 
> Is this output wrong?
> 
> In the keys directory for this test, there are two files:
> 
> address@hidden
> address@hidden
> 
> The first line in these says
> 
> [keypair address@hidden
> [keypair address@hidden
> 
> I assume a 'keypair' is both a public and a private key?

Correct - its concatenated at the "#" sign - the public key data comes
first, then the private key data. The reason why I changed the
monotone.texi paragraph here is that we actually do not save only the
public key data anywhere else than in the database and that we also have
no legit way (nor reason) to only drop the public key part of a keypair.
(If we'd do that, we'd create an invalid key with its own id.)

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


Attachment: signature.asc
Description: OpenPGP digital signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]