Commit Graph

11928 Commits

Author SHA1 Message Date
Adin Schmahmann
692e9f59ff refactor: get rid of cmdDetails awkwardness 2020-08-04 18:28:40 -04:00
Adin Schmahmann
18a27564cb
Merge pull request #7554 from ipfs/petar/namefmt
IPNS format keys in b36cid
2020-08-04 14:08:09 -04:00
Adin Schmahmann
dff0c47050 improve keystore sharness tests 2020-08-04 11:28:40 -04:00
Petar Maymounkov
e384b5964a IPNS format keys in b36cid 2020-08-04 00:18:29 -04:00
Petar Maymounkov
086ea33827 update libp2p deps 2020-08-03 17:53:19 -04:00
Adin Schmahmann
dfb8141d2f
Merge pull request #7546 from rendaw/master
Key import and export cli commands
2020-08-03 17:51:04 -04:00
Adin Schmahmann
fab3a3578d ipfs key export output keys with .key extension by default 2020-08-03 17:28:55 -04:00
Adin Schmahmann
7f15be2ae5 switch ipfs key import/export to use files instead of strings 2020-08-03 16:27:12 -04:00
rendaw
356ca3aefa
Remove export option from generate 2020-08-01 10:45:38 +09:00
Adin Schmahmann
a70d04b68f remove ipfs key identify command 2020-07-30 16:26:40 -04:00
Adin Schmahmann
5b28704e50
Merge pull request #7529 from ipfs/feat/add-snap-package
feat: add snap package configuration
2020-07-24 12:42:45 -04:00
Rafael Ramalho
e3905e1fdc chore: bump webui version 2020-07-24 12:37:02 -04:00
Adin Schmahmann
1813deb2cb
Merge pull request #7545 from ipfs/chore/use-published-interop-test-version
chore: use published ipfs-interop module instead of master branch
2020-07-24 11:24:45 -04:00
achingbrain
b5852295e7 chore: use npx for interop runner 2020-07-24 08:40:51 +01:00
achingbrain
631f958fc7 chore: update js-ipfs and interop version 2020-07-23 17:52:41 +01:00
achingbrain
e8cfdd7f3d chore: use published ipfs-interop module instead of master branch
Changes the CI pipeline to use a published version of the `ipfs-interop`
module instead of whatever's the HEAD of master in order to control
the versions of what's being tested.

Otherwise it becomes hard to release breaking changes in an ordered
fashion.
2020-07-23 17:52:30 +01:00
Oli Evans
bb6a42dd08
chore: remove stale comment
License: MIT
Signed-off-by: Oli Evans <oli@tableflip.io>
2020-07-21 10:31:55 +01:00
Petar Maymounkov
6eb5db7e64
repeat gateway subdomain test for all key types (#7542)
* repeat gateway subdomain test for all key types

Co-authored-by: Adin Schmahmann <adin.schmahmann@gmail.com>
2020-07-20 13:20:09 -04:00
Steven Allen
480defab68 fix: override GOFLAGS
That way we can combine our GOFLAGS with the user specified ones.

This also switches to the new -trimpath build flag for reproducible builds.

fixes #7475
2020-07-20 10:32:42 -04:00
Marten Seemann
be171d5e3c update QUIC, enable the RetireBugBackwardsCompatibilityMode 2020-07-20 10:29:43 -04:00
Adin Schmahmann
3af0e658f6
Merge pull request #7519 from RubenKelevra/patch-1
github issues: add info about the security email address
2020-07-17 13:49:28 -04:00
Adin Schmahmann
8dcd260b21
Merge pull request #7514 from martriay/doc/add-without-daemon-behavior
Document add behavior when the daemon is not running
2020-07-17 13:37:06 -04:00
rendaw
3bdc907168
Merge remote-tracking branch 'source/master' 2020-07-17 00:09:01 +09:00
rendaw
c7657cb690
Fix sharness tests 2020-07-16 23:57:30 +09:00
rendaw
a0656402ed
Key import and export cli commands 2020-07-16 22:25:37 +09:00
Adin Schmahmann
3d3c03618b
Merge pull request #7515 from ipfs/petar/rollover 2020-07-15 19:48:09 -04:00
Petar Maymounkov
7dda766442 sharness: test_ipfs_init now uses default flags 2020-07-15 19:04:43 -04:00
Petar Maymounkov
2c255eab24 feat: implement ipfs rotate command for rotating the ID keys for the node 2020-07-15 19:04:34 -04: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
Oli Evans
812ee63d18
chore: remove explicit architectures
remvoing as specifying the subset of architectures you want to build on has side-effects, like the resulting snap is labeled as "multi" arch, and the snapstore UI lists it as building on i386 the whole time.

License: MIT
Signed-off-by: Oli Evans <oli@tableflip.io>
2020-07-10 18:05:36 +01:00
Oli Evans
ba0b415408
chore: enable snap home interface
Without the home interface the user is unable to add files to ipfs from their home dir.

Also explicitly sets the build architectures, to skip some esoteric ones and save some cpu cycles.

License: MIT
Signed-off-by: Oli Evans <oli@tableflip.io>
2020-07-10 16:30:54 +01:00
Oli Evans
883ad0d1d2
feat: add snap package configuration
Simplify keeping the snap package up to date by including the snapcraft.yaml in the repo.

We can then wire up the snapstore to autobuild the package for amd64,i386,arm* etc.

Many thanks to @elopio for the work of getting ipfs into the snap store in the first place, and to @bertrandfalguiere and @mkg20001 for pushing it forwards.

See: https://github.com/ipfs-shipyard/ipfs-snap for more info.

Fixes #7250
WIP #3595

License: MIT
Signed-off-by: Oli Evans <oli@tableflip.io>
2020-07-09 11:07:14 +01: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
@RubenKelevra
32724b6e33
github issues: add info about the security email address 2020-07-02 15:57:48 +02: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
Martín Triay
c532cb4d5a
Document add behavior when the daemon is not running 2020-06-27 15:57:18 -03:00