Questions tagged [gpg-agent]

64 questions
1
vote
0 answers

remove gnupg V.2.1.15 and libgcrypt V.1.7.8 then install gnupg V.2.1.0 and libgcrypt V.1.6.3

I use Lubuntu V.17.10 on my laptop. on this version of Lubuntu installed by default gnupg V.2.1.15 and libgcrypt V.1.7.8. I want to remove gnupg V.2.1.15 and libgcrypt V.1.7.8 then install gnupg V.2.1.0 and libgcrypt V.1.6.3. In the past, I…
quesN
  • 11
  • 1
1
vote
0 answers

Unattended signing of Reprepro packages with gpg-agent

For my SolydXK repository I'd like to add some packages available in Debian stretch-backports. I've successfully setup the conf/distributions, conf/updates and FilterList files and the following command runs successfully when logged in to the…
0
votes
1 answer

Some GPG Commands Suddenly Failing in Dockerfile on AWS

We have the following Dockerfile (I have removed the unecessary parts) which we have used for well over a year now and suddenly, when it gets to the gpg --batch --verify... step the build hangs during CodeBuild and ultimately times out. I have been…
Jay Blanchard
  • 34,243
  • 16
  • 77
  • 119
0
votes
0 answers

gpg-agent GENKEY via cli for simplest RSA , invalid length specifier in sexp returned, using documentation example

https://www.gnupg.org/documentation/manuals/gnupg/Agent-GENKEY.html When I execute gpg-agent --server for an interactive session, and enter the example from this site, I get the following error : "gpg-agent[14]: failed to convert keyparam: Invalid…
0
votes
0 answers

How to use GPG keys with Yubikey in WSL2 to authenticate GIT?

I am trying to setup Yubikey in WSL2 (Ubuntu distro) to use GPG key as SSH keys to authenticate to GIT server. Below is my setup YubiKey Manager (ykman) version: 5.1.1 How was it installed?: Using Yubico's PPA (Ubuntu) Operating system and version:…
Preeti
  • 535
  • 1
  • 6
  • 30
0
votes
0 answers

Sign+Encrypt+Symmetric: Unable to specify Symmetric + Signing Key passphrases in single command

So I've been reading up on Symmetric and Asymmetric. However, according to the docs for GPG, you can actually use Encrypt + Sign + Symmetric in the same command, which allows for a person to decrypt the file with either a passphrase or their…
Arthae
  • 1
  • 1
0
votes
0 answers

lftp used in script - without storing passwords

I use the lftp script from Michael Hutter but would like to avoid storing the password in the script. I have seen several suggestions but none pertinent to lftp. I thought I could avoid a password as a key-based ssh connection to the server exist,…
user855443
  • 2,596
  • 3
  • 25
  • 37
0
votes
0 answers

Trying to find a way to either load or keep --passphrase securely encrypted within gpg.conf file, i'm using gpg (GnuPG) 2.2.23 - so is this possible?

GPG --version gpg (GnuPG) 2.2.23 libgcrypt 1.8.6 Copyright (C) 2020 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later https://gnu.org/licenses/gpl.html This is free software: you are free to change and redistribute it. There…
0
votes
1 answer

Unsafe permissions on homedir in Powershell Azure Function

I am trying to run gpg command (gnupg) in a Linux Azure Function but I get this error: > ERROR: gpg: WARNING: unsafe permissions on homedir '/home/.gnupg' I reduced my code to just be gpg --list-keys to simplify and the error persists. gpg -? runs…
FranLegon
  • 87
  • 1
  • 2
  • 9
0
votes
0 answers

GnuPG v2 store how to export the keys in. secring.gpg and pubring.gpg file from pubring.kbx file

I am trying to use the imported GPG keys in my workflow but it seems I could never export the private keys out of this. I am using GitHub actions https://github.com/marketplace/actions/import-gpg to import private key and passphrase loaded them via…
vgdub
  • 347
  • 5
  • 15
0
votes
0 answers

Using PowerShell script to Encrypt files

I want to automate the encryption files placed in a folder using GPG on Windows Server 2019. I tried calling gpg.exe from the script but it doesn't create any output files. I also tried using debug & verbose to check values that are being set. There…
Abjt G
  • 39
  • 7
0
votes
1 answer

GPG authentication subkey: "invalid format" error

I've been using GPG with authentication subkeys for a while now, and I recently ran into a rather unhelpful error message. I'm writing this question "Q&A-style" to help others who might run into the same problem. I use a set of GPG keys for GitHub…
LRitzdorf
  • 31
  • 1
  • 7
0
votes
1 answer

Enable Version Control Integration by default on New Project creation in CLion

On macOS CLion File > New > Project, I want the new project to automatically VCS > Enable Version Control Integration.... Default settings are typically configured with File > New Projects Setup > Preferences for New Projects... but I do not see the…
0
votes
1 answer

Why a running cronjob causes a new random gpg-agent process running and causes cached passphrase in gpg-agent invalid?

The below simple script is used to check a valid passphrase in gpg-agent cache. When a passphrase is valid, it will just print OK but if a passphrase invalid then it prints a Warning message. #!/bin/bash #…
MaXi32
  • 632
  • 9
  • 26
0
votes
1 answer

GPG Can't connect to S.gpg-agent: Connection Refused

I am attempting to set up gpg preset passphrase caching using the gpg agent so I can automate my file encryption process. In order for the gpg-agent to run and properly cache the passphrase, it seems there needs to be a S.gpg-agent socket located…
Wheet
  • 45
  • 2
  • 9