Change fallback timestamp algorithtm to supported version

ECDSA timestamp keys currently not supported by crypto service, use support ED25519.

Signed-off-by: Derek McGowan <derek@mcgstyle.net> (github: dmcgowan)
This commit is contained in:
Derek McGowan 2015-07-14 11:44:50 -07:00
parent ead0224526
commit 3971955cfe
1 changed files with 1 additions and 1 deletions

View File

@ -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,