Page MenuHomeFreeBSD

geli: add a test case for attaching multiple providers with 1 command
ClosedPublic

Authored by asomers on Jan 28 2020, 5:06 PM.
Tags
None
Referenced Files
Unknown Object (File)
Wed, Mar 11, 12:33 PM
Unknown Object (File)
Sat, Mar 7, 6:53 PM
Unknown Object (File)
Sat, Mar 7, 6:29 PM
Unknown Object (File)
Sat, Mar 7, 10:38 AM
Unknown Object (File)
Sat, Mar 7, 12:55 AM
Unknown Object (File)
Feb 8 2026, 3:04 PM
Unknown Object (File)
Feb 8 2026, 9:31 AM
Unknown Object (File)
Jan 31 2026, 2:09 PM
Subscribers

Details

Summary

geli: add a test case for attaching multiple providers with 1 command

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 28991
Build 26965: arc lint + arc unit

Event Timeline

LGTM. 8kB is overkill for the key, but mostly harmless.

tests/sys/geom/class/eli/attach_test.sh
85

I don't know what geli does with it, but 32 bytes (256 bits) is completely sufficient as a key. I checked and geli doesn't reject 256 bit keys.

Unfortunately, it does *accept* keys smaller than 256 bits. It also accepts keys smaller than 128 bits :-(. This is probably a bug we should fix (orthogonal to this test). I filed PR 243676.

This revision is now accepted and ready to land.Jan 28 2020, 5:25 PM