> To enable anonymous key submission to freegle, I plan to establish two sets 
> of key indices:
> 
> freegle-keys-yymmdd      (for submitting keys)
> freegle-indices-yymmdd   (for submitting names of other key indices)
> 
> The yymmdd part is the current date.
> 
> I want people to always use the current date (timezone doesn't really matter, 
> but we can state that GMT's our favorite). I will then have freegle retrieve 
> all the indices of, say, the day before yesterday through tomorrow. That way, 
> no submissions should be lost. Maybe I'll even do it twice a day for safety.

You should use seconds since the epoch.

> The DBR-like naming scheme is of course meant to prevent the indices
> from growing past a reasonable size. Since I haven't seen anyone mention
> a date based naming scheme for key indices, I just made up the format.
> 
> Does this sound like a reasonable direction to go?

I'm actually going to switch the KeyIndexClient class to using date-based
indexing. I just haven't gotten around to it yet.



_______________________________________________
Devl mailing list
Devl at freenetproject.org
http://lists.freenetproject.org/mailman/listinfo/devl

Reply via email to