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.

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.

1 participant