From d4964421ec39c076612b732948634b2dd5637ebf Mon Sep 17 00:00:00 2001 From: Laurent Peuch Date: Wed, 20 Sep 2017 19:19:22 +0200 Subject: [PATCH] [fix] we don't expect this argument --- dynette.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dynette.rb b/dynette.rb index a966979..77ba659 100755 --- a/dynette.rb +++ b/dynette.rb @@ -205,7 +205,7 @@ post '/key/:public_key' do end # Migrate a key from hmac-md5 to hmac-sha512 because it's 2017 -put '/migrate_key_to_sha512/:public_key' do +put '/migrate_key_to_sha512/' do # TODO check parameters params[:public_key_md5] = Base64.decode64(params[:public_key_md5].encode('ascii-8bit')) params[:public_key_sha512] = Base64.decode64(params[:public_key_sha512].encode('ascii-8bit'))