DARKCHAN

v1.0.0
1.4.30
0
0

01

Allegro 5 + nilorea N_GUI REST + darkchan_crypto.c -> WASM Android NDK + Java service (FGS) darkchan-server ntfy (UnifiedPush)

LINUX
ANDROID
WINDOWS
02

X25519
Ed25519
ChaCha20-Poly1305
HKDF-SHA256
scrypt N=2^15, r=8, p=1
BLAKE2b-512
TLS 1.3

01
pw_auth =
scrypt(password,
BLAKE2b(user))
02
REGISTER
03
scrypt(pw_auth,
random_salt)
PENDING
04
05

conv_key = RAND_bytes(32)

# per blob (never reused) file_key = RAND_bytes(32) blob_salt = RAND_bytes(16) # per 64 KiB chunk i chunk_key = HKDF(file_key, blob_salt, "darkchan-blob-v1" || u32be(i)) aad = blob_id || u32be(i) || u8(is_final) ct, tag = ChaCha20-Poly1305(chunk_key, 0^12, aad, pt_i)

Safety number screen
03

ANDROID AUTO
04

VIDEO
EMOJI / STICKERS

Roster
Chat
Emoji picker
Safety number

INSTANCES

B
UnifiedPush
A
remoteMessaging
C

# .deb: creates the user, starts the unit $ sudo apt install ./darkchan-server_*.deb # approve a pending account $ sudo darkchan-adm approve alice # new emoji: no app update needed $ darkchan-emoji build --data data/emoji $ darkchan-admin emoji-reload # snapshot, server_identity.key included $ /usr/share/darkchan/backup.sh <data-dir> backup.tar.gz # update: built on your machine, installed over SSH $ packaging/deploy-deb.sh --host you@server
05

0
0
0
0
MAKE CI
MAKE CHECK

0-4
5-8
9-12
13
14
15
16

DARKCHAN

1 / 27