aboutsummaryrefslogtreecommitdiff
path: root/Makefile.toml
diff options
context:
space:
mode:
authorFuwn <[email protected]>2022-03-31 03:02:09 +0000
committerFuwn <[email protected]>2022-03-31 03:02:09 +0000
commit440a909a6a2423f7c8bdcbf647f4769f1a0ac3ee (patch)
treeed12a2f9c6dec57193ea38124ce00b3cf36459b0 /Makefile.toml
parentfix(router): use different certificate file (diff)
downloadwindmark-440a909a6a2423f7c8bdcbf647f4769f1a0ac3ee.tar.xz
windmark-440a909a6a2423f7c8bdcbf647f4769f1a0ac3ee.zip
feat(features): auto-deduce-mime
Diffstat (limited to 'Makefile.toml')
-rw-r--r--Makefile.toml32
1 files changed, 11 insertions, 21 deletions
diff --git a/Makefile.toml b/Makefile.toml
index 9ae10e6..b193690 100644
--- a/Makefile.toml
+++ b/Makefile.toml
@@ -25,37 +25,27 @@ dependencies = ["fmt", "check"]
[tasks.checkfc]
dependencies = ["fmt", "check", "clippy"]
-# openssl req -x509 -newkey rsa:4096 -keyout windmark_private.pem -out windmark_public.pem -days 365
-
[tasks.genkey]
command = "openssl"
args = [
"req",
- "-newkey",
- "rsa:2048",
"-new",
- "-nodes",
- "-keyout",
- "windmark_private.pem",
- "-out",
- "windmark_public.pem",
"-subj",
- "/CN=localhost"
-]
-
-[tasks.fixkey]
-command = "openssl"
-args = [
- "x509",
- "-req",
+ "/CN=localhost",
+ "-x509",
+ "-newkey",
+ "ec",
+ "-pkeyopt",
+ "ec_paramgen_curve:prime256v1",
"-days",
"365",
- "-in",
+ "-nodes",
+ "-out",
"windmark_public.pem",
- "-signkey",
+ "-keyout",
"windmark_private.pem",
- "-out",
- "windmark_pair.pem"
+ "-inform",
+ "pem",
]
[tasks.docs]