Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Asymmetric encryption support for EncString #222

Closed
wants to merge 1 commit into from

Conversation

dani-garcia
Copy link
Member

Type of change

- [ ] Bug fix
- [x] New feature development
- [ ] Tech debt (refactoring, code cleanup, dependency upgrades, etc)
- [ ] Build/deploy pipeline (DevOps)
- [ ] Other

Objective

EncString now has a generic type param to indicate whether it's using Symm/Asymm encryption. EncString is now the equivalent of BaseEncString<SymmetricKey> and AsymmetricEncString is BaseEncString<AsymmetricKey>.

Note that both EncString and AsymmetricEncString are specific versions of the BaseEncString, which mean they both contain all the 7 variants we support, this is just to avoid code duplication while implementing parsing, but some of that might be able to be moved to the generic type.

@dani-garcia dani-garcia requested a review from Hinton September 8, 2023 13:16
@bitwarden-bot
Copy link

Logo
Checkmarx One – Scan Summary & Details45c48244-4934-4e24-b4b1-8de2d67b35e8

No New Or Fixed Issues Found

@dani-garcia
Copy link
Member Author

Replaced by #448

@dani-garcia dani-garcia deleted the ps/asymm-enc-string branch December 19, 2023 11:32
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