delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2020/05/28/13:32:14

X-Recipient: archive-cygwin AT delorie DOT com
X-Original-To: cygwin AT cygwin DOT com
Delivered-To: cygwin AT cygwin DOT com
DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org AD7333870865
Authentication-Results: sourceware.org; dmarc=fail (p=quarantine dis=none)
header.from=office.targem.ru
Authentication-Results: sourceware.org;
spf=fail smtp.mailfrom=ed AT office DOT targem DOT ru
Date: Thu, 28 May 2020 10:31:18 -0700 (MST)
From: yoshi kakbudto <ed AT office DOT targem DOT ru>
To: cygwin AT cygwin DOT com
Message-ID: <1590687078818-0.post@n5.nabble.com>
In-Reply-To: <c117921e-388a-2ac2-dd95-3d66a6dae5be@cornell.edu>
References: <1562427636 DOT 19173685 DOT 1590653523730 DOT JavaMail DOT zimbra AT office DOT targem DOT ru>
<c117921e-388a-2ac2-dd95-3d66a6dae5be AT cornell DOT edu>
Subject: Re: Seems like a bug with mkfifo -m
MIME-Version: 1.0
X-Spam-Status: No, score=-2.4 required=5.0 tests=BAYES_00, KAM_DMARC_QUARANTINE,
KAM_DMARC_STATUS, RCVD_IN_DNSWL_NONE, SPF_FAIL, SPF_HELO_PASS, TXREP,
URI_HEX autolearn=no autolearn_force=no version=3.4.2
X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on
server2.sourceware.org
X-BeenThere: cygwin AT cygwin DOT com
X-Mailman-Version: 2.1.29
List-Id: General Cygwin discussions and problem reports <cygwin.cygwin.com>
List-Unsubscribe: <http://cygwin.com/mailman/options/cygwin>,
<mailto:cygwin-request AT cygwin DOT com?subject=unsubscribe>
List-Archive: <https://cygwin.com/pipermail/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-request AT cygwin DOT com?subject=help>
List-Subscribe: <http://cygwin.com/mailman/listinfo/cygwin>,
<mailto:cygwin-request AT cygwin DOT com?subject=subscribe>
Errors-To: cygwin-bounces AT cygwin DOT com
Sender: "Cygwin" <cygwin-bounces AT cygwin DOT com>

you say  'ls' is a problem source. Then i have to be more specific with the
problem to not miss any other possible problems around it.

My use case is this: I have an ssh rsa keys dynamically loaded in
environment variables.
Those variables then expaned and piped to the named pipe and then the pipe
instantly read by ssh-add. 
I know there could be other ways to ssh-add from environment, but its just
our specifics.
So the actual commands looks like this:

$ mkfifo -m 0600 somefifo

# The KEY contains ssh rsa private key data
$ echo $KEY > somefifo | ssh-add somefifo

@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
@         WARNING: UNPROTECTED PRIVATE KEY FILE!          @
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
Permissions 0644 for 'somefifo' are too open.
It is required that your private key files are NOT accessible by others.
This private key will be ignored.







--
Sent from: http://cygwin.1069669.n5.nabble.com/Cygwin-list-f3.html
--
Problem reports:      https://cygwin.com/problems.html
FAQ:                  https://cygwin.com/faq/
Documentation:        https://cygwin.com/docs.html
Unsubscribe info:     https://cygwin.com/ml/#unsubscribe-simple

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019