1
0
Fork 0
This repository has been archived on 2023-03-27. You can view files and clone it, but cannot push or open issues or pull requests.
lpr-partynest/app/models/rsa_key.rb
2019-09-14 04:20:47 +05:00

11 lines
205 B
Ruby

# frozen_string_literal: true
class RSAKey < AsymmetricKey
###############
# Validations #
###############
validates :bits, inclusion: { in: [2048, 4096] }
validates :curve, absence: true
end