1
0
Fork 0
mirror of https://github.com/pgpainless/pgpainless.git synced 2024-11-14 16:32:06 +01:00

Fix returning proper value for KeyRingInfo.lastModified

While porting to kotlin the code was accidentally changed to return the key ring creation
time instead of the latest self-sig creation time
This commit is contained in:
Paul Schaub 2024-10-24 17:41:18 +02:00
parent d966349032
commit f1610f6425
Signed by: vanitasvitae
GPG key ID: 62BEE9264BF17311

View file

@ -405,7 +405,7 @@ class KeyRingInfo(
.plus(signatures.userIdRevocations.values)
.plus(signatures.subkeyBindings.values)
.plus(signatures.subkeyRevocations.values)
.maxByOrNull { creationDate }
.maxByOrNull { it.creationTime }
/**
* Return the creation time of the latest added subkey.
*