cmd: rearrange snap-fde-keymgr so so it can be reused by snap-bootstrap
- rearrange fdeKeyMgr implementation so it can be reused by snap-bootstrap
- add fdekeymgr functionality to
snap-bootstrap
fdekeymgr is used during factory reset. Rearranging implementation so snap-fdekeymgr functionality can be built as part of the snap-boostrap, so we can handle factory reset within snap-bootstrap without need to include fdekeymgr binary.
this seems to do more that what the summary says. About dealing with hooks we'll need to see what is our final design
this seems to do more that what the summary says. About dealing with hooks we'll need to see what is our final design
@pedronis I have rework PR and updated the description so it represents what PR actually do.
Codecov Report
Attention: 47 lines in your changes are missing coverage. Please review.
Comparison is base (
c0ade98) 78.88% compared to head (830847e) 78.87%.
:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.
Additional details and impacted files
@@ Coverage Diff @@
## master #12641 +/- ##
==========================================
- Coverage 78.88% 78.87% -0.01%
==========================================
Files 1030 1032 +2
Lines 130562 130596 +34
==========================================
+ Hits 102993 103010 +17
- Misses 21161 21175 +14
- Partials 6408 6411 +3
| Flag | Coverage Δ | |
|---|---|---|
| unittests | 78.87% <69.28%> (-0.01%) |
:arrow_down: |
Flags with carried forward coverage won't be shown. Click here to find out more.
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
Hi @chrisccoulson Can you please have a look at this and how this would be affected by the future key configuration and management?
Please note due to size limits we typically desire to have "the one" golang binary in the initrd.