Path: csiph.com!fu-berlin.de!uni-berlin.de!not-for-mail From: Random832 Newsgroups: comp.lang.python Subject: Re: Make a unique filesystem path, without creating the file Date: Mon, 22 Feb 2016 14:41:01 -0500 Lines: 8 Message-ID: References: <85r3gf55k4.fsf@benfinney.id.au> <85mvr26dij.fsf@benfinney.id.au> <87vb5gmtgj.fsf@elektro.pacujo.net> Mime-Version: 1.0 Content-Type: text/plain Content-Transfer-Encoding: 7bit X-Trace: news.uni-berlin.de yutzoCbE36VItifDPyLz+gx/lOsP61sjOTeT0s7nWuGA== Return-Path: X-Original-To: python-list@python.org Delivered-To: python-list@mail.python.org X-Spam-Status: OK 0.006 X-Spam-Evidence: '*H*': 0.99; '*S*': 0.00; 'subject:file': 0.07; '22,': 0.09; 'received:internal': 0.09; 'systems.': 0.11; 'message-id:@webmail.messagingengine.com': 0.16; 'received:10.202': 0.16; 'received:10.202.2': 0.16; 'received:66.111': 0.16; 'received:66.111.4': 0.16; 'received:io': 0.16; 'received:messagingengine.com': 0.16; 'received:psf.io': 0.16; 'wrote:': 0.16; 'linux,': 0.18; 'feb': 0.23; 'needed.': 0.23; 'header:In-Reply-To:1': 0.24; 'mon,': 0.24; 'random': 0.29; 'quite': 0.35; 'should': 0.36; 'to:addr:python-list': 0.36; 'subject:: ': 0.37; 'received:10': 0.37; 'received:66': 0.38; 'subject:the': 0.39; 'to:addr:python.org': 0.40; 'header:Message- Id:1': 0.61; 'scarce': 0.84; 'subject:Make': 0.91 DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d=fastmail.com; h= content-transfer-encoding:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-sasl-enc :x-sasl-enc; s=mesmtp; bh=GZIjO0mW6geNy+WU9H0fCLssvyU=; b=zfBPmR 5ls/pE1IAQzWF0fHIF0l3f8qtbf8Vo29zE+rEkbEFiYzC1GSjVseAQcT2mD9ZHhk KCQy5NN90P1JJD+jmSnzxr9TtzyZjjH250uypu5ryrOl6pGOUntIbz3CGhT/u4yg TfWEu21YtUVYSpdwGdTdYZ5dkr7+XRHdykav4= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d= messagingengine.com; h=content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-sasl-enc:x-sasl-enc; s=smtpout; bh=GZIjO0mW6geNy+W U9H0fCLssvyU=; b=cPikx7TTDFSckO+NS/m4V3SoDwW0GmVIyoEHNUeONd3X+rP UWb4pLuoXF28Q9kVOoFuAmV8GgQ+O3qVbbc3mNqfdHgtlp6Z5rVe1unHc+dG3R/v X201Tsgir/b0HL7TWnuLCEIeVDvoe5SRwVz7zmX4TJz2qIQRIUigBtZTZxtU= X-Sasl-Enc: MpPTK3QU7TzYsslNbpMl8nU7By0OxvOTuX4/Ufg7x5/I 1456170061 X-Mailer: MessagingEngine.com Webmail Interface - ajax-aeec9b65 In-Reply-To: <87vb5gmtgj.fsf@elektro.pacujo.net> X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.21rc2 Precedence: list List-Id: General discussion list for the Python programming language List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Xref: csiph.com comp.lang.python:103361 On Mon, Feb 22, 2016, at 14:32, Marko Rauhamaa wrote: > urandom() is not quite random and so should not be considered > cryptographically airtight. > > Under Linux, /dev/random is the way to go when strong security is > needed. Note that /dev/random is a scarce resource on ordinary systems. http://www.2uo.de/myths-about-urandom/