I'm trying to run the 1Password CLI in a somewhat unusual environment: On an Android device, using Termux. This is mainly because my device is running pretty much Google-free, using LineageOS 15.1. I don't have access to the Play Store and thus can't install the normal Android app. (An official, trustworthy APK download from your website would be so awesome, could you maybe ping your Android team?)
I've downloaded the 1Password CLI for Linux/ARM, and it's basically running. However, it seems to have problems looking up DNS names. This is the error I'm getting while signing in:
$ op signin xxxxxxxx.1password.eu [email protected] A3-XXXXXX-XXXXXX-XXXXX-XXXXX-XXXXX-XXXXX Enter the password for [email protected] at xxxxxxxx.1password.eu: [LOG] 2019/05/19 13:44:44 (ERROR) Get https://xxxxxxxx.1password.eu/api/v2/auth/[email protected]/A3/XXXXXX/xxxxxxxxxxxxxxx: dial tcp: lookup xxxxxxxx.1password.eu on [::1]:53: read udp [::1]:46090->[::1]:53: read: connection refused
To me, it looks like the tool is trying to look up the sign-in host name by querying a DNS server on
localhost. And while I do run a unusual setup, running a local DNS server is not part of it.
I don't know why it's doing that, running
curl xxxxxxxx.1password.eu works fine, it's just
op that's misbehaving.
As far as I can tell from the log message,
op is implemented in Go, so I'll have a look at where it's getting its list of DNS servers from, but in the mean time, maybe you know something about it.
1Password Version: 0.5.6
Extension Version: Not Provided
OS Version: LineageOS 15.1, Termux 0.69
Sync Type: Not Provided