Page MenuHomeFreeBSD

Introduce the 'n' flag for the geli attach command.
ClosedPublic

Authored by oshogbo on May 5 2018, 2:27 PM.
Tags
None
Referenced Files
F102684945: D15309.diff
Fri, Nov 15, 8:31 PM
Unknown Object (File)
Mon, Oct 28, 9:00 AM
Unknown Object (File)
Sep 30 2024, 12:13 AM
Unknown Object (File)
Sep 30 2024, 12:13 AM
Unknown Object (File)
Sep 30 2024, 12:08 AM
Unknown Object (File)
Sep 30 2024, 12:08 AM
Unknown Object (File)
Sep 21 2024, 4:07 PM
Unknown Object (File)
Sep 18 2024, 7:28 PM
Subscribers

Details

Summary

If the 'n' flag is provided the provided key number will be used to decrypt
device. This can be used combined with dryrun to verify if the key is set
correctly. This can be also used to determine which key slot we want to
change on already attached device.

Diff Detail

Lint
Lint Skipped
Unit
Tests Skipped

Event Timeline

allanjude added inline comments.
sys/geom/eli/g_eli_key.c
108

This comment needs updating. It no longer returns the key number as nkeyp, since it takes the specific key as input nkey.

This revision now requires changes to proceed.May 5 2018, 3:40 PM
This revision is now accepted and ready to land.May 8 2018, 12:32 AM
This revision was automatically updated to reflect the committed changes.