oasisprotocol / oasisprotocol/oasis-core
key manager: what uses ContractKey::from_public_key?
Open
Nobody has claimed this yet.
c:key management
- Dominant language
- Go
- Stars
- 369
- Forks
- 151
- Avg merge
- 1d 3h
- Merged PRs (30d)
- 6
Description
What uses it? Can we correctly handle a ContractKey struct where the private key is invalid?
Details
encountered in keymanager-runtime/api/src/api.rs
from internal key manager audit
Acceptance Criteria
- none. discussion needed
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start in keymanager-runtime/api/src/api.rs and identify what uses ContractKey::from_public_key. The issue has no acceptance criteria, so determine and document the intended handling of a ContractKey with an invalid private key before implementation can be considered complete.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- go
- Domain
- blockchain, security
- Issue type
- Bug
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 20/100