mirror of https://github.com/docker/docs.git
14 lines
336 B
Go
14 lines
336 B
Go
// +build pkcs11
|
|
|
|
package main
|
|
|
|
import (
|
|
"github.com/docker/notary/passphrase"
|
|
"github.com/docker/notary/trustmanager"
|
|
"github.com/docker/notary/trustmanager/yubikey"
|
|
)
|
|
|
|
func getYubiStore(fileKeyStore trustmanager.KeyStore, ret passphrase.Retriever) (trustmanager.KeyStore, error) {
|
|
return yubikey.NewYubiStore(fileKeyStore, ret)
|
|
}
|