web-push-book icon indicating copy to clipboard operation
web-push-book copied to clipboard

Remove VAPID private key from github

Open jeznag opened this issue 8 years ago • 2 comments

https://github.com/gauntface/web-push-book/blob/master/src/demos/node-server/index.js#L18

In the book, you say, keep your private keys private :P

jeznag avatar Mar 16 '17 04:03 jeznag

Do as I say - not as I do ;)

At the end of the day - the demo server is not hosted anywhere and I'd like people to be able to play with the demo with as little friction as possible.

I should add a comment saying this should be private - but open to other / better ideas ;)

gauntface avatar Mar 21 '17 18:03 gauntface

I actually tried using those keys out of laziness and got a really confusing error that didn't seem related. Took me about an hour to figure it out lol. Might be safest to force people to generate their own.

On 22 Mar 2017 5:47 am, "Matt Gaunt" [email protected] wrote:

Do as I say - not as I do ;)

At the end of the day - the demo server is not hosted anywhere and I'd like people to be able to play with the demo with as little friction as possible.

I should add a comment saying this should be private - but open to other / better ideas ;)

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/gauntface/web-push-book/issues/61#issuecomment-288180450, or mute the thread https://github.com/notifications/unsubscribe-auth/AA_KijcAH_Hfw3oxRgurbdSyvKT3XsVvks5roBs2gaJpZM4Me1zR .

jeznag avatar Mar 22 '17 01:03 jeznag