Move generate key back into user
This commit is contained in:
parent
c73ce3ff99
commit
6b4501c342
1 changed files with 3 additions and 1 deletions
|
|
@ -342,5 +342,7 @@ class User
|
|||
}
|
||||
}
|
||||
end
|
||||
|
||||
def self.generate_key
|
||||
OpenSSL::PKey::RSA::generate 4096
|
||||
end
|
||||
end
|
||||
|
|
|
|||
Loading…
Reference in a new issue