mirror of
https://github.com/containers/skopeo.git
synced 2025-09-10 11:09:47 +00:00
prompt-less signing via passphrase file
To support signing images without prompting the user, add CLI flags for providing a passphrase file. Signed-off-by: Valentin Rothberg <rothberg@redhat.com>
This commit is contained in:
14
vendor/github.com/proglottis/gpgme/unset_agent_info_windows.go
generated
vendored
Normal file
14
vendor/github.com/proglottis/gpgme/unset_agent_info_windows.go
generated
vendored
Normal file
@@ -0,0 +1,14 @@
|
||||
package gpgme
|
||||
|
||||
// #include <stdlib.h>
|
||||
import "C"
|
||||
import (
|
||||
"unsafe"
|
||||
)
|
||||
|
||||
// unsetenv is not available in mingw
|
||||
func unsetenvGPGAgentInfo() {
|
||||
v := C.CString("GPG_AGENT_INFO=")
|
||||
defer C.free(unsafe.Pointer(v))
|
||||
C.putenv(v)
|
||||
}
|
Reference in New Issue
Block a user