On 25 February 2016 at 09:38, Markus Lehtonen <
markus.lehto...@linux.intel.com> wrote:
> Not sure I'd trust that either, version comparison logic is painful.
> Something like this might be more resilient to interesting versioning:
>
> dots = versionstring.split('.')
> assert len(dots) >2
> if
On 22 February 2016 at 13:37, Markus Lehtonen <
markus.lehto...@linux.intel.com> wrote:
> As far as I can tell get_gpg_version returns a string. However, you
> compare that with a float. This should give more correct behavior:
> +if gpg_ver > "2.1":
>
Not sure I'd trust that either,
Starting from v2.1 passing passwords directly to gpg does not work
anymore [1], instead a loopback interface must be used otherwise
gpg >2.1 will error out with:
"gpg: signing failed: Inappropriate ioctl for device"
gpg <2.1 does not work with the new --pinentry-mode arg and gives an
invalid