googlearchive / go-gcm

GCM library for Go.
Apache License 2.0
103 stars 66 forks source link

Web Push Encryption #30

Open vanbroup opened 8 years ago

vanbroup commented 8 years ago

Any plans to implement the server-side changes to support encrypted payload data into go-gcm so that notifications to Chrome 50 (and in the current version of Firefox on desktop) can contain extra information?

https://developers.google.com/web/updates/2016/03/web-push-encryption

papisz commented 8 years ago

Any plans or progress on this issue?

There's also a push encryption library in Go, which is also by Google: https://github.com/GoogleChrome/push-encryption-go

It allows to encrypt and send messages (also GCM support). Perhaps go-gcm could use it? Currently they seem incompatible/hard to use together (for now perhaps a custom HttpClient provided to google-gcm which uses push-encryption-go could help).