aboutsummaryrefslogtreecommitdiff
path: root/internal/readpassword/trezor_disabled.go
diff options
context:
space:
mode:
Diffstat (limited to 'internal/readpassword/trezor_disabled.go')
-rw-r--r--internal/readpassword/trezor_disabled.go4
1 files changed, 4 insertions, 0 deletions
diff --git a/internal/readpassword/trezor_disabled.go b/internal/readpassword/trezor_disabled.go
index 3ba969c..c512f1b 100644
--- a/internal/readpassword/trezor_disabled.go
+++ b/internal/readpassword/trezor_disabled.go
@@ -9,9 +9,13 @@ import (
)
const (
+ // TrezorPayloadLen is the length of the payload data passed to Trezor's
+ // CipherKeyValue function.
TrezorPayloadLen = 32
)
+// Trezor determinitically derives 32 bytes from the payload and the connected
+// USB security module.
func Trezor(payload []byte) []byte {
tlog.Fatal.Printf("\"-trezor\" is not implemented yet.")
os.Exit(1)