aboutsummaryrefslogtreecommitdiff
path: root/internal/readpassword/trezor.go
diff options
context:
space:
mode:
Diffstat (limited to 'internal/readpassword/trezor.go')
-rw-r--r--internal/readpassword/trezor.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/internal/readpassword/trezor.go b/internal/readpassword/trezor.go
index 43e2805..a4d32cf 100644
--- a/internal/readpassword/trezor.go
+++ b/internal/readpassword/trezor.go
@@ -21,6 +21,8 @@ const (
trezorNonce = "" // the "nonce" is optional and has no use in here
trezorKeyName = "gocryptfs"
trezorKeyDerivationPath = `m/10019'/0'`
+ // TrezorSupport is true when gocryptfs has been compile with -tags enable_trezor
+ TrezorSupport = true
)
func trezorGetPin(title, description, ok, cancel string) ([]byte, error) {