encryption key

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

I'm curious why when encrypting a raw volume, the encryption key is read from an environment variable

if encrypted:
secrets['dmcrypt_key'] = os.getenv('CEPH_VOLUME_DMCRYPT_SECRET')
ceph/prepare.py at a67d1cf2a7a4031609a5d37baa01ffdfef80e993 · ceph/ceph (github.com)

While for lvm, the encryption key is generated
       if encrypted:
            secrets['dmcrypt_key'] = encryption_utils.create_dmcrypt_key()
ceph/prepare.py at a67d1cf2a7a4031609a5d37baa01ffdfef80e993 · ceph/ceph (github.com)

-Roaa
_______________________________________________
Dev mailing list -- dev@xxxxxxx
To unsubscribe send an email to dev-leave@xxxxxxx

[Index of Archives]     [CEPH Users]     [Ceph Devel]     [Ceph Large]     [Information on CEPH]     [Linux BTRFS]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux