Commit Graph

11896 Commits

Author SHA1 Message Date
rendaw
a0656402ed
Key import and export cli commands 2020-07-16 22:25:37 +09:00
Adin Schmahmann
b98f797bba
Merge pull request #7251 from ipfs/feat/ed25519identity
Choose Key type at initialization
2020-07-14 14:55:48 -04:00
Petar Maymounkov
4674f770b7 Choosable key types at initialization
* add support for choosing a peer key type (e.g. RSA or Ed25519) when initializing the repo
* test all variants of ipfs init: RSA, Ed25519 and default
* update subdomain gateway sharness test to publish IPNS using RSA and
Ed25519 keys
* use default identity bit lengths defined in config repo instead of
having separate defaults in go-ipfs
* update config repo dependency

Co-authored-by: Will Scott <will@cypherpunk.email>
Co-authored-by: Petar Maymounkov <petarm@gmail.com>
2020-07-14 14:42:49 -04:00
Petar Maymounkov
b3e5ffc41a
feat: add flag to ipfs key and list to output keys in b36/CIDv1 (#7531)
* add flag to "ipfs key gen" to output keys in b36 CIDv1
* add flag to "ipfs key list" to output keys in b36 CIDv1
* add and modify corresponding sharness tests
2020-07-13 12:08:34 -04:00
Marcin Rataj
231fab811d feat: support ED25519 libp2p-key in subdomains
This:

- adds subdomain gateway support for ED25519 CIDs in a way that fits in
  a single DNS label to enable TLS for every IPNS website.

- cleans up subdomain redirect logic and adds more explicit error
  handling.

TL;DR on router logic:

When CID is longer than 63 characters, router at /ipfs/* and /ipns/*
converts to Base36, and if that does not help, returns a human readable
400 Bad Request error.

Addressing code review:
https://github.com/ipfs/go-ipfs/pull/7441#pullrequestreview-440043209

refactor: use b36 for all libp2p-keys in subdomains
Consensus reached in
https://github.com/ipfs/go-ipfs/pull/7441#discussion_r452372828
https://github.com/ipfs/go-ipfs/pull/7441#discussion_r451477890
https://github.com/ipfs/go-ipfs/pull/7441#discussion_r452500272
2020-07-10 16:25:20 -04:00
Marcin Rataj
0acfb38763 chore: fix a typo 2020-07-10 14:13:11 -04:00
Marcin Rataj
580d68685c docs: document X-Forwarded-Host 2020-07-10 14:13:11 -04:00
Michael Muré
87dfc46e03 feat: support X-Forwarded-Host when doing gateway redirect 2020-07-10 14:13:11 -04:00
Will Scott
a61132efea chore: update test deps for graphsync 2020-07-07 18:30:43 -04:00
Adin Schmahmann
d8bbf3f7b4
Merge pull request #7524 from ipfs/petar/iptb
chore: bump test dependencies
2020-07-07 17:41:26 -04:00
Adin Schmahmann
faa0200cfa updated deps 2020-07-07 17:16:58 -04:00
Petar Maymounkov
2cad3129dc ok 2020-07-07 11:28:34 -07:00
Petar Maymounkov
e1a3b79514 ok 2020-07-07 11:16:27 -07:00
Petar Maymounkov
3121689d9a updating mods 2020-07-07 09:00:55 -07:00
Steven Allen
c2da57cd45
Merge pull request #7505 from ipfs/fix/static
fix: use static binaries in docker container
2020-07-05 13:38:03 -07:00
Steven Allen
7ac8220226
Merge pull request #7517 from marten-seemann/update-quic
update QUIC
2020-07-05 13:37:18 -07:00
Marten Seemann
8b235cf47a update QUIC 2020-07-02 14:57:34 +07:00
Steven Allen
e03b5ab772
Merge pull request #7504 from rafaelramalho19/chore/bump-webui-version
chore:bump webui version to 2.10.1
2020-07-01 12:32:21 -07:00
Steven Allen
1034724ca0 fix: use static binaries in docker container
This is more robust cross-platform/architecture.

fixes #7422
2020-06-23 14:03:23 -07:00
Rafael Ramalho
4c38ea748a chore:bump webui version to 2.10.1 2020-06-23 16:28:38 +01:00
Steven Allen
7ce1d751f8
Merge pull request #7501 from rafaelramalho19/chore/bump-webui-version
chore: bump webui version
2020-06-22 15:03:33 -07:00
Rafael Ramalho
cc4a136360 chore: bump webui version 2020-06-22 17:39:30 +01:00
Adin Schmahmann
b86e93045a update version to 0.7.0-dev 2020-06-19 20:09:15 -04:00
Adin Schmahmann
19d6230cde Merge branch 'release' into master 2020-06-19 20:04:30 -04:00
Adin Schmahmann
d6e036a888
Merge pull request #7366 from ipfs/release-v0.6.0
Release v0.6.0
2020-06-19 18:08:21 -04:00
Steven Allen
5a19539223 feat: release v0.6.0 2020-06-19 14:50:45 -07:00
Steven Allen
3f2421c318 doc(changelog): final update for release 2020-06-19 14:29:34 -07:00
Steven Allen
538174fde7
Merge pull request #7491 from ipfs/fix/ipns-resolve-leak
fix 3 bugs responsible for a goroutine leak (plus one other bug)
2020-06-19 10:05:16 -07:00
Steven Allen
0f3bc6552f fix: return results from resolve once
Previously, we'd return the error + result, then the result.
2020-06-17 19:50:51 -07:00
Steven Allen
84341d0c5a fix: use the correct context when resolving dnsaddr links 2020-06-17 19:44:28 -07:00
Steven Allen
5f19f3bbe8 fix: cancel resolve search context
We probably don't need to do this, but it can't hurt.
2020-06-17 19:43:20 -07:00
Steven Allen
00de344318 fix: close resolve channel before returning it 2020-06-17 19:42:14 -07:00
Steven Allen
63ff04c4cf feat: bump version to 0.6.0-rc7 2020-06-16 22:41:31 -07:00
Steven Allen
5fb3a3e4f5 doc(changelog): update for final patches 2020-06-16 22:40:42 -07:00
Steven Allen
ee8dad9ebd
Merge pull request #7483 from ipfs/docs/config-index
docs(config): update toc
2020-06-16 22:05:48 -07:00
Steven Allen
0cef475b2d docs(config): update toc 2020-06-16 22:04:24 -07:00
Steven Allen
609cb412ab Merge pull request #7460 from ipfs/feat/update-changelog
doc(changelog): update changelog for 0.6.0
2020-06-16 22:01:48 -07:00
Steven Allen
ae5ef6de08 doc(changelog): finish fleshing out the changelog 2020-06-16 22:01:10 -07:00
Steven Allen
e457aa74fd doc(changelog): cleanup base36 section
* make it clear that we don't use it by default (yet)
* focus on what the user cares about
2020-06-16 22:01:10 -07:00
Steven Allen
357a248b5d doc(changelog): cleanup 404 text 2020-06-16 22:01:10 -07:00
Steven Allen
43f17c2bf7 doc(changelog): additional nits 2020-06-16 22:01:10 -07:00
Steven Allen
bae2624329 doc(changelog): ribasushi fixes
Co-authored-by: Peter Rabbitson <ribasushi@protocol.ai>
2020-06-16 22:01:10 -07:00
Marcin Rataj
2c52f79398 docs(CHANGELOG): custom 404 and base36 2020-06-16 22:01:10 -07:00
Steven Allen
1a30dbd3ca doc(changelog): update changelog for 0.6.0 2020-06-16 22:01:07 -07:00
Steven Allen
99fa027604
Merge pull request #7479 from ipfs/feat/transport-conf
feat: transport config
2020-06-16 18:59:07 -07:00
Steven Allen
3ce725dd96 fix: upgrade warning to error 2020-06-16 15:15:51 -07:00
Steven Allen
a37ff1fe26 fix: remove pointless config type check
This bug was pointed out in
https://github.com/ipfs/go-ipfs/pull/1440#discussion_r33892559 but was ignored
for some reason.
2020-06-16 15:15:51 -07:00
Steven Allen
c0951e73d7 doc(config): expand on config value limits 2020-06-16 15:15:51 -07:00
Steven Allen
e164af1f2a feat: add a transport config section
This way, users can disable transports (especially QUIC), and set muxer/security
transport priorities.
2020-06-16 15:15:47 -07:00
Steven Allen
b431e6994e
Merge pull request #7472 from RubenKelevra/feat/systemd_set_ipfs_path
systemd: specify repo path, to avoid unnecessary subdirectory
2020-06-15 17:07:19 -07:00