Project

General

Profile

Actions

Fix #20305

open

ceph osd new -i should read from stdin

Added by Loïc Dachary almost 7 years ago. Updated almost 7 years ago.

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

0%

Source:
Tags:
Backport:
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Crash signature (v1):
Crash signature (v2):

Description

Most ceph osd new users presumably want to pipe the secrets instead of writing them to a file. While this can easily be done with -i /dev/fd/0 there are arguments claiming this is unhortodox and should not be used.

Actions #1

Updated by Willem Jan Withagen almost 7 years ago

Loic Dachary wrote:

Most ceph osd new users presumably want to pipe the secrets instead of writing them to a file. While this can easily be done with -i /dev/fd/0 there are arguments claiming this is unhortodox and should not be used.

'mmm,

I would definitely call that a kludge...
Quite a few security tools actually do read from stdin.
Getting it out of a file is than rather easy with a pipe.

Things get complicated if you need several security parts that stem from different sources.
Than you need to start combining stuff one way or another.

Actions

Also available in: Atom PDF