1
0
mirror of https://github.com/ipfs/kubo.git synced 2025-08-26 20:40:18 +08:00

20 Commits

Author SHA1 Message Date
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
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
e8c2852179 migrate to go-libp2p-core.
closes #6391

License: MIT
Signed-off-by: Raúl Kripalani <raul@protocol.ai>
2019-05-31 23:23:52 -07:00
1f293eff1b chore: fix a bunch of issues caught by golangci-lint
Most of these are probably harmless but a few looked like they might actually be
bugs. Most of them are just faulty tests.

License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
2019-03-29 11:57:45 +00:00
42e191c017 gx: unrewrite
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
2019-03-05 18:33:56 +01:00
28cf3de0f9 Update protobuf
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
2019-02-18 20:46:22 +01:00
0d80fc54c3 gx: update go-log and sha256
fixes #5709

License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
2018-11-02 21:17:20 -07:00
594d95af5d update gogo-protobuf
fixes #3214

License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
2018-08-08 18:56:13 -07:00
1e9e2f453c update deps
License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
2018-05-31 17:59:17 -07:00
2ee5cfb90f fix error style
License: MIT
Signed-off-by: Łukasz Magiera <magik6k@gmail.com>
2018-03-30 09:43:27 +02:00
23e1179d34 Removing the tmp directory after the TestInvalidKeyFiles test.
License: MIT
Signed-off-by: matrushka <barisgumustas@gmail.com>
2018-02-15 10:17:29 +01:00
4bbaa2aa27 Modified keystore to ignore invalid key files inside the keystore directory.
* Has calls the validateName function before checking if we have the file
* List filters the returned list of file names by validateName.

License: MIT
Signed-off-by: matrushka <barisgumustas@gmail.com>
2018-02-15 10:17:29 +01:00
cccc6a94a3 update go-multihash and bubble up changes
License: MIT
Signed-off-by: Jeromy <jeromyj@gmail.com>
2017-07-11 19:27:43 -07:00
7e91da2067 Future-proof keystore.Has by returning an error as well
License: MIT
Signed-off-by: Michael Muré <batolettre@gmail.com>
2017-05-08 17:00:00 +09:00
6f815b1568 Add a Has(name) method to the keystore
License: MIT
Signed-off-by: Michael Muré <batolettre@gmail.com>
2017-05-04 17:29:29 +09:00
b15470d548 bubble up updates from go-multihash changes
License: MIT
Signed-off-by: Jeromy <jeromyj@gmail.com>
2017-04-20 20:28:04 +02:00
4e168dc323 update go-libp2p-kad-dht with getclosestpeers fix
License: MIT
Signed-off-by: Jeromy <jeromyj@gmail.com>
2017-03-05 23:06:04 -08:00
b4eeff2d84 update go-multihash and bubble up deps
License: MIT
Signed-off-by: Jeromy <jeromyj@gmail.com>
2017-02-12 12:25:41 -08:00
84a9208bce test: add test for nonexistant key
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
2016-12-07 08:59:54 +01:00
e8b20b9283 address comments and add some tests
License: MIT
Signed-off-by: Jeromy <why@ipfs.io>
2016-12-06 11:20:18 -08:00