Re: Deprecations

2020-02-21 Thread Dr Paul Dale
The added complexity was of some concern to me when doing the deprecations. I suspect we’ll also encounter difficulties getting 100% equivalent behaviour via PKEY. There are some pretty arcane options in some of these. Pauli -- Dr Paul Dale | Distinguished Architect | Cryptographic

Re: Deprecations

2020-02-21 Thread SHANE LONTIS
> On 22 Feb 2020, at 1:36 pm, Viktor Dukhovni > wrote: > > But there's nothing like > using a screwdriver to turn a screw, rather than banging it in with > an all-purpose hammer! If we are trying to tell users to not use the low level API’s, and then we go and use them everywhere in apps it

Re: Deprecations

2020-02-21 Thread Viktor Dukhovni
On Sat, Feb 22, 2020 at 12:51:17AM +0100, Kurt Roeckx wrote: > > (I just realised that what the CHANGES entry says is that > > dhparam/dsaparam are deprecated in favour of pkeyparam - but actually I > > think the equivalent functionality is more split between genpkey and > > pkeyparam) > > Some

Re: Deprecations

2020-02-21 Thread Viktor Dukhovni
On Fri, Feb 21, 2020 at 11:00:10PM +, Matt Caswell wrote: > dhparam itself has been deprecated. For that reason we are not > attempting to rewrite it to use non-deprecated APIs. The informed > decision we have made about DH_check use in dhparam is to not build the > whole application in a

Re: Deprecations

2020-02-21 Thread Kurt Roeckx
On Fri, Feb 21, 2020 at 11:27:55PM +, Matt Caswell wrote: > > > On 21/02/2020 23:18, Kurt Roeckx wrote: > > On Fri, Feb 21, 2020 at 11:00:10PM +, Matt Caswell wrote: > >> > >> dhparam itself has been deprecated. For that reason we are not > >> attempting to rewrite it to use

Re: Deprecations

2020-02-21 Thread Matthew Lindner
I think any deprecated apps or options that must be kept and not implemented in the new interface should print a warning when used in that case then, and only do that when it's impossible to implement it in the current release. That's not at all clear with the speed app for example. (That speed

Re: Deprecations

2020-02-21 Thread Matt Caswell
On 21/02/2020 23:18, Kurt Roeckx wrote: > On Fri, Feb 21, 2020 at 11:00:10PM +, Matt Caswell wrote: >> >> dhparam itself has been deprecated. For that reason we are not >> attempting to rewrite it to use non-deprecated APIs. The informed >> decision we have made about DH_check use in

Re: Deprecations

2020-02-21 Thread Kurt Roeckx
On Fri, Feb 21, 2020 at 11:00:10PM +, Matt Caswell wrote: > > dhparam itself has been deprecated. For that reason we are not > attempting to rewrite it to use non-deprecated APIs. The informed > decision we have made about DH_check use in dhparam is to not build the > whole application in a

Re: Deprecations

2020-02-21 Thread Matt Caswell
On 21/02/2020 20:33, Matthew Lindner wrote: > I think any deprecated apps or options that must be kept and not > implemented in the new interface should print a warning when used in > that case then, and only do that when it's impossible to implement it > in the current release. I agree with

Re: Deprecations

2020-02-21 Thread Matt Caswell
On 21/02/2020 22:17, Kurt Roeckx wrote: > On Fri, Feb 21, 2020 at 09:50:10AM +, Matt Caswell wrote: >> >> >> On 21/02/2020 08:06, Kurt Roeckx wrote: >>> In the apps, a lot of the files define >>> OPENSSL_SUPPRESS_DEPRECATED, which I think is the wrong way to do >>> it. We should stop using

Re: Deprecations

2020-02-21 Thread Kurt Roeckx
On Fri, Feb 21, 2020 at 09:50:10AM +, Matt Caswell wrote: > > > On 21/02/2020 08:06, Kurt Roeckx wrote: > > In the apps, a lot of the files define > > OPENSSL_SUPPRESS_DEPRECATED, which I think is the wrong way to do > > it. We should stop using the deprecated functions ourself. If > > there

Re: Deprecations

2020-02-21 Thread Matt Caswell
On 21/02/2020 19:45, Matthew Lindner wrote: > As a user I'm strongly in favor of this. It gives an example of how > to implement something using the new interfaces. Even in 1.1.1 there > are things that are impossible to implement without using low level > interfaces. The applications should be

Re: Deprecations

2020-02-21 Thread Matthew Lindner
As a user I'm strongly in favor of this. It gives an example of how to implement something using the new interfaces. Even in 1.1.1 there are things that are impossible to implement without using low level interfaces. The applications should be guides on how to correctly implement something and

Re: Deprecations

2020-02-21 Thread Salz, Rich
>A small note about the 'no-deprecated' configuration option: this is an > option to simulate the far future when the deprecated stuff has been removed > from the public eye. Deprecated openssl commands should not build with such a > configuration. How can that work? If the deprecated

Re: Deprecations

2020-02-21 Thread Richard Levitte
"Salz, Rich" skrev: (21 februari 2020 17:17:54 CET) >>A small note about the 'no-deprecated' configuration option: this >is an option to simulate the far future when the deprecated stuff has >been removed from the public eye. Deprecated openssl commands should >not build with such a

Re: Deprecations

2020-02-21 Thread Richard Levitte
A small note about the 'no-deprecated' configuration option: this is an option to simulate the far future when the deprecated stuff has been removed from the public eye. Deprecated openssl commands should not build with such a configuration. Cheers Richard Kurt Roeckx skrev: (21

Re: Deprecations

2020-02-21 Thread Matt Caswell
On 21/02/2020 08:06, Kurt Roeckx wrote: > In the apps, a lot of the files define > OPENSSL_SUPPRESS_DEPRECATED, which I think is the wrong way to do > it. We should stop using the deprecated functions ourself. If > there is no way to do this using non-deprecated functions, the > function should

Deprecations

2020-02-21 Thread Kurt Roeckx
Hi, We seem to be deprecating a lot of the old APIs, which I think is a good thing. But I think we might either be deprecating too much, or not actually using the alternatives ourself. In the apps, a lot of the files define OPENSSL_SUPPRESS_DEPRECATED, which I think is the wrong way to do it. We