Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
ruanhaishen
Acme.Sh
Commits
cae9cee2
Commit
cae9cee2
authored
Nov 04, 2016
by
neilpang
Browse files
add debug info
parent
067d586c
Changes
1
Show whitespace changes
Inline
Side-by-side
acme.sh
View file @
cae9cee2
...
@@ -894,6 +894,7 @@ _calcjwk() {
...
@@ -894,6 +894,7 @@ _calcjwk() {
if [ -z "$crv" ] ; then
if [ -z "$crv" ] ; then
_debug "Let's try ASN1 OID"
_debug "Let's try ASN1 OID"
crv_oid="$(openssl ec -in $keyfile -noout -text 2>/dev/null | grep "^ASN1 OID:" | cut -d ":" -f 2 | tr -d " \r\n")"
crv_oid="$(openssl ec -in $keyfile -noout -text 2>/dev/null | grep "^ASN1 OID:" | cut -d ":" -f 2 | tr -d " \r\n")"
_debug3 crv_oid "$crv_oid"
case "${crv_oid}" in
case "${crv_oid}" in
"prime256v1")
"prime256v1")
crv="P-256"
crv="P-256"
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment