cosmopolitan/libc/nt
Justine Tunney cc1920749e Add SSL to redbean
Your redbean can now interoperate with clients that require TLS crypto.
This is accomplished using a protocol polyglot that lets us distinguish
between HTTP and HTTPS regardless of the port number. Certificates will
be generated automatically, if none are supplied by the user. Footprint
increases by only a few hundred kb so redbean in MODY=tiny is now 1.0mb

- Add lseek() polyfills for ZIP executable
- Automatically polyfill /tmp/FOO paths on NT
- Fix readdir() / ftw() / nftw() bugs on Windows
- Introduce -B flag for slower SSL that's stronger
- Remove mbedtls features Cosmopolitan doesn't need
- Have base64 decoder support the uri-safe alternative
- Remove Truncated HMAC because it's forbidden by the IETF
- Add all the mbedtls test suites and make them go 3x faster
- Support opendir() / readdir() / closedir() on ZIP executable
- Use Everest for ECDHE-ECDSA because it's so good it's so good
- Add tinier implementation of sha1 since it's not worth the rom
- Add chi-square monte-carlo mean correlation tests for getrandom()
- Source entropy on Windows from the proper interface everyone uses

We're continuing to outperform NGINX and other servers on raw message
throughput. Using SSL means that instead of 1,000,000 qps you can get
around 300,000 qps. However redbean isn't as fast as NGINX yet at SSL
handshakes, since redbean can do 2,627 per second and NGINX does 4.3k

Right now, the SSL UX story works best if you give your redbean a key
signing key since that can be easily generated by openssl using a one
liner then redbean will do all the things that are impossibly hard to
do like signing ecdsa and rsa certificates that'll work in chrome. We
should integrate the let's encrypt acme protocol in the future.

Live Demo: https://redbean.justine.lol/
Root Cert: https://redbean.justine.lol/redbean1.crt
2021-06-24 13:20:50 -07:00
..
advapi32 Add SSL to redbean 2021-06-24 13:20:50 -07:00
comdlg32 Get Cosmopolitan into releasable state 2020-11-25 08:19:00 -08:00
enum Add SSL to redbean 2021-06-24 13:20:50 -07:00
gdi32 Remove dollars from system call support symbols 2021-02-03 19:35:29 -08:00
iphlpapi Add ioctl(SIOCGIFxxx) support (#197) 2021-06-24 10:53:27 -07:00
kernel32 Add SSL to redbean 2021-06-24 13:20:50 -07:00
KernelBase Get codebase completely working with LLVM 2021-02-09 02:57:32 -08:00
MsWSock Initial import 2020-06-15 07:18:57 -07:00
netapi32 Initial import 2020-06-15 07:18:57 -07:00
nt Improve documentation 2020-12-27 07:02:35 -08:00
ntdll Remove dollars from system call support symbols 2021-02-03 19:35:29 -08:00
shell32 Initial import 2020-06-15 07:18:57 -07:00
struct Add SSL to redbean 2021-06-24 13:20:50 -07:00
thunk Auto-generate some documentation 2020-12-26 02:09:07 -08:00
typedef Add epoll and do more release readiness changes 2020-11-28 12:01:51 -08:00
url Initial import 2020-06-15 07:18:57 -07:00
user32 Remove dollars from system call support symbols 2021-02-03 19:35:29 -08:00
ws2_32 Remove dollars from system call support symbols 2021-02-03 19:35:29 -08:00
accounting.h Get Cosmopolitan into releasable state 2020-11-25 08:19:00 -08:00
automation.h Get Cosmopolitan into releasable state 2020-11-25 08:19:00 -08:00
codegen.h Make improvements 2020-12-01 03:43:40 -08:00
codegen.sh Change license 2020-12-27 17:18:44 -08:00
comdlg.h Get Cosmopolitan into releasable state 2020-11-25 08:19:00 -08:00
console.h Get Cosmopolitan into releasable state 2020-11-25 08:19:00 -08:00
createfile.h Get Cosmopolitan into releasable state 2020-11-25 08:19:00 -08:00
debug.h Get Cosmopolitan into releasable state 2020-11-25 08:19:00 -08:00
dll.h Fix fork() on Windows after chdir() 2021-01-29 23:19:29 -08:00
efi.h Support malloc() on bare metal 2021-02-24 00:53:24 -08:00
errors.h Add SSL to redbean 2021-06-24 13:20:50 -07:00
events.h Implement syslog (#136) 2021-04-01 19:32:39 -07:00
files.h Support dirfd relative iops on Windows 2021-01-30 01:49:43 -08:00
iocp.h Get Cosmopolitan into releasable state 2020-11-25 08:19:00 -08:00
ipc.h Get Cosmopolitan into releasable state 2020-11-25 08:19:00 -08:00
iphlpapi.h Add SSL to redbean 2021-06-24 13:20:50 -07:00
master.sh Add SSL to redbean 2021-06-24 13:20:50 -07:00
memory.h Add SSL to redbean 2021-06-24 13:20:50 -07:00
messagebox.h Get Cosmopolitan into releasable state 2020-11-25 08:19:00 -08:00
nt.mk Add SSL to redbean 2021-06-24 13:20:50 -07:00
ntdll.h Remove dollars from system call support symbols 2021-02-03 19:35:29 -08:00
ntdllimport.h Remove more nonstandard stuff from cosmopolitan.h 2021-03-01 00:18:23 -08:00
ntdllimport.S Remove more nonstandard stuff from cosmopolitan.h 2021-03-01 00:18:23 -08:00
paint.h Get Cosmopolitan into releasable state 2020-11-25 08:19:00 -08:00
pedef.internal.h Add UEFI support 2021-02-21 21:33:04 -08:00
privilege.h Work towards improving signals and processes 2021-01-27 19:34:02 -08:00
process.h Work towards improving signals and processes 2021-01-27 19:34:02 -08:00
registry.h Get Cosmopolitan into releasable state 2020-11-25 08:19:00 -08:00
runtime.h Add SSL to redbean 2021-06-24 13:20:50 -07:00
signals.h Get Cosmopolitan into releasable state 2020-11-25 08:19:00 -08:00
startupinfo.h Get Cosmopolitan into releasable state 2020-11-25 08:19:00 -08:00
synchronization.h Make Cosmopolitan ANSI C89 compatible 2021-02-03 17:48:59 -08:00
systeminfo.h Fix cosmopolitan.h for C++ 2021-02-01 04:04:44 -08:00
sysv2nt.s Get codebase completely working with LLVM 2021-02-09 02:57:32 -08:00
thread.h Add chibicc 2020-12-06 16:20:21 -08:00
windows.h Add ioctl(SIOCGIFxxx) support (#197) 2021-06-24 10:53:27 -07:00
winsock.h Add ioctl(SIOCGIFxxx) support (#197) 2021-06-24 10:53:27 -07:00