mirror of
https://github.com/YunoHost/dynette.git
synced 2024-09-03 20:06:17 +02:00
[enh] store key algo
This commit is contained in:
parent
e51f1eb11a
commit
eb9b14f8fe
1 changed files with 7 additions and 0 deletions
|
@ -27,6 +27,13 @@ class Entry
|
|||
|
||||
property :id, Serial
|
||||
property :public_key, String
|
||||
|
||||
# for historical reasons, dnssec algo was md5, so we assume that every
|
||||
# entry is using md5 while we provide automatic upgrade code inside
|
||||
# yunohost to move to sha256 instead (and register new domains using sh256)
|
||||
# it would be good to depreciate md5 in the futur but that migh be complicated
|
||||
property :key_algo, String, :default => "hmac-md5"
|
||||
|
||||
property :subdomain, String
|
||||
property :current_ip, String
|
||||
property :created_at, DateTime
|
||||
|
|
Loading…
Reference in a new issue