gpg-bash-lib compare signed_on_unixtime with stored value feature

Information

ID: 238
PHID: PHID-TASK-dgznbaujum3oa3d5nc3s
Author: Patrick
Status at Migration Time: invalid
Priority at Migration Time: Normal

Description

Consider adding a feature to gpg-bash-lib for comparing $gpg_bash_lib_output_signed_on_date and $gpg_bash_lib_output_signed_on_unixtime stored values (T237).

Related code:

      if [ "$last_used_gpg_bash_lib_output_signed_on_unixtime" -lt "$gpg_bash_lib_output_signed_on_unixtime" ]; then
         signature_freshness_msg="The downloaded signature is newer than the last known signature as expected."

That would help to avoid having that code in applications that use gpg-bash-lib.

Comments


Patrick

2016-04-05 15:57:48 UTC