diff --git a/repository/key.go b/repository/key.go index 5759849fa..ea8fbd4c7 100644 --- a/repository/key.go +++ b/repository/key.go @@ -225,6 +225,7 @@ func (k *Key) String() string { return fmt.Sprintf("", k.Username, k.Hostname, k.Created) } +// Name returns an identifier for the key. func (k Key) Name() string { return k.name }