SEARCH
NEW RPMS
DIRECTORIES
ABOUT
FAQ
VARIOUS
BLOG
DONATE


YUM REPOSITORY

 
 

MAN page from RedHat Other clevis-luks-11-1.el8.x86_64.rpm

CLEVIS\-LUKS\-BIND

Section: \ \& (1)
Updated: 08/14/2018
Index 

NAME

clevis-luks-bind - Bind a LUKSv1 device using the specified policy 

SYNOPSIS

clevis luks bind [-f] -d DEV [-s SLT] [-k KEY] PIN CFG 

OVERVIEW

The clevis luks bind command binds a LUKSv1 device using the specified policy. This is accomplished with a simple command:

$ clevis luks bind -d /dev/sda tang '{"url":...}'

This command performs four steps:

1.Creates a new key with the same entropy as the LUKS master key.

2.Encrypts the new key with Clevis.

3.Stores the Clevis JWE in the LUKS header with LUKSMeta.

4.Enables the new key for use with LUKS.

This disk can now be unlocked with your existing password as well as with the Clevis policy. You will additionally need to enable one or more of the Clevis LUKS unlockers. See clevis-luks-unlockers(7). 

OPTIONS

*-f: Do not prompt for LUKSMeta initialization

*-dDEV: The LUKS device on which to perform binding

*-sSLT: The LUKSMeta slot to use for metadata storage

*-kKEY: Non-interactively read LUKS password from KEY file

*-k- : Non-interactively read LUKS password from standard input
 

CAVEATS

This command does not change the LUKS master key. This implies that if you create a LUKS-encrypted image for use in a Virtual Machine or Cloud environment, all the instances that run this image will share a master key. This is extremely dangerous and should be avoided at all cost.

This is not a limitation of Clevis but a design principle of LUKS. If you wish to have encrypted root volumes in the cloud, you will need to make sure that you perform the OS install method for each instance in the cloud as well. The images cannot be shared without also sharing a master key. 

SEE ALSO

clevis-luks-unlockers(7), clevis-encrypt-http(1), clevis-encrypt-tang(1), clevis-encrypt-sss(1), clevis-decrypt(1)


 

Index

NAME
SYNOPSIS
OVERVIEW
OPTIONS
CAVEATS
SEE ALSO

This document was created byman2html,using the manual pages.