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
Unknown Object (File)
Mar 8 2024, 3:27 AM
Unknown Object (File)
Mar 8 2024, 3:27 AM
Unknown Object (File)
Mar 8 2024, 3:23 AM
Unknown Object (File)
Mar 8 2024, 3:19 AM
Unknown Object (File)
Mar 8 2024, 3:07 AM
Unknown Object (File)
Feb 14 2024, 6:33 PM
Unknown Object (File)
Jan 19 2024, 10:02 AM
Unknown Object (File)
Dec 20 2023, 3:53 AM
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

Repository
rS FreeBSD src repository - subversion
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

allanjude added inline comments.
sys/geom/eli/g_eli_key.c
109 ↗(On Diff #42170)

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.