Results 3 comments of max

does your GPG key have a passphrase? if so, can you try doing this first: ``` export GPG_TTY=$(tty) ```

is your system set up with NTP or similar? my guess is your system clock has drifted over 30seconds or more, so you're getting different codes. i recommend [chrony](http://chrony.tuxfamily.org/) as...

looks like the tests and API are pretty dependent upon the old python2.7 string behavior in order to not break old code, the API will have to be byte strings...