oasisprotocol / oasisprotocol/oasis-core

key manager: what uses ContractKey::from_public_key?

Open
#2,198 1 comment 0 reactions 0 assignees View on GitHub

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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.