mirror of https://github.com/docker/docs.git
Adding default timestamp key to be ECDSA
Signed-off-by: Diogo Monica <diogo@docker.com>
This commit is contained in:
parent
70f9f3277a
commit
b9dd9efe12
|
@ -174,7 +174,7 @@ func GetTimestampKeyHandler(ctx context.Context, w http.ResponseWriter, r *http.
|
||||||
vars := mux.Vars(r)
|
vars := mux.Vars(r)
|
||||||
gun := vars["imageName"]
|
gun := vars["imageName"]
|
||||||
|
|
||||||
key, err := timestamp.GetOrCreateTimestampKey(gun, store, crypto, data.ED25519Key)
|
key, err := timestamp.GetOrCreateTimestampKey(gun, store, crypto, data.ECDSAKey)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
logrus.Debugf("[Notary Server] 500 GET timestamp key for %s: %v", gun, err)
|
logrus.Debugf("[Notary Server] 500 GET timestamp key for %s: %v", gun, err)
|
||||||
return errors.ErrUnknown.WithDetail(err)
|
return errors.ErrUnknown.WithDetail(err)
|
||||||
|
|
Loading…
Reference in New Issue