Commit Graph

9 Commits

Author SHA1 Message Date
riastradh ef315f7931 Remove MKCRYPTO option.
Originally, MKCRYPTO was introduced because the United States
classified cryptography as a munition and restricted its export.  The
export controls were substantially relaxed fifteen years ago, and are
essentially irrelevant for software with published source code.

In the intervening time, nobody bothered to remove the option after
its motivation -- the US export restriction -- was eliminated.  I'm
not aware of any other operating system that has a similar option; I
expect it is mainly out of apathy for churn that we still have it.
Today, cryptography is an essential part of modern computing -- you
can't use the internet responsibly without cryptography.

The position of the TNF board of directors is that TNF makes no
representation that MKCRYPTO=no satisfies any country's cryptography
regulations.

My personal position is that the availability of cryptography is a
basic human right; that any local laws restricting it to a privileged
few are fundamentally immoral; and that it is wrong for developers to
spend effort crippling cryptography to work around such laws.

As proposed on tech-crypto, tech-security, and tech-userlevel to no
objections:

https://mail-index.netbsd.org/tech-crypto/2017/05/06/msg000719.html
https://mail-index.netbsd.org/tech-security/2017/05/06/msg000928.html
https://mail-index.netbsd.org/tech-userlevel/2017/05/06/msg010547.html

P.S.  Reviewing all the uses of MKCRYPTO in src revealed a lot of
*bad* crypto that was conditional on it, e.g. DES in telnet...  That
should probably be removed too, but on the grounds that it is bad,
not on the grounds that it is (nominally) crypto.
2017-05-21 15:28:36 +00:00
christos 24354ff041 no more warnings for ld. 2017-02-09 21:25:05 +00:00
christos ad63ac55c7 use mkstemp to prevent linker warning. 2017-02-09 21:23:48 +00:00
joerg 6332a4b097 Turn off fatal linker warnings for now due to mktemp. 2017-02-09 20:39:42 +00:00
joerg d3857c1992 Mark help as static+dead. Don't use __attribute__.
XXX needs a lot more static love. Uses mktemp and doesn't link.
2017-02-09 20:37:58 +00:00
christos dc7b019f31 the tls ifdef was a bit too aggressive. 2017-02-09 17:27:30 +00:00
wiz e28e311f97 Use full month name in Dd. 2017-02-06 16:08:56 +00:00
christos d71fee0faa - Disable crypto for now, and functionality that we don't provide.
- Fix warnings
2017-02-06 16:03:40 +00:00
christos ac264ff54b Import OpenBSD's netcat. 2017-02-06 16:00:50 +00:00