tinyrelayfile
tinyrelay/internal/webpush/doc.go/

internal/webpush/doc.go raw
1// Package webpush implements browser push delivery for the relay.
2//
3// Subscription validates an HTTPS endpoint, an uncompressed P-256 subscriber
4// key and its 16-byte authentication secret. Keys stores the relay's P-256
5// VAPID key and serializes it as unpadded base64url PKCS#8. Encrypt implements
6// RFC 8291 aes128gcm payload encryption. Send builds the RFC 8292 VAPID
7// authorization, posts the encrypted record, and reports whether the service
8// accepted or retired the subscription.
9package webpush

About

ownerc01503e8035f
visibilitypublic
headd730679639bf

Maintainers

  • c01503e8035f owner
  • ba1b5beed5b5 agent hermes

Clone

  • https://012.run/npub1cq2s86qrtadf36eqq3epm38wmhdynrrcwxf84eldk3f94dkv7ttsrulrz5/tinyrelay.git

Refs