Re: Using AES256 cipher directly...?
Hubert Kario <[email protected]>
| Newsgroups | gmane.comp.mozilla.crypto |
|---|---|
| Message-ID | <[email protected]> |
On Friday, 7 December 2018 18:24:38 CET Paul Smith wrote: > Thanks for your reply Martin! > > On Fri, 2018-12-07 at 10:46 -0500, Martin Thomson wrote: > > Unfortunately, we can't say that we have a PAKE, so I appreciate that > > you aren't able to just drop that in. > > A concern is that I have to support full backward-compatibility, not a > "flag day" upgrade, so unless a new PAKE behaves identically to my > existing SRP implementation it's probably not worth it to switch. When > I move to TLS I'll also have to maintain control of the initial > connection message, at least, to support backward compatibility... > that'll be its own brand of fun. > > > For key derivation, you probably want HKDF with SHA-256 rather than a > > straight hash function. > > Another thing that I didn't bring up: I need to implement this in other > languages (at least Java and Python), so clients can connect to the > service. So I need to consider availability in other crypto libraries > like Python ssl and javax crypto or BouncyCastle. I'm sure they have > HKDF too of course. all that sounds like something that will be very painful to do in multiple libraries; having to support two, not just one legacy implementation when the migration happens to TLS doesn't seem to me as something that will help with that (not to mention that leaving such dead and already vulnerable code is a huge liability) -- Regards, Hubert Kario Senior Quality Engineer, QE BaseOS Security team Web: www.cz.redhat.com Red Hat Czech s.r.o., Purkyňova 115, 612 00 Brno, Czech Republic -- dev-tech-crypto mailing list [email protected] https://lists.mozilla.org/listinfo/dev-tech-crypto
signature.asc
(application/pgp-signature, 833 B)
-----BEGIN PGP SIGNATURE----- iQIzBAABCgAdFiEEYeeuxEU+3unL/K+dkqjRuAHS9fUFAlwPxS8ACgkQkqjRuAHS 9fWyuQ/8CS/MfB5G+qb8Ac9BDX3P2yXaNY0PHvwmYVwg6EMU0oHX4MqKwg0lc8zJ ZOtTc427TJ9Qc+3etlirq/SZzCBEsBKi6uQbbueJOzbM30W6zYxko9GKifhJjgQ8 DuVnW1aihN1ptO0EoeE1zddiRs08WxE9OlIgSwmpijMJ1bYxLd6wFM4nLxopWTtq MzCDrQQHX5CCNQLd0bAKpF9fM3W82HxemNfrrkjluCK3Xp0oGEMKa+h7HchhQvRC KWwQh/JDb+MeKG/ky4YA7GwVnyIHUmyGdT8FPlqmq0JB+Sj+TD/yc9FRg7YlXJYn ge1XM7ibJbjHpjft3onJwOEmB0URmZN4lufyoouJtHv1XyIxLJYuIGVK4E9EPlhX 6xjjzUuU2oKo2KGCu8TzFB/2A9bMDVtdkrSrGdgaJ8MGSJzaplAc2rNPEy3B7XSy XeORc8fq0ehuKpH2zh9rg3VyDlvMBgkDNTmE2376WztuZpkzuRwvVKRAXYiFRuG1 K3JnwuygaPZHn3UPNZaKplZp28cfcOvOx7gnqzvsOuKwVXcnPe3yqigBK6NM9jLE VIWxZ2ZP4u4Nnu9alMKOOTGAXslf9VvS81cDfq8bCZwKw0no47LFhvFSFU91ul76 MpSQqM1AxihD91LuMPNPbGZXM4SJhiNC1+9q3QZNa3A8SD56eWU= =8bx7 -----END PGP SIGNATURE-----