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
Adam Uhlir
d67a4e06cf
Introducing EncodedFSKeystore with base32 encoding ( #5947 )
...
Encoding the key's filename with base32 introduces coherent behaviour
across different platforms and their case-sensitive/case-insensitive
file-systems. Moreover it allows wider character set to be used for the
name of the keys as the original restriction for special FS's characters
(e.g. '/', '.') will not apply.
License: MIT
Signed-off-by: Adam Uhlir <uhlir.a@gmail.com>
2020-03-23 17:05:16 -07:00
Steven Allen
6bba527da0
Merge pull request #7024 from ipfs/feat/update-dists
...
chore: update hard-coded dist URL for repo migrations
2020-03-23 17:03:41 -07:00
Steven Allen
65e2ce74cc
Merge pull request #7023 from ipfs/fix/improve-key-lookup
...
feat: improve key lookup
2020-03-23 16:36:00 -07:00
Steven Allen
7fa1449e62
chore: update hard-coded dist URL for repo migrations
2020-03-23 16:14:26 -07:00
Steven Allen
b5ad3be060
feat: improve key lookup
...
* Support peer IDs encoded as CIDs.
* Support looking up the identity key by peer ID.
2020-03-23 15:40:48 -07:00
Steven Allen
7a4752ac9e
Merge pull request #7017 from ipfs/feat/cmd-add-ignore-2
...
feat(file-ignore): add ignore opts to add cmd
2020-03-20 09:42:24 -07:00
Cornelius Toole
62de9ba9d3
feat(file-ignore): add ignore opts to add cmd
...
- add the `gitignore` or `ignore options to the add command
2020-03-20 09:22:04 -07:00
Steven Allen
8436146a28
Merge pull request #7016 from ipfs/dependabot/go_modules/github.com/ipfs/go-bitswap-0.2.5
...
chore(deps): bump github.com/ipfs/go-bitswap from 0.2.4 to 0.2.5
2020-03-19 10:39:13 -07:00
dependabot-preview[bot]
26cd0d4a73
chore(deps): bump github.com/ipfs/go-bitswap from 0.2.4 to 0.2.5
...
Bumps [github.com/ipfs/go-bitswap](https://github.com/ipfs/go-bitswap ) from 0.2.4 to 0.2.5.
- [Release notes](https://github.com/ipfs/go-bitswap/releases )
- [Commits](https://github.com/ipfs/go-bitswap/compare/v0.2.4...v0.2.5 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-03-19 17:27:11 +00:00
Steven Allen
99c0feba0b
Merge pull request #7014 from ipfs/dependabot/go_modules/github.com/libp2p/go-libp2p-0.6.1
...
chore(deps): bump github.com/libp2p/go-libp2p from 0.6.0 to 0.6.1
2020-03-19 10:15:19 -07:00
dependabot-preview[bot]
b8261d6417
chore(deps): bump github.com/libp2p/go-libp2p from 0.6.0 to 0.6.1
...
Bumps [github.com/libp2p/go-libp2p](https://github.com/libp2p/go-libp2p ) from 0.6.0 to 0.6.1.
- [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.6.0...v0.6.1 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-03-19 11:30:39 +00:00
Steven Allen
6825097aea
Merge pull request #7012 from ipfs/chore/update-deps
...
chore: update dependencies
2020-03-18 09:33:33 -07:00
Steven Allen
5b308bb30c
chore: update dependencies
2020-03-18 09:17:21 -07:00
Steven Allen
0114869d7e
Merge pull request #6096 from ipfs/feat/gateway-subdomains
...
feat: gateway subdomains + http proxy mode
2020-03-18 09:05:21 -07:00
Steven Allen
05fe3086a5
fix(sharness): fix sharness tests to take removed bootstrap peers into account
2020-03-18 08:50:40 -07:00
Marcin Rataj
f9567a0a0f
fix(gateway): curl without redirect on localhost
...
When request is sent to http://localhost:8080/ipfs/$cid response has
HTTP 301 status code and "Location" header with redirect destination at
$cid.ipfs.localhost:8080
Redirect is followed by browsersi, but not by commandline tools.
Status 301 is ignored by curl in default mode: it will print response
and won't follow redirect, user needs to add -L for that.
To fix curl, we return correct payload in body of HTTP 301 response,
but set Clear-Site-Data header to ensure Origin sandbox can't be abused.
This requires a surgical workaround:
If Location header is present in ResponseWriter's Header map,
we ensure http.ServeContent() returns HTTP 301
Context: https://github.com/ipfs/go-ipfs/pull/6982
License: MIT
Signed-off-by: Marcin Rataj <lidel@lidel.org>
2020-03-18 08:50:40 -07:00
Marcin Rataj
3ecccd6e1d
feat(gateway): subdomain and proxy gateway
...
License: MIT
Signed-off-by: Marcin Rataj <lidel@lidel.org>
2020-03-18 08:50:38 -07:00
Marcin Rataj
848d4c7f18
feat: IPFS_NS_MAP
...
Allows static DNSLink mappings with IPFS_NS_MAP.
License: MIT
Signed-off-by: Marcin Rataj <lidel@lidel.org>
2020-03-17 19:38:02 -07:00
Steven Allen
72490f7ed0
gateway: simplify/improve dnslink rewrite handling
...
Instead of adding a new fake header (that could be spoofed by the client...),
just read the original request URI from the request object.
This also removes support for suborigins. They have never been implemented in
browsers and it looks like efforts have stalled. We can add support back if we
need it but, well, maintaining support was going to be more trouble than it was
worth.
License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
2020-03-17 19:34:44 -07:00
Steven Allen
11c229bb14
rename ProxyOption to P2PProxyOption
...
(we're implementing an _actual_ proxy)
License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
2020-03-17 19:34:44 -07:00