Project

General

Profile

Actions

Feature #449

closed

Support "secretfile" as an option

Added by Wido den Hollander over 13 years ago. Updated over 13 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
-
Target version:
-
% Done:

0%

Source:
Tags:
Backport:
Reviewed:
Affected Versions:

Description

I just tried:

echo "[2001:16f8:10:2::c3c3:3f9b] name=admin,secretfile=/etc/ceph/secret rbd alpha" > /sys/class/rbd/add

That resulted in a kernel panic of the machine (latest master of the ceph-client).

I checked the source and found in linux/ceph/auth.h that only secret is supported ( struct ceph_auth_client ).

It would be useful to support secretfile, this prevents your key showing up in your bash history.

Actions

Also available in: Atom PDF