Skip to content
This repository has been archived by the owner on Apr 29, 2020. It is now read-only.

Async Crypto Endeavour #99

Merged
merged 8 commits into from
Nov 11, 2016
Merged

Async Crypto Endeavour #99

merged 8 commits into from
Nov 11, 2016

Conversation

dignifiedquire
Copy link
Contributor

No description provided.

@daviddias
Copy link
Collaborator

LGTM

@daviddias daviddias changed the title fix: update for new crypto Async Crypto Endeavour Oct 30, 2016
@@ -2,9 +2,8 @@

const w = require('webrtcsupport')

require('./websockets-only')
// require('./websockets-only')
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Currently chasing why websockets fails in the browser

@daviddias
Copy link
Collaborator

more diagnoses

  • with webrtc works fine
  • only fails browser websockets -> node.js websockets
  • fails on multistream handshake (ms.handle), but only in the second one, when it tries to muxer upgrade, it works fine for the secio upgrade

@daviddias
Copy link
Collaborator

I believe that secio might be mangling data between browser <-> node connections
node <-> node is fine
browser <-> browser is fine
browser <-> node without secio is fine

@daviddias
Copy link
Collaborator

@dignifiedquire
Copy link
Contributor Author

Ready for review and unblocked with libp2p/js-libp2p-crypto#29

@@ -66,7 +66,7 @@ describe('libp2p-ipfs-browser (websockets only)', () => {
})
})

it('libp2p.dialByMultiaddr on Protocol nodeA to nodeB', (done) => {
it.skip('libp2p.dialByMultiaddr on Protocol nodeA to nodeB', (done) => {
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

??

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

missed one -.-

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this is not on my computer oO

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ah it's outdated, see the last commit

@daviddias daviddias merged commit add8892 into master Nov 11, 2016
@daviddias daviddias deleted the webcrypto branch November 11, 2016 09:10
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants