Re: [openssl-dev] Call for testing: OpenSSH 7.2

2016-02-15 Thread Damien Miller
On Mon, 15 Feb 2016, The Doctor wrote: > Just tested this on the old BSD/OS machine > > works with openssl 1.0.2X > > Openssl 1.1.X issues Thanks for testing. OpenSSH won't work with OpenSSL until someone ports it and writes compat shims to make it work with both OpenSSL 1.0.x and 1.1.x. The 1.1

Re: Feature Request

2013-05-28 Thread Damien Miller
On Sun, 26 May 2013, Florian Kirstein wrote: > Hi, > > On Sat, May 25, 2013 at 10:37:44AM -0500, Jonathan Brown wrote: > > Please also increase the iteration amount to be optionally user specified. > > This way you we can dramaticly slow down a potential brute force attack > > against a captured

PEM KDF and offline brute-force attacks

2011-07-15 Thread Damien Miller
Hi, I'm a bit concerned about the protection afforded by the PEM format to private keys against offline brute-force attacks. PEM seems to use a decent KDF, but uses a fixed iteration count of 1. Am I correct in my understanding that this cannot be changed without breaking the format? PEM is pretty

[openssl.org #2495] enable PEM_write_DSAPublicKey

2011-04-09 Thread (Damien Miller) via RT
Hi, Is there any reason why PEM_write_DSAPublicKey() is not enabled in pem_all.c? We'd like to use this in OpenSSH. Index: crypto/pem/pem.h === RCS file: /cvs/src/lib/libssl/src/crypto/pem/pem.h,v retrieving revision 1.10 diff -u -p

[openssl.org #2366] pkeyutl SEGV

2010-10-27 Thread (Damien Miller) via RT
Hi, "openssl pkeyutl -peerform" will SEGV due to dereferencing the NULL termination of the argv array, here's a fix: Index: pkeyutl.c === RCS file: /cvs/src/lib/libssl/src/apps/pkeyutl.c,v retrieving revision 1.1.1.2 diff -u -p -r1.1

PATCH: SEGV for invalid args to "openssl pkeyutl"

2010-10-13 Thread Damien Miller
Hi, "openssl pkeyutl -peerform" will SEGV due to dereferencing the NULL termination of the argv array, here's a fix: Index: pkeyutl.c === RCS file: /cvs/src/lib/libssl/src/apps/pkeyutl.c,v retrieving revision 1.1.1.2 diff -u -p -r1.1

[openssl.org #1835] PATCH: typos

2009-02-02 Thread (Damien Miller) via RT
typo fixes that have accrued in OpenBSD's import of OpenSSL over the years Index: MacOS/GetHTTPS.src/ErrorHandling.hpp === RCS file: /cvs/src/lib/libssl/src/MacOS/GetHTTPS.src/ErrorHandling.hpp,v retrieving revision 1.1.1.1 retrieving

Re: [openssl.org #1831] PATCH: openssl rand -hex

2009-02-01 Thread (Damien Miller) via RT
On Sun, 1 Feb 2009, Bodo Moeller via RT wrote: > > we'll cope ;) > > Here's my version of the patch. Let me know if it looks OK for you. looks good to me -d __ OpenSSL Project http://www.opens

Re: [openssl.org #1831] PATCH: openssl rand -hex

2009-02-01 Thread Damien Miller
On Sun, 1 Feb 2009, Bodo Moeller via RT wrote: > > we'll cope ;) > > Here's my version of the patch. Let me know if it looks OK for you. looks good to me -d __ OpenSSL Project http://www.openssl

Re: [openssl.org #1831] PATCH: openssl rand -hex

2009-02-01 Thread (Damien Miller) via RT
On Sun, 1 Feb 2009, Bodo Moeller via RT wrote: > >> What is the rationale of not having a newline at the end? It's text, > >> after all? > > > > no rationale, just an oversight. > > > > So ... I was going to add the newline while working on the patch, but > then it occurred to me as you said

Re: [openssl.org #1831] PATCH: openssl rand -hex

2009-02-01 Thread Damien Miller
On Sun, 1 Feb 2009, Bodo Moeller via RT wrote: > >> What is the rationale of not having a newline at the end? It's text, > >> after all? > > > > no rationale, just an oversight. > > > > So ... I was going to add the newline while working on the patch, but > then it occurred to me as you said

Re: [openssl.org #1831] PATCH: openssl rand -hex

2009-02-01 Thread (Damien Miller) via RT
On Sun, 1 Feb 2009, Bodo Moeller via RT wrote: > > [...@mindrot.org - Fr. 30. Jan. 2009, 11:52:17]: > > > This patch adds a -hex option to the rand app. E.g. > > > > $ openssl rand -hex 8 > > d203552d5eb39e76 > > What is the rationale of not having a newline at the end? It's text, > after all?

Re: [openssl.org #1831] PATCH: openssl rand -hex

2009-02-01 Thread Damien Miller
On Sun, 1 Feb 2009, Bodo Moeller via RT wrote: > > [...@mindrot.org - Fr. 30. Jan. 2009, 11:52:17]: > > > This patch adds a -hex option to the rand app. E.g. > > > > $ openssl rand -hex 8 > > d203552d5eb39e76 > > What is the rationale of not having a newline at the end? It's text, > after all?

[openssl.org #1832] PATCH: force IPv4/IPv6 for s_client

2009-01-30 Thread (Damien Miller) via RT
Hi, This diff changes the s_client and s_server apps to use getaddrinfo for address parsing rather than manual IPv4 parsing and gethostbyname. This allows specification of port by name: openssl s_client -connect bugzilla.mindrot.org:https But the main point is to support IPv6. You can now speci

[openssl.org #1831] PATCH: openssl rand -hex

2009-01-30 Thread (Damien Miller) via RT
Hi, This patch adds a -hex option to the rand app. E.g. $ openssl rand -hex 8 d203552d5eb39e76 Patch is from Matthieu Herrb (matth...@openbsd.org) via OpenBSD CVS. -d Index: apps/rand.c === RCS file: /cvs/src/lib/libssl/src/apps/r

Re: OpenSSL 0.9.8j bug (reproducible SSL negotiation issue, 0.9.8i unaffected)B

2009-01-09 Thread Damien Miller
On Fri, 9 Jan 2009, Brad House wrote: > BTW, I didn't see in the changelog the fact that tls extensions were > enabled by default between 0.9.8i and j... It's there, 3rd entry: > *) Enable TLS extensions by default. > [Ben Laurie] -d _

Re: Fix VIA Padlock RNG support ?

2008-09-11 Thread Damien Miller
On Mon, 1 Sep 2008, Harald Welte wrote: > Hi Michal, > Hi OpenSSL developers, > > as part of my work for VIA, I am trying to find out what we can do to > make sure the VIA Padlock RNG is activated by default. What are the consequences of the kernel and OpenSSL contending over the RNG? Wouldn't i

Re: Fix VIA Padlock RNG support ?

2008-09-11 Thread Damien Miller
On Fri, 12 Sep 2008, Harald Welte wrote: > On Thu, Sep 11, 2008 at 09:32:14AM -0400, Geoff Thorpe wrote: > > > > I don't think there's any taboo or a strong opposition against > > > > the patch. It's just that Andy hasn't followed up, I sort of > > > > given up and moved to other projects and the

Re: Couldn't obtain random bytes in sshd - problem in RAND_poll?

2008-08-07 Thread Damien Miller
On Wed, 6 Aug 2008, Stanislav Meduna wrote: > So what should the applications calling openssl actually > do if this happens? Now the ssh/apache/... simply exit, > which is bad (it left me without an access to a remote > box...). Exiting is the best behaviour - continuing without a good source of

RE: the Sun covenant language

2006-05-07 Thread Damien Miller
Hi, I'm also interested in the license status of this code. The Sun convenant was removed for all files but this one. Was this an oversight or was it intended? If the latter, what is the point of removing the convenant from the other files when this seems to be an inseperable part of the openssl-

Re: [PATCH] Move man section to 1SSL/3SSL/5SSL/7SSL

2006-03-06 Thread Damien Miller
On Sun, 5 Mar 2006, Kurt Roeckx wrote: > Hi, > > I would like to properly place the documetation in the 1SSL, > 3SSL, 5SSL and 7SSL section. It might be proper for your operating system, but it certainly isn't correct for everyone. None of the operating systems I have at hand even have a 3ssl s

Re: [openssl.org #1266] openssl prime 2

2006-01-06 Thread Damien Miller
David Schwartz wrote: >>>openssl prime 2 >> >>2 is not prime >> >>openssl version openssl-0.9.8a > > > This is a known issue. The prime testing code was designed to test large > primes. rubbish, it is a simple overeager optimisation. Attached is a fix. -d Index: lib/libssl/src/crypto/bn/

Re: [openssl.org #1114] Bug: RC4 on IA64 and OpenSSH

2005-06-29 Thread Damien Miller
Andy Polyakov via RT wrote: Summary can be found at http://cvs.openssl.org/chngview?cn=14145. Point is that I assumed that RC4_KEY structure initialized by RC4_set_key is passed down to RC4 verbatim in its original memory location, while OpenSSH takes freedom to swap the structures initialized in

Re: [openssl.org #1089] test report for OpenBSD -current

2005-06-15 Thread (Damien Miller) via RT
Richard Levitte via RT wrote: > [EMAIL PROTECTED] - Mon Jun 6 07:15:40 2005]: > > >>Richard Levitte via RT wrote: >> >>>Thanks for the positive report! Apropos the 'test skipped' stuff, >> >> I'm >> >>>not sure why skipping tests on unbuilt algorithms is self-defeating. >> >>It didn't skip o

Re: [openssl.org #1089] test report for OpenBSD -current

2005-06-05 Thread (Damien Miller) via RT
Richard Levitte via RT wrote: > Thanks for the positive report! Apropos the 'test skipped' stuff, I'm > not sure why skipping tests on unbuilt algorithms is self-defeating. It didn't skip only the tests on unbuilt algorithms, it skipped *all* the tests. > Anyway, I'm resolving this ticket. >

Re: [openssl.org #1089] test report for OpenBSD -current

2005-06-05 Thread Damien Miller
Richard Levitte via RT wrote: Thanks for the positive report! Apropos the 'test skipped' stuff, I'm not sure why skipping tests on unbuilt algorithms is self-defeating. It didn't skip only the tests on unbuilt algorithms, it skipped *all* the tests. Anyway, I'm resolving this ticket. [EMAIL

[openssl.org #1089] test report for OpenBSD -current

2005-06-01 Thread (Damien Miller) via RT
Hi, Here is a testlog for OpenBSD -current. We probably won't get around to integrating 0.9.8 until after OpenBSD-3.8 is released. I hacked the 'test skipped' stuff our of util/selftest.pl - I think skipping tests because of no-mdc2 and no-rc5 is somewhat self-defeating -d OpenSSL self-test r

Re: OpenSSH and OpenSSL snapshots

2002-01-25 Thread Damien Miller
e will be too upset with another binary incompatible OpenSSL release :) -d -- | By convention there is color, \\ Damien Miller <[EMAIL PROTECTED]> | By convention sweetness, By convention bitterness, \\ www.mindrot.org | But in reality there are atoms and space

Re: OpenSSH and OpenSSL snapshots

2002-01-24 Thread Damien Miller
On Thu, 24 Jan 2002, Richard Levitte - VMS Whacker wrote: > My first attepmt was to do the whole thing with cpp macros. However, > after giving it some thought, that could cause a number of problems; > one is that macros have zero type safety. You can give those macros > exactly whatever withou

Re: ssh2 key passphrase problems in 2.9.9 on Linux

2001-09-28 Thread Damien Miller
Did OpenSSL pass its own self-tests? When you compiled OpenSSL or OpenSSH, did you have any old OpenSSL header files lying around? These are a frequent cause of weird problems. You could try putting a printf() before the above call to see if the correct passphrase is getting passed to OpenSS

Binary incompatability caused by different compiler flags

2001-03-02 Thread Damien Miller
s is enough to break structure alignment. If so, is there any way of making OpenSSL more robust in the face of different compiler options? -d -- | Damien Miller <[EMAIL PROTECTED]> \ ``E-mail attachments are the poor man's | http://www.mindrot.org

Re: [STATUS] OpenSSL (Sun 21-Jan-2001)

2001-01-23 Thread Damien Miller
strings and detecting overflow. http://www.openbsd.org/cgi-bin/man.cgi?query=strlcpy http://www.openbsd.org/cgi-bin/man.cgi?query=strlcat -d -- | ``We've all heard that a million monkeys banging on | Damien Miller - | a million typewriters will eventually reproduce the | <[EMAIL PRO

Re: openssl gendsa -rand confusion

2000-04-13 Thread Damien Miller
ize of the reads can be limited? -d PS. did you get the ERR_error_string_n() patch I sent to the list a couple of days back? I haven't heard any feedback... -- | "Bombay is 250ms from New York in the new world order" - Alan Cox | Damien Miller - http://www.mindrot.org

Re: openssl gendsa -rand confusion

2000-04-12 Thread Damien Miller
, define "sufficient". In OpenSSL, it's "whatever the user wants > to throw at me, I'll eat until it stops". /dev/urandom hardly ever > stops :-)... Data greater than md_rand.c's STATE_SIZE is going to be wasted. -d -- | "Bombay is 250ms from New

openssl gendsa -rand confusion

2000-04-12 Thread Damien Miller
specified separated by a OS-dependent character. The separator is ; for MS-Windows, , for OpenVSM, and : for all ^^^ -d -- | "Bombay is 250ms from New York in the new world order" - Alan Cox | Damien Miller - http://www.mindrot.

Re: [STATUS] OpenSSL (Sun 9-Apr-2000)

2000-04-10 Thread Damien Miller
On Sun, 9 Apr 2000, OpenSSL Project wrote: > o ERR_error_string(..., buf) does not know how large buf is, > there should be ERR_error_string_n(..., buf, bufsize) > or similar. Diff attached. -d -- | "Bombay is 250ms from New York in the new world order"

Re: openssl 0.9.5a RPM

2000-04-03 Thread Damien Miller
gz". This will pull the spec file from the tarball and build source and binary RPMs from it. You shouldn't need the --buildroot as the spec file provides it. -d -- | "Bombay is 250ms from New York in the new world order" - Alan Cox | Damien Miller - http://www.mindrot.org/ |

Re: openssl 0.9.5a RPM

2000-04-03 Thread Damien Miller
ld order" - Alan Cox | Damien Miller - http://www.mindrot.org/ | Email: [EMAIL PROTECTED] (home) -or- [EMAIL PROTECTED] (work) %define libmaj 0 %define libmin 9 %define librel 5 %define librev a Release: 1 %define openssldir /var/ssl Summary: Secure Sockets Layer and cryptography

Re: openssl manual pages

2000-04-02 Thread Damien Miller
The result is that you'd get a threads(3ssl), err(3ssl), > passwd(1ssl), rc4(3ssl). Why not openssl_passwd, openssl_err, etc? -d -- | "Bombay is 250ms from New York in the new world order" - Alan Cox | Damien Miller - http://www.mindrot.org/ | Email: [EM

RE: [ANNOUNCE] OpenSSL 0.9.5 beta2 available

2000-02-29 Thread Damien Miller
On Tue, 29 Feb 2000, GOMEZ Henri wrote: > Did you have modified something to the spec file > for the final 0.9.5 ? Attached. Regards, Damien Miller -- | "Bombay is 250ms from New York in the new world order" - Alan Cox | Damien Miller - http://www.mindrot.org/ | Email:

Re: [ANNOUNCE] OpenSSL 0.9.5 beta2 available

2000-02-28 Thread Damien Miller
On Mon, 28 Feb 2000, Damien Miller wrote: > I have attaches an RPM spec file for those interested. Doh - bad spec file. Attached is one that works. -d -- | "Bombay is 250ms from New York in the new world order" - Alan Cox | Damien Miller - http://www.mindrot.org/ | Email: [EM

Re: [ANNOUNCE] OpenSSL 0.9.5 beta2 available

2000-02-27 Thread Damien Miller
er. Builds OK on Redhat Linux 6.1, tests pass OK. OpenSSH builds and operates OK too. I have attaches an RPM spec file for those interested. Regards, Damien Miller -- | "Bombay is 250ms from New York in the new world order" - Alan Cox | Damien Miller - http://www.mindrot.org/ | Email: [

Re: Latest SNAPSHOT, 2 questions

2000-02-17 Thread Damien Miller
On Wed, 16 Feb 2000, Lutz Jaenicke wrote: > 2. As of the latest snapshot, OpenSSL became picky of seeding the PRNG. >I have EGD available, as it was recommended for OpenSSH; the sample code >for querying it being quite simple. The Linux/Unix port of OpenSSH will be switching over to a Un

OpenSSL config file documentation

1999-12-27 Thread Damien Miller
format was best to present this in, but (to my knowledge) there was no consensus. I am therefore submitting it in ASCII format in the hope that it gets included in 0.9.5 (or whatever the next release will be). Regards, Damien Miller - -- | "Bombay is 250ms from New York in the new world

Re: Audio-based RNG for Win32

1999-10-19 Thread Damien Miller
lows one to make better estimates of the available entropy. Regards, Damien Miller - -- | "Bombay is 250ms from New York in the new world order" - Alan Cox | Damien Miller - http://www.mindrot.org/ | Email: [EMAIL PROTECTED] (home) -or- [EMAIL PROTECTED] (work) -BEGIN

Re: Audio-based RNG for Win32

1999-10-19 Thread Damien Miller
seperate program? Regards, Damien Miller - -- | "Bombay is 250ms from New York in the new world order" - Alan Cox | Damien Miller - http://www.mindrot.org/ | Email: [EMAIL PROTECTED] (home) -or- [EMAIL PROTECTED] (work) -BEGIN PGP SIGNATURE- Version: GnuPG v1.0.0 (GNU/Linux) Co

Re: 2nd draft of openssl.conf documentation

1999-10-08 Thread Damien Miller
;t looked), but it would be trivial to cook some up. Regards, Damien Miller - -- | "Bombay is 250ms from New York in the new world order" - Alan Cox | Damien Miller - http://www.mindrot.org/ | Email: [EMAIL PROTECTED] (home) -or- [EMAIL PROTECTED] (work) -BEGIN PGP SIGNATURE-

Re: 2nd draft of openssl.conf documentation

1999-10-08 Thread Damien Miller
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Fri, 8 Oct 1999, Richard Levitte - VMS Whacker wrote: > From: Damien Miller <[EMAIL PROTECTED]> > > dmiller> Go right ahead, but it might be worthwhile to have an > dmiller> openssl.conf.5 page as well. > > I ab

Re: 2nd draft of openssl.conf documentation

1999-10-07 Thread Damien Miller
gt; I can include some of your text though if you've no objections. Go right ahead, but it might be worthwhile to have an openssl.conf.5 page as well. Regards, Damien Miller - -- | "Bombay is 250ms from New York in the new world order" - Alan Cox | Damien Miller - http://www.mindr

2nd draft of openssl.conf documentation

1999-10-07 Thread Damien Miller
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Please find attached a second draft of the openssl.conf documentation. This version fixes several errors in the X.509v3 extensions section documentation. Comments? Regards, Damien Miller - -- | "Bombay is 250ms from New York in the new

Draft documentation for openssl.conf

1999-10-05 Thread Damien Miller
. Once it is cleaned up and has been properly reviewed, it would be good to have this included as part of the standard documentation. Regards, Damien Miller - -- | "Bombay is 250ms from New York in the new world order" - Alan Cox | Damien Miller - http://www.mindrot.org/ | Email: [EMAIL

Slightly updated CA.pl

1999-09-30 Thread Damien Miller
messages. - - It adds -newreq-nopw to generate a request and private key without a PEM passphrase. This makes CA.pl suck a bit less :) Regards, Damien Miller - -- | "Bombay is 250ms from New York in the new world order" - Alan Cox | Damien Miller - http://www.ilogic.com.au/~dmill

Re: THANKS...

1999-08-18 Thread Damien Miller
the output it produces is very readable. If I go ahead and start producing patches to add doxygen inline to Openssl header files will they be included? Regards, Damien Miller -- | "Bombay is 250ms from New York in the new world order" - Alan Cox | Damien Miller - http://www

OpenSSL 0.9.4 RPMs

1999-08-09 Thread Damien Miller
I have built RPMs of OpenSSL 0.9.4 under Redhat 6.0 and uploaded them to ftp.replay.com. I have also attached a spec file so you can build you own. Regards, Damien Miller -- | "Bombay is 250ms from New York in the new world order" - Alan Cox | Damien Miller - http://www.ilogic.com.a

Re: THANKS...

1999-08-09 Thread Damien Miller
but we should decide on a documentation standard. The GNOME people are getting good results with documents embedded in the code itself. Using these API and developer documents are automatically generated. Would the OpenSSL developers be interested in adopting something similar? Regards, Damien Miller -

Re: Passing user data to password callbacks

1999-07-26 Thread Damien Miller
On Mon, 26 Jul 1999, Dan Razzell wrote: > Damien Miller <[EMAIL PROTECTED]> wrote: > > > I want to add the facility to pass user data to password callback > > functions. e.g. NB the changes have already been added to the CVS repository. > It's good to see th

Re: [STATUS] OpenSSL (Sun 25-Jul-1999)

1999-07-25 Thread Damien Miller
I notice that my patch to include a user data field to pem password callbacks was not included in the status report. Does this mean that it was rejected? If so, what needs to be done to get it included? I have seen little consensus on the API to use. Regards, Damien Miller -- | "Bomb

Re: PEM pass phrase

1999-07-20 Thread Damien Miller
is can be done with a text editor. Regards, Damien Miller -- | "Bombay is 250ms from New York in the new world order" - Alan Cox | Damien Miller - http://www.ilogic.com.au/~dmiller | Email: [EMAIL PROTECTED] (home) -or- [EMAIL PROTECTED] (work) _

Re: Passing user data to password callbacks

1999-07-19 Thread Damien Miller
is worthwhile to get them all out of the way at once. Regards, Damien Miller -- | "Bombay is 250ms from New York in the new world order" - Alan Cox | Damien Miller - http://www.ilogic.com.au/~dmiller | Email: [EMAIL

Re: Passing user data to password callbacks

1999-07-19 Thread Damien Miller
ignores this extra (garbage) argument. Except for the extra field in ssl_ctx - that would have to be moved to the end or it will break alignment. Regards, Damien Miller -- | "Bombay is 250ms from New York in the new world order" - Alan Cox |

Re: Passing user data to password callbacks

1999-07-19 Thread Damien Miller
cked-in openssl directory to its pristine state? "make dclean" leaves a lot of extra makefiles which complicate the process of getting a clean diff. Regards, Damien Miller -- | "Bombay is 250ms from New York in the new world order" - Alan Cox | Damien Miller - http://www.ilog

Re: creating a subset of openssl

1999-07-01 Thread Damien Miller
other advantage would be to make parts of the library distributable and hackable by people who live in countries with oppressive export regimes. Thoughts? Regards, Damien Miller -- | "Bombay is 250ms from New York in the new world order" - Alan Cox | Damien Miller - http://www.ilogi

Dynamic libs for 0.9.3?

1999-05-10 Thread Damien Miller
Will the upcoming 0.9.3 release support building of dynamic libs "out-of-the-box"? Regards, Damien -- | "Bombay is 250ms from New York in the new world order" - Alan Cox | Damien Miller - http://www.ilogic.com.au/~dmiller | Email: [EMAIL PROTECTED] (home) -or- [EM

Re: What about the old/working files still left from Eric?

1999-01-02 Thread Damien Miller
" them. They will end up in that Attic and are still accessible from CVS. Regards, Damien Miller -- | "Bombay is 250ms from New York in the new world order" - Alan Cox | Damien Miller - http://www.ilogic.com.au/~dmiller ___

Re: Installation directories

1999-01-02 Thread Damien Miller
l/certs and /etc/openssl/keys, etc. This would also be a great boon to binary package makers. The SSLeay-0.9.1b RPM already includes some patches which do some of this. I can forward them if you wish. Regards, Damien Miller PS. Is there a TODO/Wishlist for OpenSSL anywhere? -- | "Bomb