Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

missing file encoding for reading public key

  • Loading branch information...
commit 6383aa0ff408f166dd545a868cbfa833b199b790 1 parent 51ffe4f
@jmar777 authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  example/app.js
View
2  example/app.js
@@ -19,7 +19,7 @@ app.configure(function(){
app.use(express.methodOverride());
// attempt to verify signatures on all incoming requests
app.use(httpSignature.verify({
- pub: require('fs').readFileSync(__dirname + '/rsa_public.pem')
+ pub: require('fs').readFileSync(__dirname + '/rsa_public.pem', 'ascii')
}));
app.use(app.router);
app.use(express.static(__dirname + '/public'));
Please sign in to comment.
Something went wrong with that request. Please try again.