LUKS
Setup automatic unlock:
Regenerate
If automatic unlock does not work anymore it needs to be regenerated. First list the used slots:
Then regenerate using slot
Change PCRs
To change PCRs you first need to delete the key and then re-add using the wanted PCRs. List the used slots:
Remove the slot:
Note: -f
will not ask for confirmation but is needed if there is no other slot set up.
After that re-add the key like above.