Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

particle setup crash #154

Closed
dmiddlecamp opened this issue Oct 8, 2015 · 2 comments
Closed

particle setup crash #154

dmiddlecamp opened this issue Oct 8, 2015 · 2 comments
Labels

Comments

@dmiddlecamp
Copy link
Contributor

 Here's what we're going to send to the Photon:

> Wi-Fi Network: XX
> Password: XX
> Security: WPA2

 Would you like to continue with the information shown above? Yes

> Obtaining device information...

-> and then I was dropped back to the shell with no errors, using latest version of source.

@dmiddlecamp
Copy link
Contributor Author

I think I maybe typed "y." instead of just y, which might have crashed it.

@brycekahle brycekahle added the bug label Nov 25, 2015
@brycekahle
Copy link
Contributor

Reproduced. Does not require y..

/Users/bwkahle/git/particle-cli/node_modules/asn1/lib/ber/reader.js:102
      throw newInvalidAsn1Error('encoding too long');
      ^

InvalidAsn1Error: encoding too long
    at module.exports.newInvalidAsn1Error (/Users/bwkahle/git/particle-cli/node_modules/asn1/lib/ber/errors.js:7:13)
    at Reader.readLength (/Users/bwkahle/git/particle-cli/node_modules/asn1/lib/ber/reader.js:102:13)
    at Reader.readSequence (/Users/bwkahle/git/particle-cli/node_modules/asn1/lib/ber/reader.js:135:16)
    at Object.module.exports.publicImport (/Users/bwkahle/git/particle-cli/node_modules/node-rsa/src/formats/pkcs1.js:118:14)
    at Object.module.exports.detectAndImport (/Users/bwkahle/git/particle-cli/node_modules/node-rsa/src/formats/formats.js:64:48)
    at NodeRSA.module.exports.NodeRSA.importKey (/Users/bwkahle/git/particle-cli/node_modules/node-rsa/src/NodeRSA.js:179:22)
    at new NodeRSA (/Users/bwkahle/git/particle-cli/node_modules/node-rsa/src/NodeRSA.js:69:18)
    at SoftAPSetup.response (/Users/bwkahle/git/particle-cli/node_modules/softap-setup/index.js:92:22)
    at Socket.onData (/Users/bwkahle/git/particle-cli/node_modules/softap-setup/index.js:230:3)
    at emitOne (events.js:77:13)

brycekahle added a commit that referenced this issue Jan 14, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants