Merge pull request #56 from dmcgowan/fix-timestamp-algorithm

Change fallback timestamp algorithtm to supported version
This commit is contained in:
Diogo Mónica 2015-07-14 15:39:48 -07:00
commit 5490ece809
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,