modules: draft/webpush — RFC 8291 (aes128gcm) + RFC 8292 (VAPID ES256) Web Push; WEBPUSH REGISTER/UNREGISTER, VAPID ISUPPORT, off-core delivery, HKDF/round-trip tested

This commit is contained in:
Jean Chevronnet 2026-08-25 22:31:11 +00:00
parent 6bb8ccd8ee
commit 6ecb6f3d84
No known key found for this signature in database
GPG key ID: 439666D63A9477E4
8 changed files with 642 additions and 2 deletions

View file

@ -953,6 +953,9 @@ impl Server {
if let Some(tok) = crate::modules::filehost::isupport(self) {
tokens.push(tok);
}
if let Some(tok) = crate::modules::webpush::isupport(self) {
tokens.push(tok);
}
// at most 13 tokens per 005 line (the RFC-suggested cap) so strict clients
// don't truncate trailing tokens
tokens.chunks(13).map(|c| c.join(" ")).collect()