Commit Graph

11304 Commits

Author SHA1 Message Date
dependabot-preview[bot]
9570efb204
chore(deps): bump github.com/hashicorp/go-multierror from 1.0.0 to 1.1.0
Bumps [github.com/hashicorp/go-multierror](https://github.com/hashicorp/go-multierror) from 1.0.0 to 1.1.0.
- [Release notes](https://github.com/hashicorp/go-multierror/releases)
- [Commits](https://github.com/hashicorp/go-multierror/compare/v1.0.0...v1.1.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-04-01 11:24:42 +00:00
Steven Allen
bf8db87085
Merge pull request #7064 from ipfs/feat/no-relay-discovery
fix: remove internal relay discovery
2020-03-31 12:39:18 -07:00
Steven Allen
06ba6d0fc2 fix: remove internal relay discovery
This logic collects a list of known relays by testing every new connection.

It exists so we can dial /p2p-circuit/p2p/QmFoobar addresses (circuit addresses
that don't specify the relay). However, this kind of address is useless outside
of basic demos as a random relay is practically guaranteed to not be connected
to the target peer. Picking a random relay to connect to some peer is almost
_never_ the desired behavior.
2020-03-31 12:24:55 -07:00
Steven Allen
f7a6d5dea9
Merge pull request #7062 from RubenKelevra/patch-2
docs/experimental-features.md: typo
2020-03-30 13:15:28 -07:00
Steven Allen
4743b3f341
docs: fix provided -> provider subsystem 2020-03-30 13:15:18 -07:00
@RubenKelevra
4611e41e5c
Apply suggestions from code review
Co-Authored-By: Will <willscott@gmail.com>
2020-03-30 21:01:56 +02:00
@RubenKelevra
0c08e0678c
docs/experimental-features.md: typo 2020-03-30 18:03:12 +02:00
Steven Allen
8f623c9124
Merge pull request #7058 from ipfs/fix/shutdown-errors
fix: get rid of shutdown errors
2020-03-29 21:17:13 -07:00
Steven Allen
efdb8db276 fix: get rid of shutdown errors
Instead of feeding through the top-level context, feed through a cancel-free
context (that still carries the same context values). Then, when the top-level
context is canceled, call `stop` to shut everything down in-order. Finally,
cancel the inner context to make sure everything has been cleaned up.

Ideally, we just wouldn't use contexts for this. But this is strictly better
than what we have.
2020-03-29 20:48:43 -07:00
Steven Allen
474ade1f49
Merge pull request #7057 from ipfs/dependabot/go_modules/github.com/libp2p/go-libp2p-peerstore-0.2.2
chore(deps): bump github.com/libp2p/go-libp2p-peerstore from 0.2.1 to 0.2.2
2020-03-29 19:53:12 -07:00
Steven Allen
6674ec337d
Merge pull request #7056 from ipfs/dependabot/go_modules/github.com/ipfs/go-ipfs-files-0.0.8
chore(deps): bump github.com/ipfs/go-ipfs-files from 0.0.7 to 0.0.8
2020-03-29 19:53:02 -07:00
dependabot-preview[bot]
8531b242c3
chore(deps): bump github.com/libp2p/go-libp2p-peerstore
Bumps [github.com/libp2p/go-libp2p-peerstore](https://github.com/libp2p/go-libp2p-peerstore) from 0.2.1 to 0.2.2.
- [Release notes](https://github.com/libp2p/go-libp2p-peerstore/releases)
- [Commits](https://github.com/libp2p/go-libp2p-peerstore/compare/v0.2.1...v0.2.2)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-03-30 02:36:03 +00:00
dependabot-preview[bot]
2f565f1723
chore(deps): bump github.com/ipfs/go-ipfs-files from 0.0.7 to 0.0.8
Bumps [github.com/ipfs/go-ipfs-files](https://github.com/ipfs/go-ipfs-files) from 0.0.7 to 0.0.8.
- [Release notes](https://github.com/ipfs/go-ipfs-files/releases)
- [Commits](https://github.com/ipfs/go-ipfs-files/compare/v0.0.7...v0.0.8)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-03-30 02:35:24 +00:00
Steven Allen
643acab2cf
Merge pull request #7055 from ipfs/feat/tls-by-default
feat: tls by default
2020-03-29 19:29:33 -07:00
Steven Allen
f28b8fce66 feat: tls by default
Switches to TLS as the default security transports.
2020-03-29 19:12:54 -07:00
Steven Allen
c6d0232093
Merge pull request #7054 from ipfs/fix/go-1.14
fix: downgrade to go 1.13
2020-03-29 18:57:27 -07:00
Steven Allen
968e70f1e2 fix: downgrade to go 1.13
Go 1.14 has a timer reset deadlock (https://github.com/golang/go/issues/38070).

This also downgrades quic-go until either a go patch release fixes this issue or
a version of quic-go is released that works with go 1.13.
2020-03-29 18:41:47 -07:00
Steven Allen
3561de0740
Merge pull request #7047 from ipfs/dependabot/go_modules/github.com/ipfs/go-ds-badger-0.2.2
chore(deps): bump github.com/ipfs/go-ds-badger from 0.2.1 to 0.2.2
2020-03-27 22:41:43 -07:00
Steven Allen
5d6f35aff3
Merge pull request #7046 from ipfs/dependabot/go_modules/github.com/libp2p/go-libp2p-0.7.2
chore(deps): bump github.com/libp2p/go-libp2p from 0.7.1 to 0.7.2
2020-03-27 22:41:31 -07:00
dependabot-preview[bot]
88bc8362a0
chore(deps): bump github.com/ipfs/go-ds-badger from 0.2.1 to 0.2.2
Bumps [github.com/ipfs/go-ds-badger](https://github.com/ipfs/go-ds-badger) from 0.2.1 to 0.2.2.
- [Release notes](https://github.com/ipfs/go-ds-badger/releases)
- [Commits](https://github.com/ipfs/go-ds-badger/compare/v0.2.1...v0.2.2)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-03-28 03:37:46 +00:00
dependabot-preview[bot]
c18b3dafa0
chore(deps): bump github.com/libp2p/go-libp2p from 0.7.1 to 0.7.2
Bumps [github.com/libp2p/go-libp2p](https://github.com/libp2p/go-libp2p) from 0.7.1 to 0.7.2.
- [Release notes](https://github.com/libp2p/go-libp2p/releases)
- [Changelog](https://github.com/libp2p/go-libp2p/blob/master/NEWS.md)
- [Commits](https://github.com/libp2p/go-libp2p/compare/v0.7.1...v0.7.2)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-03-28 03:37:07 +00:00
Steven Allen
84724a3605
Merge pull request #7045 from ipfs/chore/update-go
chore: update golang
2020-03-27 09:55:42 -07:00
Steven Allen
5d6d289ce8 chore: update golang 2020-03-27 09:37:37 -07:00
Steven Allen
6da8c2daee
Merge pull request #7042 from ipfs/dependabot/go_modules/github.com/libp2p/go-libp2p-yamux-0.2.6
chore(deps): bump github.com/libp2p/go-libp2p-yamux from 0.2.5 to 0.2.6
2020-03-27 09:31:08 -07:00
Steven Allen
f1efab4eb3
Merge pull request #7043 from ipfs/fix/keystore-fixes
Keystore: minor maintenance
2020-03-27 09:30:53 -07:00
Hector Sanjuan
4a7373bc6a keystore: create new keys with 0400 permissions (as spec'ed)
Spec is pretty much out of date but specifies this.

https://github.com/ipfs/specs/blob/master/KEYSTORE.md
2020-03-27 12:59:10 +01:00
Hector Sanjuan
56550c1b61 keystore: Switch from Bytes() to MarshalPrivateKey()
Bytes is deprecated.
2020-03-27 12:57:53 +01:00
dependabot-preview[bot]
37f38de614
chore(deps): bump github.com/libp2p/go-libp2p-yamux from 0.2.5 to 0.2.6
Bumps [github.com/libp2p/go-libp2p-yamux](https://github.com/libp2p/go-libp2p-yamux) from 0.2.5 to 0.2.6.
- [Release notes](https://github.com/libp2p/go-libp2p-yamux/releases)
- [Commits](https://github.com/libp2p/go-libp2p-yamux/compare/v0.2.5...v0.2.6)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-03-27 11:30:20 +00:00
Steven Allen
0a25dd3687
Merge pull request #7039 from ipfs/chore/upgrade_chunker_dep
Upgrade go-ipfs-chunker
2020-03-26 14:23:25 -07:00
Peter Rabbitson
027f08ccba Upgrade go-ipfs-chunker
Closes #6953
2020-03-26 21:46:21 +01:00
Steven Allen
729e0533f7
Merge pull request #7035 from ipfs/dependabot/go_modules/github.com/ipfs/go-bitswap-0.2.7
chore(deps): bump github.com/ipfs/go-bitswap from 0.2.6 to 0.2.7
2020-03-26 09:07:25 -07:00
dependabot-preview[bot]
b4b8401827
chore(deps): bump github.com/ipfs/go-bitswap from 0.2.6 to 0.2.7
Bumps [github.com/ipfs/go-bitswap](https://github.com/ipfs/go-bitswap) from 0.2.6 to 0.2.7.
- [Release notes](https://github.com/ipfs/go-bitswap/releases)
- [Commits](https://github.com/ipfs/go-bitswap/compare/v0.2.6...v0.2.7)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-03-26 11:29:39 +00:00
Steven Allen
39b9c3a32b
Merge pull request #6999 from ipfs/fix/racy-fs-access
fix(keystore): avoid racy filesystem access
2020-03-25 13:54:00 -07:00
Steven Allen
311c3f416a
Merge pull request #7033 from ipfs/chore/update-deps
chore: update deps
2020-03-25 13:21:11 -07:00
Steven Allen
aec498bbde test(sharness): make sure we can actually enable autonat
This isn't a real autonat test, but it's a regression test to make sure we don't blatantly break this.
2020-03-25 12:48:25 -07:00
Steven Allen
5129758122 chore: update deps
Specifically, fix an autonat issue where the service wouldn't actually start.
2020-03-25 12:32:22 -07:00
Steven Allen
7a4c377bbb fix(keystore): avoid racy filesystem access
Instead of checking then performing a file operation, perform the file operation
and check the error.
2020-03-25 10:05:16 -07:00
Steven Allen
8950b77a0a
Merge pull request #7029 from ipfs/dependabot/go_modules/github.com/ipfs/go-log-1.0.3
chore(deps): bump github.com/ipfs/go-log from 1.0.2 to 1.0.3
2020-03-25 10:04:22 -07:00
Steven Allen
4d71abbb71
Merge pull request #7030 from ipfs/chore/fix-ci-gofmt
Forgotten go-fmt
2020-03-25 10:03:59 -07:00
Peter Rabbitson
5be6e26f7b Forgotten go-fmt
Not sure why CI didn't catch this
2020-03-25 15:03:17 +01:00
dependabot-preview[bot]
c88a2bfd59
chore(deps): bump github.com/ipfs/go-log from 1.0.2 to 1.0.3
Bumps [github.com/ipfs/go-log](https://github.com/ipfs/go-log) from 1.0.2 to 1.0.3.
- [Release notes](https://github.com/ipfs/go-log/releases)
- [Commits](https://github.com/ipfs/go-log/compare/v1.0.2...v1.0.3)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-03-25 11:29:55 +00:00
Steven Allen
be505da395
Merge pull request #7028 from ipfs/feat/update-bitswap
feat: update go-libp2p & go-bitswap
2020-03-24 15:48:23 -07:00
Steven Allen
ad543f0724 feat: update go-libp2p & go-bitswap
Uses the new libp2p AutoNAT option.
2020-03-24 14:54:09 -07:00
Steven Allen
65fe1df37b
Merge pull request #7025 from ipfs/dependabot/go_modules/github.com/ipfs/go-blockservice-0.1.3
chore(deps): bump github.com/ipfs/go-blockservice from 0.1.2 to 0.1.3
2020-03-24 09:39:30 -07:00
Steven Allen
17ed420dbd
Merge pull request #7026 from ipfs/dependabot/go_modules/github.com/libp2p/go-libp2p-peerstore-0.2.1
chore(deps): bump github.com/libp2p/go-libp2p-peerstore from 0.2.0 to 0.2.1
2020-03-24 09:39:20 -07:00
dependabot-preview[bot]
a5ad19ae52
chore(deps): bump github.com/libp2p/go-libp2p-peerstore
Bumps [github.com/libp2p/go-libp2p-peerstore](https://github.com/libp2p/go-libp2p-peerstore) from 0.2.0 to 0.2.1.
- [Release notes](https://github.com/libp2p/go-libp2p-peerstore/releases)
- [Commits](https://github.com/libp2p/go-libp2p-peerstore/compare/v0.2.0...v0.2.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-03-24 11:30:21 +00:00
dependabot-preview[bot]
c6b2c66b20
chore(deps): bump github.com/ipfs/go-blockservice from 0.1.2 to 0.1.3
Bumps [github.com/ipfs/go-blockservice](https://github.com/ipfs/go-blockservice) from 0.1.2 to 0.1.3.
- [Release notes](https://github.com/ipfs/go-blockservice/releases)
- [Commits](https://github.com/ipfs/go-blockservice/compare/v0.1.2...v0.1.3)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-03-24 11:29:55 +00:00
Steven Allen
efe6ef905a
Merge pull request #6955 from ipfs/feat/AuHau-encoding-key-names
Introducing EncodedFSKeystore with base32 encoding (#5947)
2020-03-23 18:52:46 -07:00
Steven Allen
0d9d6e9495 ci: checkout working interop commit 2020-03-23 17:46:25 -07:00
Hector Sanjuan
059f396bac keystore: finish addressing encodedFSKeystore
* Use Go's base32 library
* Set repo to version 9
* Resolve linting problems and docs.
* Merge EncodedFSKeystore into FSKeystore
* Remove name limitations and adjust tests
2020-03-23 17:05:16 -07:00