Comments (5)
Most of the delay seems to come from gnupg
’s common/asshelp.c
:start_new_gpg_agent
, which creates a new gpg-agent
process and then waits a whole second before trying to connect to the agent.
Filed https://bugzilla.redhat.com/show_bug.cgi?id=1431749 .
Creating the ephemeral GPG mechanisms once per PolicyContext
instead of once per verification would still help.
from image.
@mtrmac @vrothberg Since this bugzilla was closed a while ago, can we close this issue?
from image.
I'll take the shot and close.
from image.
That bug fix helps only on Fedora distributions, it still has not been merged upstream, so e.g. Mac users are still slowed down.
And while that does help a lot, we still potentially do a lot of redundant work (including spawning gnupg*
subprocesses), so keeping state over the lifetime of the PolicyContext
still should be done.
https://github.com/mtrmac/image/tree/signature-caching is a very rough start of implementing this.
from image.
The time to launch gpg-agent
has been improved upstream now ( https://dev.gnupg.org/T3490 ).
The signature-caching
branch linked above would still avoid some of the redundant work.
from image.
Related Issues (20)
- proposal: Support append images into docker archive HOT 1
- Make a new release HOT 2
- Docker client code can no longer talk to the latest verson of the docker daemon 25.0.0 HOT 5
- Allow empty OCI configs for artifacts HOT 9
- policy.json overwrite not honouring $XDG_CONFIG_HOME HOT 3
- Podman cannot pull image from local registry HOT 4
- copy.Options.EnsureCompressionVariantsExist doesn’t detect existing variants with zstd:chunked
- support multiple sigstore keys HOT 6
- How can I copy from a tar file stream HOT 7
- "slices" module only in go 1.21 HOT 1
- Cannot pull sigstore signed image with podman HOT 4
- Error inspecting local manifest-lists HOT 6
- platform.WantedPlatforms is noisy on macOS HOT 7
- Incorrect syntax highlighting in containers-transports.5
- Why do we get the whole image when inspect with docker daemon? HOT 2
- Support sigstore BYO PKI verification HOT 1
- Support more arbitrary credential helper executable names? HOT 4
- OCI image index loose the artifactType property on copy HOT 4
- zstd:chunked and layer encryption don’t make sense together HOT 3
- How to change the policy.json default path? HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from image.