Skip to content

Add support for HSMs#7

Merged
ricardosalveti merged 7 commits intofoundriesio:masterfrom
doanac:pkcs11
Jul 16, 2020
Merged

Add support for HSMs#7
ricardosalveti merged 7 commits intofoundriesio:masterfrom
doanac:pkcs11

Conversation

@doanac
Copy link
Copy Markdown
Member

@doanac doanac commented Jul 7, 2020

This adds support to fioconfig for working with HSMs. It requires a patch to crytpo11:

ThalesGroup/crypto11#70

doanac added 6 commits June 26, 2020 16:00
Signed-off-by: Andy Doan <andy@foundries.io>
This lets us connect to the device-gateway via TLS

Signed-off-by: Andy Doan <andy@foundries.io>
We are going to update this in a way that probably can't be merged
upstream. This was copied from:

 https://github.com/ethereum/go-ethereum/blob/02cea2330d6b4822b43a7fbaeacc12ddc8e8b1db/crypto/ecies/ecies.go

Signed-off-by: Andy Doan <andy@foundries.io>
This required some golang tidy updates and I removed the unused
functions.

Signed-off-by: Andy Doan <andy@foundries.io>
Signed-off-by: Andy Doan <andy@foundries.io>
Signed-off-by: Andy Doan <andy@foundries.io>
@doanac doanac requested a review from ricardosalveti July 7, 2020 15:51
@doanac
Copy link
Copy Markdown
Member Author

doanac commented Jul 7, 2020

@ricardosalveti - unit tests aren't going to be able to pass because of the required patch.

This is a temporary work-around while the PR gets sorted out:

 ThalesGroup/crypto11#70

Signed-off-by: Andy Doan <andy@foundries.io>
Copy link
Copy Markdown
Member

@ricardosalveti ricardosalveti left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, thanks for doing this work!

@ricardosalveti ricardosalveti merged commit 9713f2b into foundriesio:master Jul 16, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants