6.0.0-alpha10
▾
Tasks
New Task
Search
Photos
Wiki
▾
Tickets
New Ticket
Search
dev.horde.org
Toggle Alerts Log
Help
5/15/25
H
istory
A
ttachments
C
omment
W
atch
Download
Comment on [#15043] Public Key Expiration Date is not calculated correctly
*
Your Email Address
*
Spam protection
Enter the letters below:
._.\ /.__ . ..__ | >< [__)\ /[ __ _|_/ \| \ \/ [_./
Comment
> The reason this happens, is as followed: > > You are parsing output of `gpg --list-packets` and calculate the > wrong dates with each other. > > gpg returns "hashed subpkt 9 len 4 (key expires after 7y2d0h23m)" > > 2017-10-02 + 7y2d0h23m is October 4th 2024 > > The error is on this line > https://github.com/horde/Crypt/blob/master/lib/Horde/Crypt/Pgp/Backend/Binary.php#L326 > > Somehow the wrong date is chose from parsing the packets: > > https://github.com/horde/Crypt/blob/master/lib/Horde/Crypt/Pgp/Backend/Binary.php#L182-L352 >
Attachment
Watch this ticket
N
ew Ticket
M
y Tickets
S
earch
Q
uery Builder
R
eports
Saved Queries
Open Bugs
Bugs waiting for Feedback
Open Bugs in Releases
Open Enhancements
Enhancements waiting for Feedback
Bugs with Patches
Enhancements with Patches
Release Showstoppers
Stalled Tickets
New Tickets
Horde 5 Showstoppers