From 9abce7a852beeefb9e13db9f095fe34d9ee8036a Mon Sep 17 00:00:00 2001 From: Erwin Hessing Date: Wed, 31 Aug 2016 11:44:51 +1200 Subject: [PATCH] bugfix Stringify keyAuthorization prior to saving --- index.js | 1 + 1 file changed, 1 insertion(+) diff --git a/index.js b/index.js index 3a6320b..124a41f 100644 --- a/index.js +++ b/index.js @@ -40,6 +40,7 @@ Challenge.create = function (options) { // Challenge.set = function (args, domain, challengePath, keyAuthorization, done) { var mkdirp = require('mkdirp'); + keyAuthorization = String(keyAuthorization); mkdirp(args.webrootPath, function (err) { if (err) {