Closed aurrak closed 3 weeks ago
@aurrak does it work with this link?
When I execute gpg --expert --full-gen-key
as root, everything works without such a link and there is no error for missing pinentry.
Only execution as regular user gives the error.
BTW I used the full path /var/packages/gnupg/target/bin/gpg
since /bin/gpg
is an older version installed.
The key gen as root works for both, /bin/gpg and gpp of the package (and there is no other pinentry executable except the one of the gnupg package.
We already had a related issue #5150 that was fixed by #5777.
@aurrak does it work with this link?
When I execute
gpg --expert --full-gen-key
as root, everything works without such a link and there is no error for missing pinentry. Only execution as regular user gives the error.BTW I used the full path
/var/packages/gnupg/target/bin/gpg
since/bin/gpg
is an older version installed. The key gen as root works for both, /bin/gpg and gpp of the package (and there is no other pinentry executable except the one of the gnupg package.We already had a related issue #5150 that was fixed by #5777.
Oh wow, you are right. I just tried removing that symlink and the same command somehow works for both root
and regular user still.
I could have sworn that it wasn't working last night until I manually created that pinentry
symlink. I am not sure why it's all working fine now, but I guess that's good news? 👍
@aurrak, just circling back on some older tickets. Do you still require assistance or should this issue be closed?
@mreid-tt This issue can be closed now, thanks for the follow up!
Is this a new Bug?
Package Name
GnuPG
Package Version
2.4.2-6
Device Model
DS920+
Device Architecture
x86_64
Firmware Version
DSM 7.2.1-69057 Update 5
What happened?
After installing the SynoCommunity GnuPG package,
pinentry
is not added to/usr/local/bin
like the rest of thegpg*
binaries.Therefore, subsequent
gpg --expert --full-gen-key
produces error like the following:Workaround: Manually create a symlink that points to
/var/packages/gnupg/target/bin/pinentry
Reproduction steps
which gpg
(pointing to/usr/local/bin
) andgpg --version
(2.4.2
).gpg --expert --full-gen-key
Install Log
Service Log
No response
Other Logs
No response