mirror of
https://github.com/docusealco/docuseal
synced 2026-11-07 15:22:33 -05:00
refactor result generation
This commit is contained in:
1 parent
761bb07ee6
commit
3dd7c47558
12 files changed
+40
-25
No files matched your search
@@ -1,12 +1,11 @@
|
||||
# frozen_string_literal: true
|
||||
|
||||
module GenerateCertificate
|
||||
NAME = Docuseal::PRODUCT_NAME
|
||||
SIZE = 2**11
|
||||
|
||||
module_function
|
||||
|
||||
def call(name = NAME)
|
||||
def call(name = Docuseal.product_name)
|
||||
root_cert, root_key = generate_root_ca(name)
|
||||
|
||||
sub_cert, sub_key = generate_sub_ca(name, root_cert, root_key)
|
||||
|
||||
Reference in new issue
Block a user