Skip to content

Comment on What Feature Should The Fediverse Have Or Do Better??

You are viewing one comment and its replies. View all comments · View the comment above

Comments

  • Yes, that’s a decent option. Browsers offer pretty good keystores these days, and you could keep an encrypted copy on your instance (or use BIP39 seed phrases or whatever!)

    3
    • If the browser is running js from the server to maintain and use the keystore, then it’s at risk from malicious admins. They can inject js to reveal the keys.

      Keeping keys on the instance means the instance eventually decrypts them, which puts the user at risk of malicious admins.

      It feels like the only way to make it work is with trusted apps that are independent of the instance admins.

      4
      • That’s, surprisingly, not the case at all! You can make non-exportable keys. The instance owner could, theoretically, change the published key for an account, but that would be visible.

        4
        • What prevents the malicious admin from telling the browser to sign arbitrary messages without exporting the keys?

          0
          • They can, for sure. You need a few more bits to make it reasonably secure.

            For this particular problem, a revocation key that isn’t accessible to the instance might be sufficient? That adds complexity and something else the user has to remember…

            0
            • How would you make it secure? It seems like the home instance admin would be able to sign arbitrary messages whenever the user connects with a browser.

              0
              Continue this thread 3 more replies

Sign in to comment. Sign in