mirror of
https://github.com/YunoHost/dynette.git
synced 2024-09-03 20:06:17 +02:00
[mod] actually this won't increase security at all because tsig is stupid
This commit is contained in:
parent
dfdb70f4ce
commit
7662757275
1 changed files with 0 additions and 2 deletions
|
@ -210,8 +210,6 @@ put '/migrate_key_to_sha512/' do
|
||||||
params[:public_key_md5] = Base64.decode64(params[:public_key_md5].encode('ascii-8bit'))
|
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'))
|
params[:public_key_sha512] = Base64.decode64(params[:public_key_sha512].encode('ascii-8bit'))
|
||||||
|
|
||||||
# TODO signing handling
|
|
||||||
|
|
||||||
# TODO check entry exists
|
# TODO check entry exists
|
||||||
entry = Entry.first(:public_key => params[:public_key_md5],
|
entry = Entry.first(:public_key => params[:public_key_md5],
|
||||||
:key_algo => "hmac-md5")
|
:key_algo => "hmac-md5")
|
||||||
|
|
Loading…
Add table
Reference in a new issue