View Issue Details

IDProjectCategoryView StatusLast Update
0000138Main CAcert WebsiteGPG/PGPpublic2013-06-18 21:16
ReporterSourcerer Assigned ToSourcerer  
PrioritynormalSeveritymajorReproducibilityalways
Status needs workResolutionopen 
Summary0000138: Wrong expiration date
DescriptionCAcert normally sets the expiration date of a key signature 1 year in the future. The problem is that CAcert ignores the expiration of the key. If the key expires before that year, GnuPG automatically limits the key signature to the expiration of the key. But CAcert expects an expiration period of 1 year, leading to a wrong display.
The problem is in scripts/gpgcerts.php line 50:
  $query = "update `gpg` set `crt`='$row[crt]', `issued`=NOW(), `expire`=FROM_UNIXTIME(UNIX_TIMESTAMP(NOW()) + 31536000) where `id`='".$row['id']."'";

CAcert should read the real expiration date from the key, and use that instead of guessing wrongly.
TagsNo tags attached.
Reviewed by
Test Instructions

Relationships

related to 0001174 new Prepare for ECC support in GnuPG 
related to 0000089 needs workSourcerer GPG Revokation Escrow Service 
related to 0001079 needs work GPG key can not be revoked 

Activities

There are no notes attached to this issue.

Issue History

Date Modified Username Field Change
2006-02-27 09:32 Sourcerer New Issue
2006-08-14 02:57 duane Status new => needs work
2006-08-14 02:57 duane Assigned To => Sourcerer
2012-12-20 07:26 Werner Dworak Relationship added related to 0000089
2012-12-20 08:30 Werner Dworak Relationship added related to 0001079
2013-06-18 21:16 INOPIAE Relationship added related to 0001174