[fix] hmac-sha512 keys are bigger than 50 chars

This commit is contained in:
Laurent Peuch 2017-09-21 06:24:29 +02:00
parent 0c40a0275e
commit 8bfe653531

View file

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