Andrew Schamp

Results 8 comments of Andrew Schamp

I couldn't get the convert script to work, but replacing it with ionic's (new?) built-in 'resources' script did.

Ah, looking at the example that actually gets run, the JSON is to be served from swagger/api, and the PetStore.yaml is configured not to be served at all. I'll take...

So my problem was I put the files() middleware at the end, after everything else. putting it right after metadata(), like in the example, made it start to work. Upon...

I solved this problem by creating a client class that tries to ping before each command, and if it fails, reestablishes the connection. By pinging first, we avoid bad side-effects...

I will revisit this and see what I can get out of the decryption error. I'll see if I can post a recipe for doing this in userland. I come...

What I'm seeing is: SyntaxError: Unexpected token �, which I had figured was coming from JSON.parse() there.

Where index.js:105 is the `JSON.parse(out)` call: ``` Err getting doc with wrong PW: [SyntaxError: Unexpected token �] Stack: SyntaxError: Unexpected token � at Object.parse (native) at Object.decrypt [as outgoing] (/Users/aschamp/projects/crypto-pouch/index.js:105:16)...

Just fixed, indeed. : ) That did it, I get "Error: unable to authenticate" now, which I should be able to use in userland to confirm successful password.