Skip to content
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

optee, openenclave: added custom key path parameter #238

Open
wants to merge 5 commits into
base: 0.1.4-dogebox-pre
Choose a base branch
from

Conversation

edtubbs
Copy link
Collaborator

@edtubbs edtubbs commented Jan 10, 2025

Update OpenEnclave and OP-TEE key management enclaves to support custom key paths, optional YubiKey usage, and password-based authentication. Added a random shared secret for TOTP, extended keys for delegation, and improved host prompts for user input.

The OpenEnclave key management enclave now supports secure sealing. Unnecessary CI patches were removed, and the workflow was updated to the latest OP-TEE master branch. Documentation in enclaves.md has been updated to reflect these changes.

Merge after #232.

openenclave, optee: added key manager enclaves
openenclave, optee: added command line interfaces
ci: updated x86 target for openenclave
ci: added aarch64 target for op-tee
ci: added x86 target for nixos
doc: added enclave.md
depends: added libyubikey, libusb and libykpiv
sha: added sha1 and hmac for authentication with yubikey
tests: added sha1 and hmac
address: added wrapper for address from account pub key
example: added wrapper
test: added wrapper to bip44_test

[feat] added yubikey for storage

config, cmake, seal, tests: added yubikey support
seal: added encrypted blobs to software encryption
such, spvnode, wallet: updated software encryption
tests: added encrypted blobs
doc: added yubikey.md

[feat] added NanoPC-T6 enclave

ci: added NanoPC-T6 support for op-tee
doc: updated enclave.md
optee: added rk3588-nanopi6-common.dtsi.patch
optee: added nanopi6.h.patch
updated sign-x86_64-macos artifact name
added verbose to sign-x86_64_macos actions
optee: updated patch format
@edtubbs edtubbs force-pushed the 0.1.4-dev-enclave-keypath branch 8 times, most recently from cde8a01 to 1eb3100 Compare January 14, 2025 20:46
optee, openenclave: added yubikey option to hosts
optee, openenclave: added random shared secret for totp
optee, openenclave: updated yubikey to optional if auth token is supplied
optee, openenclave: updated totp to optional if password is supplied
optee, openenclave: updated totp check from string to integer
optee, openenclave: updated to confirm password
optee: updated delegate key to store and export extended key
optee: updated host to prompt as necessary and removed option
openenclave: added password as mnemonic passphrase
openenclave: added auth token option to host and parameter to enclave
openenclave: added oeseal_gcmaes for enclave sealing
openenclave: added data_t and updated enclave parameters
openenclave: removed simulated oe_seal_wrap and oe_unseal_wrap
header: added utils for hex/bin conversion
ci: removed patches now applied during make or un-necessary
ci: updated to OP-TEE repo and branch to master
ci: updated to build libdogecoin separately for host and enclave
doc: updated enclaves.md
@edtubbs edtubbs force-pushed the 0.1.4-dev-enclave-keypath branch from 1eb3100 to 0227f77 Compare January 14, 2025 21:02
Copy link
Member

@xanimo xanimo left a comment

Choose a reason for hiding this comment

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

ACK. tested on x86_64-linux-gnu jammy and nanopc-t6 w/buildroot and both with and without yubikey

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