Skip to content
This repository was archived by the owner on Apr 7, 2024. It is now read-only.
This repository was archived by the owner on Apr 7, 2024. It is now read-only.

Context Support for Native Store #67

@shizhMSFT

Description

@shizhMSFT

The native store of oras-credentials-go currently depends on github.com/docker/docker-credential-helpers to interact with docker credential helper binaries and does not support context so that it cannot be cancelled when executing the helper binraries.

We should implement the native store to interact with the helper binaries directly according to the protocol with context support.

Contributors can leverage exec.CommandContext for context support for executing commands.

Note The dependency on golang.org/x/sys/execabs is not required since the security patch is enforced since go 1.19 (see doc).

See also: #18 (comment)

Metadata

Metadata

Labels

dependenciesPull requests that update a dependency fileenhancementNew feature or request

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions