Open walker27460 opened 7 years ago
If it only was that easy...
Shall I package it?
Gnupg2 have issues under MSYS2 and it cannot be used with pacman at this moment.
Why Linux can use GnuPG Modern?
As I remember gnupg2 use agent that need X11. MSYS2 dont have X11 and will not have it
I think that agent is pinentry. pinentry can use under CLI.
@yuui-tanabe you can try build gnupg2 yourself and try sing with it some files. If it is ok we will see
OK. I'll do it.
If the gnupg2 usable on pacman, I'll give you whole package
You can build pinentry w/ --enable-pinentry-tty
as pinentry-tty which "[...] has
minimal dependencies, meaning that it is useful for users working
with dumb terminals or similarly constrained environments." (debian package info of pinentry-tty; emphasis mine.)
So maybe it is sufficient to add pinentry-tty as a package and build gnugp with it?
I've used gpg2 without X. Never had any issues.
@criztovyl Can you give me GnuPG 2 Package Script?
I do not have a package script, I haven't yet looked into pacman and PKGBUILD, or even building GnuPG. I just took a look at the GnuPG and pinentry configure scripts and found the mentioned switch.
GnuPG is too old. Upgrade please.