diff --git a/api/gpg.go b/api/gpg.go index 91e09b36..3d4026aa 100644 --- a/api/gpg.go +++ b/api/gpg.go @@ -218,6 +218,8 @@ func apiGPGDeleteKey(c *gin.Context) { args := []string{ "--no-default-keyring", "--allow-non-selfsigned-uid", + "--batch", + "--yes", } keyring := "trustedkeys.gpg"