-
Notifications
You must be signed in to change notification settings - Fork 1.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add support for ECDSA in dgraph cert #3269
Add support for ECDSA in dgraph cert #3269
Commits on Apr 8, 2019
-
cmd/cert/run.go: add EDCSA run option --curve
Add short flag -r for RSA bit size. Add flags --curve and -e for EDCSA curve type. When EDCSA value is set, RSA is ignored.
srfrog committedApr 8, 2019 Configuration menu - View commit details
-
Copy full SHA for 8cd55d7 - Browse repository at this point
Copy the full SHA 8cd55d7View commit details -
cmd/cert/info.go: support both RSA and EDCSA key types in info
srfrog committedApr 8, 2019 Configuration menu - View commit details
-
Copy full SHA for c2214ab - Browse repository at this point
Copy the full SHA c2214abView commit details -
cmd/cert/create.go: change makeKey and readKey for general crypto key…
… types Change signature of readKey and makeKey to support any key type that implements crypto.PrivateKey. This change is made to add support for EDCSA keys, but in the future any other type should be simple to add. Note that crypto.PrivateKey is just a plain dynamic interface type, so it should already support crypto.Signer used in certificate functions.
srfrog committedApr 8, 2019 Configuration menu - View commit details
-
Copy full SHA for f60495a - Browse repository at this point
Copy the full SHA f60495aView commit details -
cmd/cert/cert.go: update to use crypto.Signer
srfrog committedApr 8, 2019 Configuration menu - View commit details
-
Copy full SHA for 14deab0 - Browse repository at this point
Copy the full SHA 14deab0View commit details -
cmd/cert/run.go: rename EDCSA flag to --elliptic-curve to be specific
srfrog committedApr 8, 2019 Configuration menu - View commit details
-
Copy full SHA for ca60ea1 - Browse repository at this point
Copy the full SHA ca60ea1View commit details -
cmd/cert/info.go: add edcsa support to public cert info
srfrog committedApr 8, 2019 Configuration menu - View commit details
-
Copy full SHA for 41a1b25 - Browse repository at this point
Copy the full SHA 41a1b25View commit details
Commits on Apr 9, 2019
-
Merge branch 'master' of github.com:/dgraph-io/dgraph into srfrog/iss…
…ue-2642_support_ecdsa_in_dgraph_cert
srfrog committedApr 9, 2019 Configuration menu - View commit details
-
Copy full SHA for e267e9a - Browse repository at this point
Copy the full SHA e267e9aView commit details -
cmd/cert/cert.go: minor changes for code legibility
srfrog committedApr 9, 2019 Configuration menu - View commit details
-
Copy full SHA for 08dea40 - Browse repository at this point
Copy the full SHA 08dea40View commit details -
cmd/cert/create.go: minor changes for code legibility and usability
srfrog committedApr 9, 2019 Configuration menu - View commit details
-
Copy full SHA for 07ce93f - Browse repository at this point
Copy the full SHA 07ce93fView commit details -
cmd/cert/info.go: add encryption type to info output
Now that we support different key encryption types, we must display the name and parameters when displaying its info.
srfrog committedApr 9, 2019 Configuration menu - View commit details
-
Copy full SHA for 3464628 - Browse repository at this point
Copy the full SHA 3464628View commit details -
cmd/cert/run.go: display key enc type in listing info
Add a new line to `dgraph cert ls` to display the key encryption type. Also, don't panic when command parameters fail, simply exit with error code.
srfrog committedApr 9, 2019 Configuration menu - View commit details
-
Copy full SHA for cc3246a - Browse repository at this point
Copy the full SHA cc3246aView commit details
Commits on Apr 10, 2019
-
cmd/cert/info.go: rename certInfo.encType to 'algo' and display it as…
… 'Algorithm' in the listing
srfrog committedApr 10, 2019 Configuration menu - View commit details
-
Copy full SHA for 57b5a0f - Browse repository at this point
Copy the full SHA 57b5a0fView commit details