[Top][All Lists]

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

Re: 'gnunet-namestore' does not honour expiration dates when importing U

From: Christian Grothoff
Subject: Re: 'gnunet-namestore' does not honour expiration dates when importing URIs
Date: Sat, 21 Mar 2020 10:42:59 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.6.0

Hi Martin,

Why do you say that PKEY expiration values should have to be 'forever'?
PKEY records have expiration times like any other record and they don't
have to be eternal.

Now, I can see that the main use case (import via URL) may have a
difficulty of passing the '-e' option (and so we might want a sane
default), but that doesn't imply we should ignore -e.

My 2 cents


On 3/21/20 10:38 AM, Schanzenbach, Martin wrote:
> Hi,
> I doubt this is correct. As far as I can see this imports a PKEY. What means 
> the expiration value must be "forever".
> I also assume that the use case for this import will likely not be able to 
> pass an expiration value.
> BR
> Martin
>> On 21. Mar 2020, at 10:03, Christian Grothoff <address@hidden> wrote:
>> Thanks for the patch, I have applied it.
>> Happy hacking!
>> Christian
>> On 3/20/20 3:42 PM, Alessio Vanni wrote:
>>> Hello,
>>> as this mail's subject says, running
>>> gnunet-namestore -e $expiry -u $uri
>>> ignores the value passed to the '-e' argument, defaulting to the UNIX
>>> time 0 since the relevant variable is global and thus initialized to
>>> that value at startup.  I've attached a patch that fixes the
>>> problem.
>>> Thank you,
>>> A.V.

Attachment: signature.asc
Description: OpenPGP digital signature

reply via email to

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