Adding default timestamp key to be ECDSA

Signed-off-by: Diogo Monica <diogo@docker.com>
This commit is contained in:
Diogo Monica 2015-07-27 17:35:30 -07:00
parent 70f9f3277a
commit b9dd9efe12
1 changed files with 1 additions and 1 deletions

View File

@ -174,7 +174,7 @@ func GetTimestampKeyHandler(ctx context.Context, w http.ResponseWriter, r *http.
vars := mux.Vars(r)
gun := vars["imageName"]
key, err := timestamp.GetOrCreateTimestampKey(gun, store, crypto, data.ED25519Key)
key, err := timestamp.GetOrCreateTimestampKey(gun, store, crypto, data.ECDSAKey)
if err != nil {
logrus.Debugf("[Notary Server] 500 GET timestamp key for %s: %v", gun, err)
return errors.ErrUnknown.WithDetail(err)