[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

Re: [tor-bugs] #12994 [Service - dist]: deb.torproject.org archive signing key expired



#12994: deb.torproject.org archive signing key expired
--------------------------------+-----------------
     Reporter:  TorAmateurDev   |      Owner:
         Type:  defect          |     Status:  new
     Priority:  normal          |  Milestone:
    Component:  Service - dist  |    Version:
   Resolution:                  |   Keywords:
Actual Points:                  |  Parent ID:
       Points:                  |
--------------------------------+-----------------

Comment (by dawuud):

 I suggest adding a nagios alert set for a couple of weeks before the next
 key expiration date.
 Nagios can be configured to run this service check once per day...
 and it could even be something super simple like this:

 {{{
 #!/bin/bash

 today_date=$(date +"%y%m%d")
 warning_date=$(date -d 2015-08-31 +"%y%m%d")

 if [ $today_date -ge $warning_date ];
 then
  echo 'Warning: APT key exiperation will happen soon';
  exit -1 # or whatever nagios return code is appropriate
 else
  echo 'OK'
  exit 0
 fi
 }}}

--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/12994#comment:6>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online
_______________________________________________
tor-bugs mailing list
tor-bugs@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-bugs