# Log in Tardigrade with wallet address

**URL:** <https://forum.storj.io/t/log-in-tardigrade-with-wallet-address/9416>\
**Category:** DCS feature requests - voting\
**Created:** [September 29, 2020, 8:16pm UTC](https://forum.storj.io/t/log-in-tardigrade-with-wallet-address/9416 "2020-09-29T20:16:40Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![jeremyfritzen](https://storj.bcdn.literatehosting.com/user_avatar/forum.storj.io/jeremyfritzen/32/62_2.png) [@jeremyfritzen](https://forum.storj.io/u/jeremyfritzen)\
**Post date:** [September 29, 2020, 8:16pm UTC](https://forum.storj.io/t/log-in-tardigrade-with-wallet-address/9416/1 "2020-09-29T20:16:40Z")

</div>

Hi!

As a Storj DCS (formerly Tardigrade) customer, I’m thinking it would be very nice to be able to **log in Storj DCS satellites with an Ethereum address**.  
It would still be possible to login with your email address. Ethereum address login would be just another way to login.

# Executive summary

The main idea of this proposition is: **propose another, more convenient and private way for the end-users to login (but still keeping the standard log-in feature aside).** Just as it is possible for some applications to either **create a new account on this specific application’s database** or **login with Google (SSO social log-in)**.  
This feature would be based on “[Sign-In With Ethereum](https://login.xyz/) (SIWE)” implementation.

In a nutshell, **SIWE** feature brings:

- for the user: convenience (better user experience), privacy, security
- for Storj Labs: greater popularity as a Web3 major actor, easier way to attract users and maybe easier/cheaper way to manage its customers identity (the last point would need a little bit more study).

# Why this feature?

**SIWE** feature is just the new way to do SSO but in a way more secure, confidential fashion compared to _Social Log-in_. In my own situation, I find _Google Sign-In_ very convenient but avoid to use it especially because I don’t want to give some of my Google Account Information to a third party. And Google has enough power on the Internet, right? We don’t need to give them more…

This log-in method has several advantages:

- **Better user experience** :
  1. With this feature, the user wouldn’t need to register (yet another) account. If he has an Ethereum wallet, then he’s able to log-in quite instantly to Storj DCS. No need to think about a new password (or re-use the same one…), to comply with a new password policy. And this kind of Web3 SSO may become the new universal SSO even for Web2 in the coming years (just a personal opinion).  
The beauty of this feature is that you can even generate several identities based on the same seed-phrase (~ your Web3 password) and use it in any compatible website.  
_SIWE_ already allows any Ethereum wallet owner to log-in instantly to any Web3 application.
  2. This feature is also very convenient for people who already have some STORJ tokens. Indeed, if you login with your Ethereum wallet and already have some STORJ tokens, you cna spend them right away. No need to send your funds to Storj Labs ahead of time (which would require extra gas costs, extra steps, etc.).

- **Increased security** : Since this new form of identity is based on cryptography, it is way more secure than current authentication method. Why? Because:
  - Your “password” is natively secure. It would actually be a passphrase of 12, 24 or even 36 words.
  - Neither your identity nor your password are stored on a server. Everything stay local, even when signing-in or loging-in.

- **Storj popularity** : it would reinforce the Storj position as a major Web3 application. Since Storj is marketed as a Decentralized storage platform, it would definitely make sense to be able to use a decentralized identity.

# Concerns and how to address them

**I know that this proposition may raise some concerns. Here are the suggestions on how to address these concerns** :

- **Ability/necessity for Storj to provide information for legal issues** ( _e.g. the user uploaded criminal pictures_ ): different solutions could be found to address this concern:

- **Crypto is still too complicated and needs mass adoption** : I would answer that it is an optional login-in feature (the user doesn’t have to use it if he prefers the old way). Not all users would have to it (as they don’t have to use _Google Log-in_ ).

- **Ability to get in touch with the customers** : if the user has an issue and wants for support, he will find a way to get in touch with you. But anyway, I understand that Storj sometimes needs to send communications to its end users. There are other ways to do it (even though it would require extra devs):

What do you think?

---

<div class="post-metadata">

**Author:** ![nerdatwork](https://storj.bcdn.literatehosting.com/user_avatar/forum.storj.io/nerdatwork/32/1135_2.png) [@nerdatwork](https://forum.storj.io/u/nerdatwork)\
**Post date:** [September 29, 2020, 8:26pm UTC](https://forum.storj.io/t/log-in-tardigrade-with-wallet-address/9416/2 "2020-09-29T20:26:35Z")

</div>

> [@jeremyfritzen](#):
>
> Ethereum address login would be just another way to login.

Login with email & password is very common. It’s the standard so adding this method IMO is not worth the sprint.

> [@jeremyfritzen](#):
>
> it would also be a nice way to allow the customer to spend the STORJ he has on his wallet address.

This is already possible without the need to use ETH address as your credential. Also you get 10% bonus 🙂

---

<div class="post-metadata">

**Author:** ![jeremyfritzen](https://storj.bcdn.literatehosting.com/user_avatar/forum.storj.io/jeremyfritzen/32/62_2.png) [@jeremyfritzen](https://forum.storj.io/u/jeremyfritzen)\
**Post date:** [September 29, 2020, 8:29pm UTC](https://forum.storj.io/t/log-in-tardigrade-with-wallet-address/9416/3 "2020-09-29T20:29:22Z")

</div>

> [@nerdatwork](#):
>
> Login with email & password is very common. It’s the standard so adding this method IMO is not worth the sprint.

It’s not so common for Blockchain / Decentralized applications.

> [@nerdatwork](#):
>
> This is already possible without the need to use ETH address as your credential. Also you get 10% bonus 🙂

Yes but it requires to send your STORJ, which requires transaction fees.

---

<div class="post-metadata">

**Author:** ![anon27637763](https://storj.bcdn.literatehosting.com/letter_avatar/anon27637763/32/6_449c533f586939b6e5f246632a46421f.png) [@anon27637763](https://forum.storj.io/u/anon27637763)\
**Post date:** [September 29, 2020, 8:31pm UTC](https://forum.storj.io/t/log-in-tardigrade-with-wallet-address/9416/4 "2020-09-29T20:31:17Z")

</div>

I am definitely in support of this idea.

Connecting a metamask wallet would easily allow for payment as well as prevent username/password rainbow attacks and/or poor password storage or salting in the web server’s database.

---

<div class="post-metadata">

**Author:** ![jeremyfritzen](https://storj.bcdn.literatehosting.com/user_avatar/forum.storj.io/jeremyfritzen/32/62_2.png) [@jeremyfritzen](https://forum.storj.io/u/jeremyfritzen)\
**Post date:** [September 29, 2020, 8:32pm UTC](https://forum.storj.io/t/log-in-tardigrade-with-wallet-address/9416/5 "2020-09-29T20:32:33Z")

</div>

Indeed, I didn’t think about security aspects but it’s also a good point! Thanks

---

<div class="post-metadata">

**Author:** ![littleskunk](https://storj.bcdn.literatehosting.com/user_avatar/forum.storj.io/littleskunk/32/63_2.png) [@littleskunk](https://forum.storj.io/u/littleskunk)\
**Post date:** [September 29, 2020, 8:35pm UTC](https://forum.storj.io/t/log-in-tardigrade-with-wallet-address/9416/6 "2020-09-29T20:35:52Z")

</div>

> [@anon27637763](#):
>
> Connecting a metamask wallet would easily allow for payment as well as prevent username/password rainbow attacks and/or poor password storage or salting in the web server’s database.

So for a login I only need to know your wallet address? Really? Or are you willing to give away your private key?

> [@jeremyfritzen](#):
>
> Yes but it requires to send your STORJ, which requires transaction fees.

As long as it is your private key you will have to pay the transaction fees anyway. Sure you could give storj your private key and let them execute the transaction but it would still be you that has to pay the fee.

---

<div class="post-metadata">

**Author:** ![anon27637763](https://storj.bcdn.literatehosting.com/letter_avatar/anon27637763/32/6_449c533f586939b6e5f246632a46421f.png) [@anon27637763](https://forum.storj.io/u/anon27637763)\
**Post date:** [September 29, 2020, 8:39pm UTC](https://forum.storj.io/t/log-in-tardigrade-with-wallet-address/9416/7 "2020-09-29T20:39:00Z")

</div>

> [@littleskunk](#):
>
> So for a login I only need to know your wallet address? Really? Or are you willing to give away your private key?

No private key exchange is needed.

An Ethereum wallet address is generated from the public key… so no public key is needed to be stored either.

The authentication mechanism is generally the following:

1. Web site generates a random nonce.
2. Metamask wallet user signs nonce and returns signed nonce.
3. User Wallet address is authenticated.

There are js libraries that already handle the entire process.

---

<div class="post-metadata">

**Author:** ![jeremyfritzen](https://storj.bcdn.literatehosting.com/user_avatar/forum.storj.io/jeremyfritzen/32/62_2.png) [@jeremyfritzen](https://forum.storj.io/u/jeremyfritzen)\
**Post date:** [September 29, 2020, 8:39pm UTC](https://forum.storj.io/t/log-in-tardigrade-with-wallet-address/9416/8 "2020-09-29T20:39:08Z")

</div>

> [@littleskunk](#):
>
> So for a login I only need to know your wallet address? Really? Or are you willing to give away your private key?

I think connecting through Metamask is secure. You would need to unlock your wallet in order to be logged-in the Tardigrade satellite WebGUI. You don’t have to give your private to anyone. It works exactly the same way for a lot of decentralized applications (such as uniswap)

---

<div class="post-metadata">

**Author:** ![littleskunk](https://storj.bcdn.literatehosting.com/user_avatar/forum.storj.io/littleskunk/32/63_2.png) [@littleskunk](https://forum.storj.io/u/littleskunk)\
**Post date:** [September 29, 2020, 8:41pm UTC](https://forum.storj.io/t/log-in-tardigrade-with-wallet-address/9416/9 "2020-09-29T20:41:35Z")

</div>

but then you could also generate a seed or a hardware wallet as login password. It would give you the same security and protection against rainbow attacks. You don’t need to login with a wallet. You can have the same security right now.

---

<div class="post-metadata">

**Author:** ![anon27637763](https://storj.bcdn.literatehosting.com/letter_avatar/anon27637763/32/6_449c533f586939b6e5f246632a46421f.png) [@anon27637763](https://forum.storj.io/u/anon27637763)\
**Post date:** [September 29, 2020, 8:49pm UTC](https://forum.storj.io/t/log-in-tardigrade-with-wallet-address/9416/10 "2020-09-29T20:49:48Z")

</div>

> [@littleskunk](#):
>
> You don’t need to login with a wallet. You can have the same security right now.

No.

The authentication mechanism requires a new nonce and new signature with each login. The only individual who can create the signature is the wallet user. If the web site DB is popped, the attacker only get wallet addresses or hashed of wallet addresses… which are useless without the private keys… which never leave the authenticated user’s wallet.

This process is similar to ssh public key auth.

Here’s a decent randomly found write up:

[https://www.spiderposts.com/2019/09/10/one-click-login-with-blockchain-a-metamask-tutorial/](https://www.spiderposts.com/2019/09/10/one-click-login-with-blockchain-a-metamask-tutorial/)

It’s very different than using a username/password database for authentication. The server doesn’t store anything that’s useful to an attacker. However, if a user loses their wallet somehow, the website has no method to retrieve the account. So, some websites offer both methods of authentication.

---

<div class="post-metadata">

**Author:** ![littleskunk](https://storj.bcdn.literatehosting.com/user_avatar/forum.storj.io/littleskunk/32/63_2.png) [@littleskunk](https://forum.storj.io/u/littleskunk)\
**Post date:** [September 29, 2020, 8:51pm UTC](https://forum.storj.io/t/log-in-tardigrade-with-wallet-address/9416/11 "2020-09-29T20:51:51Z")

</div>

The satellite doesn’t store your password. It only stores the hash of it. Just use a random 24 word seed and the attacker will be unable to find it even if you reveal the hash of it.

The hashes are salted. An attacker would not be able to even tell if you are using the same password for several other sites.

---

<div class="post-metadata">

**Author:** ![jeremyfritzen](https://storj.bcdn.literatehosting.com/user_avatar/forum.storj.io/jeremyfritzen/32/62_2.png) [@jeremyfritzen](https://forum.storj.io/u/jeremyfritzen)\
**Post date:** [September 29, 2020, 8:52pm UTC](https://forum.storj.io/t/log-in-tardigrade-with-wallet-address/9416/12 "2020-09-29T20:52:20Z")

</div>

I would also add that it is a very convenient way to login since you don’t have to register before using it.  
If you have a wallet address, then you are already able to access Tardigrade (and use it if you have enough STORJ).

---

<div class="post-metadata">

**Author:** ![littleskunk](https://storj.bcdn.literatehosting.com/user_avatar/forum.storj.io/littleskunk/32/63_2.png) [@littleskunk](https://forum.storj.io/u/littleskunk)\
**Post date:** [September 29, 2020, 8:53pm UTC](https://forum.storj.io/t/log-in-tardigrade-with-wallet-address/9416/13 "2020-09-29T20:53:48Z")

</div>

You would still have to pay first but further up in this thread you didn’t want to pay the fees for that.

---

<div class="post-metadata">

**Author:** ![anon27637763](https://storj.bcdn.literatehosting.com/letter_avatar/anon27637763/32/6_449c533f586939b6e5f246632a46421f.png) [@anon27637763](https://forum.storj.io/u/anon27637763)\
**Post date:** [September 29, 2020, 8:55pm UTC](https://forum.storj.io/t/log-in-tardigrade-with-wallet-address/9416/14 "2020-09-29T20:55:18Z")

</div>

> [@littleskunk](#):
>
> It only stores the hash of it.

I understand.

However, the hash could have collisions … or be incorrectly salted… or be a hash found in a rainbow table.

Login with Metamask prevents all of those possibilities. There is no method to authentication without control over the wallet’s private keys… which are kept in the user’s wallet and secured locally encrypted with the wallet’s local password.

---

<div class="post-metadata">

**Author:** ![jeremyfritzen](https://storj.bcdn.literatehosting.com/user_avatar/forum.storj.io/jeremyfritzen/32/62_2.png) [@jeremyfritzen](https://forum.storj.io/u/jeremyfritzen)\
**Post date:** [September 29, 2020, 8:59pm UTC](https://forum.storj.io/t/log-in-tardigrade-with-wallet-address/9416/15 "2020-09-29T20:59:51Z")

</div>

> [@littleskunk](#):
>
> You would still have to pay first but further up in this thread you didn’t want to pay the fees for that.

Yes, you were right about the fees. But I keep thinking it is a nice way to login and it avoids registration process. Even if registration process is easy and quick, it can be a barrier. All Ethereum wallet holders would be able to use Tardigrade, just like that!

I also think this way of login would allow other features such as being able to easily pay in other tokens (even in Ether) by implementing a uniswap feature into Tardigrade. For example, the user pays in Ether and the amount is automatically swapped for STORJ and then sent to Storj Labs. Of course, the fees would be paid by the customer.

---

<div class="post-metadata">

**Author:** ![littleskunk](https://storj.bcdn.literatehosting.com/user_avatar/forum.storj.io/littleskunk/32/63_2.png) [@littleskunk](https://forum.storj.io/u/littleskunk)\
**Post date:** [September 29, 2020, 9:03pm UTC](https://forum.storj.io/t/log-in-tardigrade-with-wallet-address/9416/16 "2020-09-29T21:03:31Z")

</div>

> [@anon27637763](#):
>
> However, the hash could have collisions … or be incorrectly salted… or be a hash found in a rainbow table.

No, No and No. You can verify the hashing method we are using. That is the advantage of open source.

Again you can have the requested level of security right now. You just need to choose a secure password. I have generated myself a 500 char password just to see if there is any restriction. It worked just fine and gives me even a higher security than metamask.

> [@jeremyfritzen](#):
>
> I also think this way of login would allow other features such as being able to easily pay in other tokens (even in Ether) by implementing a uniswap feature into Tardigrade. For example, the user pays in Ether and the amount is automatically swapped for STORJ and then sent to Storj Labs. Of course, the fees would be paid by the customer.

Coinpayment could do that right now. This service comes with additional fees that we would like to avoid.

---

<div class="post-metadata">

**Author:** ![anon27637763](https://storj.bcdn.literatehosting.com/letter_avatar/anon27637763/32/6_449c533f586939b6e5f246632a46421f.png) [@anon27637763](https://forum.storj.io/u/anon27637763)\
**Post date:** [September 29, 2020, 9:04pm UTC](https://forum.storj.io/t/log-in-tardigrade-with-wallet-address/9416/17 "2020-09-29T21:04:28Z")

</div>

> [@jeremyfritzen](#):
>
> For example, the user pays in Ether and the amount is automatically swapped for STORJ and then sent to Storj Labs.

An instant swap function would require significant development and requires integrating with a specific DEX API…

Login with a wallet is something that can be achieved with much less development.

---

<div class="post-metadata">

**Author:** ![jeremyfritzen](https://storj.bcdn.literatehosting.com/user_avatar/forum.storj.io/jeremyfritzen/32/62_2.png) [@jeremyfritzen](https://forum.storj.io/u/jeremyfritzen)\
**Post date:** [September 29, 2020, 9:05pm UTC](https://forum.storj.io/t/log-in-tardigrade-with-wallet-address/9416/18 "2020-09-29T21:05:29Z")

</div>

> [@littleskunk](#):
>
> Coinpayment could do that right now. This service comes with additional fees that we would like to avoid.

Coinpayment requires you to register on this platform, which is another barrier before using the platform…

---

<div class="post-metadata">

**Author:** ![kevink](https://storj.bcdn.literatehosting.com/user_avatar/forum.storj.io/kevink/32/6077_2.png) [@kevink](https://forum.storj.io/u/kevink)\
**Post date:** [September 29, 2020, 9:06pm UTC](https://forum.storj.io/t/log-in-tardigrade-with-wallet-address/9416/19 "2020-09-29T21:06:25Z")

</div>

> [@jeremyfritzen](#):
>
> But I keep thinking it is a nice way to login and it avoids registration process. Even if registration process is easy and quick, it can be a barrier.

How would a user get email notifications without registration?

---

<div class="post-metadata">

**Author:** ![littleskunk](https://storj.bcdn.literatehosting.com/user_avatar/forum.storj.io/littleskunk/32/63_2.png) [@littleskunk](https://forum.storj.io/u/littleskunk)\
**Post date:** [September 29, 2020, 9:07pm UTC](https://forum.storj.io/t/log-in-tardigrade-with-wallet-address/9416/20 "2020-09-29T21:07:04Z")

</div>

> [@jeremyfritzen](#):
>
> Coinpayment requires you to register on this platform, which is another barrier before using the platform…

Nope. We need an account to receive a payment but if we would allow you to pay with ETH you could do that with any wallet. You don’t need a coinpayment account.

Same for STORJ payment ofc except that we wouldn’t need to enable the coinpayment exchange for that.

[Next page](https://forum.storj.io/t/log-in-tardigrade-with-wallet-address/9416.md?page=2)
