IronCoreLabs / IronCoreLabs/ironoxide

Support encrypt to public keys

Open
#36 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Rust
Stars
12
Forks
3
Avg merge
5h 4m
Merged PRs (30d)
3

Description

The current `DocumentOps::document_encrypt` allows the caller to specify user/groups by ID. The service then looks up the public keys for the users/groups for encryption.

It would be nice if we provided an interface that also allowed encryption directly to public keys (if the caller already has them). This will save 2 calls to the service.

An internal API already exists with (almost) this functionality. See `internal::document_api::recrypt_document`

Contributor guide

No contributing guide indexed for this repository

Research direction

Start with the public DocumentOps::document_encrypt interface and compare it with internal::document_api::recrypt_document, which is identified as having almost the needed functionality. Trace how user and group IDs are resolved to public keys, then define the direct-public-key interface and verify that it avoids those service lookups while preserving encryption behavior.

Written by the indexing model from the issue text.

Assessment

Tech stack
rust
Domain
cryptography
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.