storj/cmd/uplink
Kaloyan Raev 99640225fd
Refactor Path type (#522)
The old paths.Path type is now replaced with the new storj.Path.

storj.Path is simply an alias to the built-in string type. As such it can be used just as any string, which simplifies a lot working with paths. No more conversions paths.New and path.String().

As an alias storj.Path does not define any methods. However, any functions applying to strings (like those from the strings package) gracefully apply to storj.Path too. In addition we have a few more functions defined:

    storj.SplitPath
    storj.JoinPaths
    encryption.EncryptPath
    encryption.DecryptPath
    encryption.DerivePathKey
    encryption.DeriveContentKey

All code in master is migrated to the new storj.Path type.

The Path example is also updated and is good for reference: /pkg/encryption/examples_test.go

This PR also resolve a nonce misuse issue in path encryption: https://storjlabs.atlassian.net/browse/V3-545
2018-10-25 23:28:16 +03:00
..
cmd Refactor Path type (#522) 2018-10-25 23:28:16 +03:00
Dockerfile A bunch of small fixes to make OPsy things better (#346) 2018-09-12 11:02:53 -04:00
entrypoint Normalize the Docker Bits (#325) 2018-09-07 15:46:08 -04:00
main.go merge uplink and storj (#323) 2018-09-07 09:01:04 -06:00
README.md uplink: make ul/uplink consistent (#286) 2018-08-24 14:02:42 -06:00

Uplink

Documentation for developing and building the uplink service

Usage:

First make an identity:

go install storj.io/storj/cmd/uplink
uplink setup

You can edit ~/.storj/uplink/config.yaml to your liking. Then run it!

uplink run