Bug 268162

Summary: zfskeys_enable: each successful load of a key is preceded by 'key not found, empty or unreadable'
Product: Base System Reporter: Graham Perrin <grahamperrin>
Component: miscAssignee: freebsd-fs (Nobody) <fs>
Status: Open ---    
Severity: Affects Only Me Keywords: needs-patch
Priority: --- Flags: grahamperrin: mfc-stable13?
Version: CURRENT   
Hardware: Any   
OS: Any   
URL: https://cgit.freebsd.org/src/commit/?id=97aeda2243568b386d792514996a06daec55eece
See Also: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=262468
Attachments:
Description Flags
grep -e "key not found" -e "Loading key" /var/log/console.log none

Description Graham Perrin freebsd_committer freebsd_triage 2022-12-05 04:33:01 UTC
Created attachment 238525 [details]
grep -e "key not found" -e "Loading key" /var/log/console.log

Spun off from bug 262468 comment 4, a minor issue. 

The key to the OpenZFS-encrypted dataset is in my home directory. Home on (GELI-encrypted) ZFS on the internal hard disk of an HP EliteBook 8570p. 

The encrypted dataset is on a mobile hard disk drive on USB.
Comment 1 Graham Perrin freebsd_committer freebsd_triage 2022-12-05 04:37:49 UTC
Retrospective: 97aeda2243568b386d792514996a06daec55eece 

> zfskeys: Support autoloading of keys stored on ZFS

* paid attention to order.