From 3971955cfe5ac98fbb19d81901b474f2182b9241 Mon Sep 17 00:00:00 2001 From: Derek McGowan Date: Tue, 14 Jul 2015 11:44:50 -0700 Subject: [PATCH] Change fallback timestamp algorithtm to supported version ECDSA timestamp keys currently not supported by crypto service, use support ED25519. Signed-off-by: Derek McGowan (github: dmcgowan) --- server/handlers/default.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/handlers/default.go b/server/handlers/default.go index 9de0c820a7..eb78ad5d10 100644 --- a/server/handlers/default.go +++ b/server/handlers/default.go @@ -311,7 +311,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.ECDSAKey) + key, err := timestamp.GetOrCreateTimestampKey(gun, store, crypto, data.ED25519Key) if err != nil { return &errors.HTTPError{ HTTPStatus: http.StatusInternalServerError,