Skip to content

feat: export pems from credentials#2185

Open
coriolinus wants to merge 6 commits into
mainfrom
prgn/feat/export-pem
Open

feat: export pems from credentials#2185
coriolinus wants to merge 6 commits into
mainfrom
prgn/feat/export-pem

Conversation

@coriolinus
Copy link
Copy Markdown
Contributor

What's new in this PR


PR Submission Checklist for internal contributors
  • The PR Title
    • conforms to the style of semantic commits messages¹ supported in Wire's Github Workflow²
    • contains a reference JIRA issue number like SQPIT-764
    • answers the question: If merged, this PR will: ... ³
  1. https://sparkbox.com/foundry/semantic_commit_messages
  2. https://github.com/wireapp/.github#usage
  3. E.g. feat(conversation-list): Sort conversations by most emojis in the title #SQPIT-764.

These methods already exist on `CredentialRef` and there's no point
in redefining them; it's always simpler when there is exactly one
way to accomplish some task.
@coriolinus coriolinus requested a review from a team May 29, 2026 13:06
This keeps credential-database stuff in one module, on one struct,
which makes it easier to find and maintain. It simultaneously
simplifies the `CoreCrypto` instance API.
For the amount of code it contains, it took a surprising amount
of iteration to come up with the right way to do this.
This variant operates on a `CredentialRef` and is implemented on the
`CoreCrypto` type instead of the `CredentialRef` type because it
requires us to load the full credential from the database.
@coriolinus coriolinus force-pushed the prgn/feat/export-pem branch from 96672fb to 20814b7 Compare May 29, 2026 14:07
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