Closed mpounsett closed 6 years ago
It doesn't always fail. If options.mode
is 1, that means you used cache_passphrase mode (-p
) which isn't compatible with gpg2, you must use agent mode (-a
) instead. In PIUS3, when we drop gpg1 support, -p
and -i
will be removed.
Okay.. this is odd. I reproduced this a half-dozen times (with -a
, no-p
) before submitting the bug and now I can't. Clearly I've either fallen through a hole in spacetime or need more caffeine.
I'll close it for now.
No worries. The README until about 10 minutes ago (see #107 ) claimed port was -p
instead of -P
, so maybe you'd used it while trying to set the port?
Anyway, glad it's sorted. :)
libpius.constants.MODE_AGENT is set to 2, which breaks the mode check in the main pius script:
1 != 2, so this always fails.