cosmopolitan/third_party/sqlite3
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
..
alter.c Further polish SQLite vendoring 2021-05-14 10:43:58 -07:00
analyze.c Further polish SQLite vendoring 2021-05-14 10:43:58 -07:00
attach.c Further polish SQLite vendoring 2021-05-14 10:43:58 -07:00
auth.c Further polish SQLite vendoring 2021-05-14 10:43:58 -07:00
backup.c Further polish SQLite vendoring 2021-05-14 10:43:58 -07:00
bitvec.c Further polish SQLite vendoring 2021-05-14 10:43:58 -07:00
btmutex.c Further polish SQLite vendoring 2021-05-14 10:43:58 -07:00
btree.c Fix build in opt mode 2021-06-11 16:47:48 -07:00
btree.inc Further polish SQLite vendoring 2021-05-14 10:43:58 -07:00
btreeInt.inc Further polish SQLite vendoring 2021-05-14 10:43:58 -07:00
build.c Further polish SQLite vendoring 2021-05-14 10:43:58 -07:00
callback.c Further polish SQLite vendoring 2021-05-14 10:43:58 -07:00
complete.c Further polish SQLite vendoring 2021-05-14 10:43:58 -07:00
ctime.c Further polish SQLite vendoring 2021-05-14 10:43:58 -07:00
date.c Further polish SQLite vendoring 2021-05-14 10:43:58 -07:00
dbpage.c Further polish SQLite vendoring 2021-05-14 10:43:58 -07:00
dbstat.c Further polish SQLite vendoring 2021-05-14 10:43:58 -07:00
delete.c Further polish SQLite vendoring 2021-05-14 10:43:58 -07:00
expr.c Tune SQLite build for redbean (#97) 2021-06-10 08:00:08 -07:00
fault.c Further polish SQLite vendoring 2021-05-14 10:43:58 -07:00
fkey.c Further polish SQLite vendoring 2021-05-14 10:43:58 -07:00
fts3.c Further polish SQLite vendoring 2021-05-14 10:43:58 -07:00
fts3.inc Further polish SQLite vendoring 2021-05-14 10:43:58 -07:00
fts3_aux.c Further polish SQLite vendoring 2021-05-14 10:43:58 -07:00
fts3_expr.c Further polish SQLite vendoring 2021-05-14 10:43:58 -07:00
fts3_hash.c Further polish SQLite vendoring 2021-05-14 10:43:58 -07:00
fts3_hash.inc Further polish SQLite vendoring 2021-05-14 10:43:58 -07:00
fts3_icu.c Further polish SQLite vendoring 2021-05-14 10:43:58 -07:00
fts3_porter.c Further polish SQLite vendoring 2021-05-14 10:43:58 -07:00
fts3_snippet.c Further polish SQLite vendoring 2021-05-14 10:43:58 -07:00
fts3_tokenize_vtab.c Further polish SQLite vendoring 2021-05-14 10:43:58 -07:00
fts3_tokenizer.c Further polish SQLite vendoring 2021-05-14 10:43:58 -07:00
fts3_tokenizer.inc Further polish SQLite vendoring 2021-05-14 10:43:58 -07:00
fts3_tokenizer1.c Further polish SQLite vendoring 2021-05-14 10:43:58 -07:00
fts3_unicode.c Further polish SQLite vendoring 2021-05-14 10:43:58 -07:00
fts3_unicode2.c Get SQLite to build 2021-05-14 02:40:04 -07:00
fts3_write.c Further polish SQLite vendoring 2021-05-14 10:43:58 -07:00
fts3Int.inc Further polish SQLite vendoring 2021-05-14 10:43:58 -07:00
fts5.c Get SQLite to build 2021-05-14 02:40:04 -07:00
fts5.inc Further polish SQLite vendoring 2021-05-14 10:43:58 -07:00
func.c Further polish SQLite vendoring 2021-05-14 10:43:58 -07:00
geopoly.inc Further polish SQLite vendoring 2021-05-14 10:43:58 -07:00
global.c Further polish SQLite vendoring 2021-05-14 10:43:58 -07:00
hash.c Further polish SQLite vendoring 2021-05-14 10:43:58 -07:00
hash.inc Further polish SQLite vendoring 2021-05-14 10:43:58 -07:00
hwtime.inc Further polish SQLite vendoring 2021-05-14 10:43:58 -07:00
icu.c Get SQLite to build 2021-05-14 02:40:04 -07:00
insert.c Further polish SQLite vendoring 2021-05-14 10:43:58 -07:00
inttypes.inc Further polish SQLite vendoring 2021-05-14 10:43:58 -07:00
json1.c Get SQLite to build 2021-05-14 02:40:04 -07:00
keywordhash.inc Further polish SQLite vendoring 2021-05-14 10:43:58 -07:00
legacy.c Further polish SQLite vendoring 2021-05-14 10:43:58 -07:00
loadext.c Further polish SQLite vendoring 2021-05-14 10:43:58 -07:00
main.c Further polish SQLite vendoring 2021-05-14 10:43:58 -07:00
malloc.c Further polish SQLite vendoring 2021-05-14 10:43:58 -07:00
mem0.c Further polish SQLite vendoring 2021-05-14 10:43:58 -07:00
mem1.c Further polish SQLite vendoring 2021-05-14 10:43:58 -07:00
mem2.c Further polish SQLite vendoring 2021-05-14 10:43:58 -07:00
mem3.c Further polish SQLite vendoring 2021-05-14 10:43:58 -07:00
mem5.c Further polish SQLite vendoring 2021-05-14 10:43:58 -07:00
memdb.c Further polish SQLite vendoring 2021-05-14 10:43:58 -07:00
memjournal.c Further polish SQLite vendoring 2021-05-14 10:43:58 -07:00
msvc.inc Further polish SQLite vendoring 2021-05-14 10:43:58 -07:00
mutex.c Further polish SQLite vendoring 2021-05-14 10:43:58 -07:00
mutex.inc Further polish SQLite vendoring 2021-05-14 10:43:58 -07:00
mutex_noop.c Further polish SQLite vendoring 2021-05-14 10:43:58 -07:00
mutex_unix.c Further polish SQLite vendoring 2021-05-14 10:43:58 -07:00
notify.c Further polish SQLite vendoring 2021-05-14 10:43:58 -07:00
opcodes.c Get SQLite to build 2021-05-14 02:40:04 -07:00
opcodes.inc Further polish SQLite vendoring 2021-05-14 10:43:58 -07:00
os.c Further polish SQLite vendoring 2021-05-14 10:43:58 -07:00
os.inc Further polish SQLite vendoring 2021-05-14 10:43:58 -07:00
os_common.inc Further polish SQLite vendoring 2021-05-14 10:43:58 -07:00
os_setup.inc Further polish SQLite vendoring 2021-05-14 10:43:58 -07:00
os_unix.c Further polish SQLite vendoring 2021-05-14 10:43:58 -07:00
os_win.c Further polish SQLite vendoring 2021-05-14 10:43:58 -07:00
pager.c Further polish SQLite vendoring 2021-05-14 10:43:58 -07:00
pager.inc Further polish SQLite vendoring 2021-05-14 10:43:58 -07:00
parse.c Tune SQLite build for redbean (#97) 2021-06-10 08:00:08 -07:00
parse.inc Further polish SQLite vendoring 2021-05-14 10:43:58 -07:00
pcache.c Further polish SQLite vendoring 2021-05-14 10:43:58 -07:00
pcache.inc Further polish SQLite vendoring 2021-05-14 10:43:58 -07:00
pcache1.c Further polish SQLite vendoring 2021-05-14 10:43:58 -07:00
pragma.c Further polish SQLite vendoring 2021-05-14 10:43:58 -07:00
pragma.inc Further polish SQLite vendoring 2021-05-14 10:43:58 -07:00
prepare.c Further polish SQLite vendoring 2021-05-14 10:43:58 -07:00
printf.c Further polish SQLite vendoring 2021-05-14 10:43:58 -07:00
random.c Further polish SQLite vendoring 2021-05-14 10:43:58 -07:00
resolve.c Further polish SQLite vendoring 2021-05-14 10:43:58 -07:00
rowset.c Further polish SQLite vendoring 2021-05-14 10:43:58 -07:00
rtree.c Further polish SQLite vendoring 2021-05-14 10:43:58 -07:00
rtree.inc Further polish SQLite vendoring 2021-05-14 10:43:58 -07:00
select.c Further polish SQLite vendoring 2021-05-14 10:43:58 -07:00
shell.c Add SSL to redbean 2021-06-24 13:20:50 -07:00
shell.c.in Further polish SQLite vendoring 2021-05-14 10:43:58 -07:00
sqlite3.h Further polish SQLite vendoring 2021-05-14 10:43:58 -07:00
sqlite3.mk Add SSL to redbean 2021-06-24 13:20:50 -07:00
sqlite3ext.h Further polish SQLite vendoring 2021-05-14 10:43:58 -07:00
sqlite3rbu.c Further polish SQLite vendoring 2021-05-14 10:43:58 -07:00
sqlite3rbu.inc Further polish SQLite vendoring 2021-05-14 10:43:58 -07:00
sqlite3rtree.inc Further polish SQLite vendoring 2021-05-14 10:43:58 -07:00
sqlite3session.c Fix build in opt mode 2021-06-11 16:47:48 -07:00
sqlite3session.inc Further polish SQLite vendoring 2021-05-14 10:43:58 -07:00
sqlite3userauth.inc Further polish SQLite vendoring 2021-05-14 10:43:58 -07:00
sqliteicu.inc Further polish SQLite vendoring 2021-05-14 10:43:58 -07:00
sqliteInt.inc Further polish SQLite vendoring 2021-05-14 10:43:58 -07:00
sqliteLimit.inc Further polish SQLite vendoring 2021-05-14 10:43:58 -07:00
status.c Further polish SQLite vendoring 2021-05-14 10:43:58 -07:00
stmt.c Get SQLite to build 2021-05-14 02:40:04 -07:00
table.c Further polish SQLite vendoring 2021-05-14 10:43:58 -07:00
threads.c Further polish SQLite vendoring 2021-05-14 10:43:58 -07:00
tokenize.c Further polish SQLite vendoring 2021-05-14 10:43:58 -07:00
tokenizer.inc Further polish SQLite vendoring 2021-05-14 10:43:58 -07:00
treeview.c Further polish SQLite vendoring 2021-05-14 10:43:58 -07:00
trigger.c Further polish SQLite vendoring 2021-05-14 10:43:58 -07:00
update.c Further polish SQLite vendoring 2021-05-14 10:43:58 -07:00
upsert.c Further polish SQLite vendoring 2021-05-14 10:43:58 -07:00
userauth.c Further polish SQLite vendoring 2021-05-14 10:43:58 -07:00
utf.c Further polish SQLite vendoring 2021-05-14 10:43:58 -07:00
util.c Further polish SQLite vendoring 2021-05-14 10:43:58 -07:00
vacuum.c Further polish SQLite vendoring 2021-05-14 10:43:58 -07:00
vdbe.c Further polish SQLite vendoring 2021-05-14 10:43:58 -07:00
vdbe.inc Further polish SQLite vendoring 2021-05-14 10:43:58 -07:00
vdbeapi.c Further polish SQLite vendoring 2021-05-14 10:43:58 -07:00
vdbeaux.c Further polish SQLite vendoring 2021-05-14 10:43:58 -07:00
vdbeblob.c Further polish SQLite vendoring 2021-05-14 10:43:58 -07:00
vdbeInt.inc Further polish SQLite vendoring 2021-05-14 10:43:58 -07:00
vdbemem.c Further polish SQLite vendoring 2021-05-14 10:43:58 -07:00
vdbesort.c Further polish SQLite vendoring 2021-05-14 10:43:58 -07:00
vdbetrace.c Further polish SQLite vendoring 2021-05-14 10:43:58 -07:00
vdbevtab.c Further polish SQLite vendoring 2021-05-14 10:43:58 -07:00
vtab.c Further polish SQLite vendoring 2021-05-14 10:43:58 -07:00
vxworks.inc Further polish SQLite vendoring 2021-05-14 10:43:58 -07:00
wal.c Further polish SQLite vendoring 2021-05-14 10:43:58 -07:00
wal.inc Further polish SQLite vendoring 2021-05-14 10:43:58 -07:00
walker.c Further polish SQLite vendoring 2021-05-14 10:43:58 -07:00
where.c Further polish SQLite vendoring 2021-05-14 10:43:58 -07:00
wherecode.c Further polish SQLite vendoring 2021-05-14 10:43:58 -07:00
whereexpr.c Further polish SQLite vendoring 2021-05-14 10:43:58 -07:00
whereInt.inc Further polish SQLite vendoring 2021-05-14 10:43:58 -07:00
window.c Further polish SQLite vendoring 2021-05-14 10:43:58 -07:00