sakuraapi / cli

Command Line Interface for Scaffolding and Managing SakuraAPI Projects
BSD 3-Clause "New" or "Revised" License
4 stars 1 forks source link

generated password allows `'` character #31

Open candleshine opened 6 years ago

candleshine commented 6 years ago
$ sapi init aaaa
SakuraAPI Cli v0.6.3
Initialized empty Git repository in /Users/daniel/Documents/projects/sandbox/aaaa/.git/
✓ Loaded default preferences from /Users/daniel/.sapi
package.json preferences:
? Author: daniel
? Description: SakuraApi Awesome Sauce
? License: UNLICENSED
? Project Name (npm name): aaaa
? Version: 0.0.0
src/config/environment.ts preferences:
? What JWT role does this server fulfill?: (none) issuer
? Server JWT Issuer Name issuer.Daniels-MacBook-Pro.local
? Server JWT Signing Key: @',7>QOwPt~DTFE>i#>g~a,%(!579tu[

see the second character of the generated signingKey

This will cause the generated project not to npm start

candleshine commented 6 years ago

I just ran this. It does not fail. Needs further investigation