mirror of https://github.com/docker/docs.git
Fixing lint
Signed-off-by: Diogo Monica <diogo@docker.com>
This commit is contained in:
parent
765a2cf661
commit
a139807d89
|
|
@ -655,8 +655,8 @@ func (r *NotaryRepository) ListRootKeys() []string {
|
|||
return r.rootKeyStore.ListKeys()
|
||||
}
|
||||
|
||||
// TODO(diogo): show not create keys manually, should use a cryptoservice instead
|
||||
// GenRootKey generates a new root key protected by a given passphrase
|
||||
// TODO(diogo): show not create keys manually, should use a cryptoservice instead
|
||||
func (r *NotaryRepository) GenRootKey(algorithm, passphrase string) (string, error) {
|
||||
var err error
|
||||
var privKey *data.PrivateKey
|
||||
|
|
|
|||
|
|
@ -61,8 +61,8 @@ func (trust *RufusSigner) Sign(keyIDs []string, toSign []byte) ([]data.Signature
|
|||
return signatures, nil
|
||||
}
|
||||
|
||||
// TODO(diogo): Ignoring algorithm for now until rufus supports it
|
||||
// Create creates a remote key and returns the PublicKey associated with the remote private key
|
||||
// TODO(diogo): Ignoring algorithm for now until rufus supports it
|
||||
func (trust *RufusSigner) Create(role string, _ data.KeyAlgorithm) (*data.PublicKey, error) {
|
||||
publicKey, err := trust.kmClient.CreateKey(context.Background(), &pb.Void{})
|
||||
if err != nil {
|
||||
|
|
|
|||
Loading…
Reference in New Issue