From owner-freebsd-questions@FreeBSD.ORG Tue Aug 4 22:00:35 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 45046106568D for ; Tue, 4 Aug 2009 22:00:35 +0000 (UTC) (envelope-from rwmaillists@googlemail.com) Received: from mail-ew0-f214.google.com (mail-ew0-f214.google.com [209.85.219.214]) by mx1.freebsd.org (Postfix) with ESMTP id C58148FC1A for ; Tue, 4 Aug 2009 22:00:34 +0000 (UTC) (envelope-from rwmaillists@googlemail.com) Received: by ewy10 with SMTP id 10so695290ewy.37 for ; Tue, 04 Aug 2009 15:00:33 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=domainkey-signature:received:received:date:from:to:subject :message-id:in-reply-to:references:x-mailer:mime-version :content-type:content-transfer-encoding; bh=K+D1IOAI6fJP1WZpE53TQGW5hFoX+HQjQB3/Zq1Efko=; b=gIKJNJsvQ5hjoyBXTgHiFtyGVcWO//g7gwd2oXYac2l4rkg70UwrQkJBwDz5i79knA vxfpbVyO7tbDcXzCncfi3Y7qX+5LlQQACvMJqY43gwDZa1Nzk3J24Vz0Rc3QvKoSyfcU vRnXQBqon+Gu7JQEkpaTno/ynjnMv+HTXgcpA= DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=date:from:to:subject:message-id:in-reply-to:references:x-mailer :mime-version:content-type:content-transfer-encoding; b=NoSSwM4PFLJLQLyDxhMtzdKQFr4j5zIw6HsXGYGLgjMKC39t0TnQQBi2eycuO92eOe VL9aObTHBTCJluqUevhM0qT+MPtasWglS0ePWNQ5mR7ipNd2vD4ubN1Q832J7YhpQwZ+ xpQZpkuR+Fwq8RwODwmFcmiCiwPBb2oHogURk= Received: by 10.210.115.15 with SMTP id n15mr7275522ebc.2.1249423233756; Tue, 04 Aug 2009 15:00:33 -0700 (PDT) Received: from gumby.homeunix.com (bb-87-81-140-128.ukonline.co.uk [87.81.140.128]) by mx.google.com with ESMTPS id 24sm1024234eyx.13.2009.08.04.15.00.32 (version=SSLv3 cipher=RC4-MD5); Tue, 04 Aug 2009 15:00:32 -0700 (PDT) Date: Tue, 4 Aug 2009 23:00:30 +0100 From: RW To: freebsd-questions@freebsd.org Message-ID: <20090804230030.5e3aa49c@gumby.homeunix.com> In-Reply-To: <20090803223427.511879f2.wmoran@potentialtech.com> References: <64c038660908031928v15a76d15g5599e6f3fef936e1@mail.gmail.com> <20090803223427.511879f2.wmoran@potentialtech.com> X-Mailer: Claws Mail 3.7.2 (GTK+ 2.16.5; i386-portbld-freebsd7.2) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: Re: Secure password generation...blasphemy! X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 04 Aug 2009 22:00:36 -0000 On Mon, 3 Aug 2009 22:34:27 -0400 Bill Moran wrote: > Modulok wrote: > > > > I need a way to generate a lot of secure passwords. So, I read all > > about it. Either people are getting way carried away, or I'm missing > > something... > > You could just use apg ... it's in the ports. By the look of it this was originally DES-based, and was upgraded to use CAST or SHA1. However the seeding from /dev/random seems to have been left at 64 bits (the DES blocksize) plus some extra from gettimeofday(). In practice it's probably good enough, it just seems a bit lame.