From: Alfredo Deza Date: Thu, 1 Feb 2018 20:35:11 +0000 (-0500) Subject: ceph-volume util.encryption add notes about extra b64decode call for ceph-disk X-Git-Tag: wip-pdonnell-testing-20180317.202121~373^2~23 X-Git-Url: http://git.apps.os.sepia.ceph.com/?a=commitdiff_plain;h=c2367ef4a4db1e9c62e33dc211474f652d6bc6af;p=ceph-ci.git ceph-volume util.encryption add notes about extra b64decode call for ceph-disk Signed-off-by: Alfredo Deza --- diff --git a/src/ceph-volume/ceph_volume/util/encryption.py b/src/ceph-volume/ceph_volume/util/encryption.py index 174da30e3ef..0abe9b6c189 100644 --- a/src/ceph-volume/ceph_volume/util/encryption.py +++ b/src/ceph-volume/ceph_volume/util/encryption.py @@ -49,6 +49,8 @@ def plain_open(key, device, mapping): """ Decrypt (open) an encrypted device, previously prepared with cryptsetup in plain mode + .. note: ceph-disk will require an additional b64decode call for this to work + :param key: dmcrypt secret key :param device: absolute path to device :param mapping: mapping name used to correlate device. Usually a UUID @@ -71,6 +73,8 @@ def luks_open(key, device, mapping): """ Decrypt (open) an encrypted device, previously prepared with cryptsetup + .. note: ceph-disk will require an additional b64decode call for this to work + :param key: dmcrypt secret key :param device: absolute path to device :param mapping: mapping name used to correlate device. Usually a UUID