Open dlrobertson opened 4 years ago
:( It appears the runners do not support encrypted keys... man_shrugging maybe place the tests or all of encrypted keys behind a feature?
Yes, testing this stuff has been…painful on public CI infrastructure. They have this fetish with running as root inside containers which really messes with the permission checking done here. Quotas are also wacky and cause…interesting failures. See #34 for some fun.
Note that this change now requires CONFIG_ENCRYPTED_KEYS to be enabled for unit tests to pass.
I've just merged #34 (with #39 as a TODO item) and some holes for tests when run as root. Please move the tests to the encrypted.rs
file and use some of the patterns there for capability checking.
Awesome! Will update soon
I added some basic tests for the
Encrypted
KeyType
. Note that this change now requiresCONFIG_ENCRYPTED_KEYS
to be enabled for unit tests to pass.