mirror of
https://github.com/YunoHost/dynette.git
synced 2024-09-03 20:06:17 +02:00
[fix] hmac-sha512 keys are bigger than 50 chars
This commit is contained in:
parent
0c40a0275e
commit
8bfe653531
1 changed files with 2 additions and 1 deletions
|
@ -26,7 +26,8 @@ class Entry
|
||||||
include BCrypt
|
include BCrypt
|
||||||
|
|
||||||
property :id, Serial
|
property :id, Serial
|
||||||
property :public_key, String
|
# we need at least 90 chars for hmac-sha512 keys
|
||||||
|
property :public_key, String, :length => 100
|
||||||
|
|
||||||
# for historical reasons, dnssec algo was md5, so we assume that every
|
# for historical reasons, dnssec algo was md5, so we assume that every
|
||||||
# entry is using md5 while we provide automatic upgrade code inside
|
# entry is using md5 while we provide automatic upgrade code inside
|
||||||
|
|
Loading…
Reference in a new issue