Opened 3 months ago

Last modified 3 months ago

#30045 new enhancement

output of "tor --key-expiration sign" should be a time stamp

Reported by: toralf Owned by:
Priority: Medium Milestone: Tor: unspecified
Component: Core Tor Version: Tor: 0.4.0.3-alpha
Severity: Normal Keywords:
Cc: Actual Points:
Parent ID: Points:
Reviewer: Sponsor:

Description

It would be helpful for a cron job having sth like

let "diff = $(tor --key-expiration sign --format=timestamp) - $(date +%s)"

in it.

Child Tickets

Change History (1)

comment:1 Changed 3 months ago by nickm

Milestone: Tor: unspecified

We'd need to add an extra option to control this format; otherwise we would break everything that depended on the old format. That said, I'm not opposed.

Note: See TracTickets for help on using tickets.