Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

clevis-luks-edit cannot update slots with key #492

Open
EnricoMontecaggi opened this issue Oct 9, 2024 · 0 comments
Open

clevis-luks-edit cannot update slots with key #492

EnricoMontecaggi opened this issue Oct 9, 2024 · 0 comments

Comments

@EnricoMontecaggi
Copy link

clevis-luks-edit uses clevis_luks_do_bind fuction

if ! clevis_luks_do_bind "${DEV}" "${SLT}" "" "${pin}" "${new_cfg}" \
"-y" "overwrite"; then
for updating the bindings but, as you can see, KEY, KEYFILE, EXISTING_TOKEN_ID parameters are missing from this function call
clevis_luks_do_bind() {
local DEV="${1}"
local SLT="${2}"
local TKN_ID="${3}"
local PIN="${4}"
local CFG="${5}"
local YES="${6:-}"
local OVERWRITE="${7:-}"
local KEY="${8:-}"
local KEYFILE="${9:-}"
local EXISTING_TOKEN_ID="${10:-}"
so you cannot update slots with key.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant