Skip to content

Commit cf34672

Browse files
committed
update security infos in README
1 parent 5b8958d commit cf34672

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

README.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,9 @@ $browser = $webPush->getBrowser();
100100
Not until the [Push API spec](http://www.w3.org/TR/push-api/) is finished.
101101

102102
### What about security?
103-
Internally, WebPush uses the [phpecc](https://github.com/phpecc/phpecc) Elliptic Curve Cryptography library.
103+
Internally, WebPush uses the [phpecc](https://github.com/phpecc/phpecc) Elliptic Curve Cryptography library to create
104+
local public and private keys and compute the shared secret.
105+
Then, WebPush uses `openssl` in order to encrypt the payload with the encryption key.
104106

105107
### How to solve "SSL certificate problem: unable to get local issuer certificate" ?
106108
Your installation lacks some certificates.

0 commit comments

Comments
 (0)