-
Notifications
You must be signed in to change notification settings - Fork 65
feat: tedge cert create-key
command
#3709
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
Draft
Bravo555
wants to merge
12
commits into
thin-edge:main
Choose a base branch
from
Bravo555:feat/pkcs11-create-key
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Draft
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Codecov ReportAttention: Patch coverage is 📢 Thoughts on this report? Let us know! 🚀 New features to boost your workflow:
|
7d44718
to
c2e2aa1
Compare
c2e2aa1
to
993fd82
Compare
993fd82
to
64f3a6b
Compare
64f3a6b
to
525651b
Compare
3025528
to
c638b40
Compare
Robot Results
Failed Tests
|
c638b40
to
c3959cd
Compare
c3959cd
to
e099533
Compare
e099533
to
fef773e
Compare
25fe73f
to
629ccbe
Compare
4ce401c
to
f62d5d0
Compare
f62d5d0
to
3281dca
Compare
Signed-off-by: Marcel Guzik <marcel.guzik@cumulocity.com>
The command uses TedgeP11Client to create a new RSA keypair on the PKCS11 token. Signed-off-by: Marcel Guzik <marcel.guzik@cumulocity.com>
Signed-off-by: Marcel Guzik <marcel.guzik@cumulocity.com>
Signed-off-by: Marcel Guzik <marcel.guzik@cumulocity.com>
Added options to create EC keys, however there remains a problem that p11tool doesn't display curve names as it does with keys generated with `p11tool --generate-privkey`. Signed-off-by: Marcel Guzik <marcel.guzik@cumulocity.com>
Signed-off-by: Marcel Guzik <marcel.guzik@cumulocity.com>
Signed-off-by: Marcel Guzik <marcel.guzik@cumulocity.com>
Signed-off-by: Marcel Guzik <marcel.guzik@cumulocity.com>
Signed-off-by: Marcel Guzik <marcel.guzik@cumulocity.com>
Signed-off-by: Marcel Guzik <marcel.guzik@cumulocity.com>
Signed-off-by: Marcel Guzik <marcel.guzik@cumulocity.com>
3281dca
to
1aa5da4
Compare
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
TODO
Proposed changes
Implements a
tedge cert create-key
command that can be used to create a private key on a PKCS11 token without additional tools.Types of changes
Paste Link to the issue
#3665
Checklist
just prepare-dev
once)just format
as mentioned in CODING_GUIDELINESjust check
as mentioned in CODING_GUIDELINESFurther comments