From e43642b527ef364d0cde0b4198271cc3a220796c Mon Sep 17 00:00:00 2001 From: amargedon Date: Fri, 3 Nov 2023 08:50:42 +0100 Subject: [PATCH 1/2] Update signed_endpoints_rsa.md Correct command for generating private key witgh 4096 length --- signed_endpoints_rsa.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/signed_endpoints_rsa.md b/signed_endpoints_rsa.md index 667e254..a978443 100644 --- a/signed_endpoints_rsa.md +++ b/signed_endpoints_rsa.md @@ -9,7 +9,7 @@ Generate Private Key Run this command to generate a 4096-bit private key and output it to the private.pem file. If you like, you may change the key length and/or output file. ``` -openssl genrsa +openssl genrsa -out private.pem -numbits 4096 ``` Derive Public Key @@ -99,4 +99,4 @@ mode | paper ``` [linux]$ curl -H "Apikey: vmPUZE6mv9SD5VNHk4HlWFsOr6aKE2zvsw0MuIgwCIPy6utIco14y7Ju91duEh8A" -H "Signature: EEVNxc6DLLb6PVNzc3jeNkVXVIfgHJVrfLws4Hm7wynLTLlDe6QpwPmOeT/5lAZDsft+sIN0nwo4SBNKmkea6mtxkcVz/8BuP3rhQVeGhRn3lAGy/nacsP35B50IMDx+ge1tnkjGGL4IbjtbfP5v+UVLMpJpWfVzQGlWpyLEL6PHAu7cuYs5Ug8lbfq4zgrpl1tSmemNVAedU4D4qYE/LaPB/z/urzoFYQZzobZbnXpLh4MRLaTjUgTNuiJawpk+j0K7Xk2AvHt+gY1TNOCmbRvjaP+ihgzZA0m4h32s7EdGMznI55C4CVftKQRVIfyR6TIifoljCG5nNJNZtTj98Q==" -X POST 'https://api.3commas.io/public/api/ver1/users/change_mode?mode=paper' -``` \ No newline at end of file +``` From b3472d5366c306a606de0c8b3758435f89d9e0d9 Mon Sep 17 00:00:00 2001 From: amargedon Date: Fri, 3 Nov 2023 14:32:59 +0100 Subject: [PATCH 2/2] Update signed_endpoints_rsa.md -numbits is not recognized everywhere --- signed_endpoints_rsa.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/signed_endpoints_rsa.md b/signed_endpoints_rsa.md index a978443..8141780 100644 --- a/signed_endpoints_rsa.md +++ b/signed_endpoints_rsa.md @@ -9,7 +9,7 @@ Generate Private Key Run this command to generate a 4096-bit private key and output it to the private.pem file. If you like, you may change the key length and/or output file. ``` -openssl genrsa -out private.pem -numbits 4096 +openssl genrsa -out private.pem 4096 ``` Derive Public Key