summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChinedu Francis Nwafili <frankie.nwafili@gmail.com>2017-06-22 09:51:13 +0700
committerBrent Shaffer <betterbrent@google.com>2017-06-21 19:51:13 -0700
commit8becb3b775a2288bda7259f6d13fce89999a4a14 (patch)
tree435fb6da06ccb4195eafdae46a84f20f41b2ed42
parentd67523fd6a2da172a196fe41a73ba5d4b563619f (diff)
downloadphp-jwt-8becb3b775a2288bda7259f6d13fce89999a4a14.zip
php-jwt-8becb3b775a2288bda7259f6d13fce89999a4a14.tar.gz
php-jwt-8becb3b775a2288bda7259f6d13fce89999a4a14.tar.bz2
Add new line warning to README (#115)
-rw-r--r--README.md6
1 files changed, 6 insertions, 0 deletions
diff --git a/README.md b/README.md
index 5c3261a..294234b 100644
--- a/README.md
+++ b/README.md
@@ -168,6 +168,12 @@ Time: 0 seconds, Memory: 2.50Mb
OK (5 tests, 5 assertions)
```
+New Lines in private keys
+-----
+
+If your private key contains `\n` characters, be sure to wrap it in double quotes `""`
+and not single quotes `''` in order to properly interpret the escaped characters.
+
License
-------
[3-Clause BSD](http://opensource.org/licenses/BSD-3-Clause).