summaryrefslogtreecommitdiff
path: root/internal/readpassword/trezor_disabled.go
blob: 3ba969cf83b33c52081aad781c9cc88de1f77aba (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
// +build !enable_trezor

package readpassword

import (
	"os"

	"github.com/rfjakob/gocryptfs/internal/tlog"
)

const (
	TrezorPayloadLen = 32
)

func Trezor(payload []byte) []byte {
	tlog.Fatal.Printf("\"-trezor\" is not implemented yet.")
	os.Exit(1)
	return nil
}