Skip to content

Conversation

@vanitasvitae
Copy link
Contributor

@vanitasvitae vanitasvitae commented Oct 21, 2025

This patch changes the data type of OpenPGPKey.secretKeys to a LinkedHashMap in order to preserve the item order.
That way, the primary key will always be the first item in the collection when iterating over it.

OpenPGPCertificate already stores subkeys in a similar way, though getPublicKeys() needed similar adjustments.

@dghgit
Copy link
Contributor

dghgit commented Nov 24, 2025

Thanks for the patch. Merged.

@dghgit dghgit closed this Nov 24, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants