Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Login #35

Open
dri94 opened this issue Mar 21, 2020 · 2 comments
Open

Login #35

dri94 opened this issue Mar 21, 2020 · 2 comments

Comments

@dri94
Copy link
Contributor

dri94 commented Mar 21, 2020

Before the v3 change you could login to storj with a Key likeKeys(username, password, mnemonic), however now that has changed. How do we get the apikey and encryption access to create a key now? are they user specified?

@kaloyan-raev
Copy link
Owner

Yes, this concept change in V3. You now need an "access grant" for accessing data on the Storj network.

The access grant consist of the parts:

  • Satellite address
  • API Key
  • Encryption Access

The API key is created by the user in the web interface on the satellite: https://documentation.tardigrade.io/getting-started/uploading-your-first-object/create-an-api-key

The Encryption Access can be generated from a human-readable passphrase.

Here is an example in the Android library that can be used to create an access grant from the API key and Passphrase: https://github.com/storj/uplink-android#creating-new-scope-from-passphrase

Note that in the Android library the "access grant" is still called "scope". This is the old name. We will soon update the Android library to reflect that.

@dri94
Copy link
Contributor Author

dri94 commented Mar 23, 2020

@kaloyan-raev is there any way to expose a list of satellites with their address? So we can have the user select one. Also should we be using android-libstorj or uplink-android? The former seems to have better interfaces for handling login, etc.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants