hegocre / NextcloudPasswords

Secure app for viewing passwords for the Nextcloud Passwords app. Supports end-to-end encryption.
GNU General Public License v3.0
55 stars 0 forks source link

Share passwords #3

Open lbdroid opened 2 years ago

lbdroid commented 2 years ago

Something I've noticed missing from other nextcloud password manager mobile applications is the ability to share passwords with other nextcloud users. This is something that can be easily done through the web interface. So at the moment, if I need someone who uses only/mainly mobile to share a password with me, they end up having to screenshot the password and use Talk to send it. This is obviously not properly secure, since the screenshot is saved to the device. For devices with google services installed, it ends up meaning that the password is actually shared with google, which is really unacceptable.

hegocre commented 2 years ago

Hi @lbdroid , thank you for you suggestion.

I'll keep it in mind when I implement the password editing functionality (as of now, the app is more like a password viewer).

TtuxX commented 10 months ago

Hi there @hegocre :) Sorry to bump this thread but do you think this could possibly be implemented ? It would be awesome ! Ideally, the share option would either (i) share to a user on the same instance, or (ii) in plaintext to another app in order to send it to a friend. Unfortunately, sharing a password via an e-mail that would get clicked to reveal the password on the Nextcloud instance is not implemented in the Passwords app, and sadly it does not seems it will anytime soon (https://github.com/marius-wieschollek/passwords/issues/27). Many thanks in advance

hegocre commented 10 months ago

Hello @TtuxX

I researched this before publishing the app, and found the Sharing APIs to be a little confusing. I have this issue in mind, since I find the feature would be really useful, but these days I'm quite busy, so I can't focus on new or "big" developments, but rather on bug fixes and little enhancements. As soon as I have more time, I'll look into this again and see what I can do.

Cheers!

jhaan1979 commented 2 months ago

The bare minimum seems to be fairly straight-forward:

` POST:/index.php/apps/passwords/api/1.0/settings/get', json=['server.sharing.enabled'] => {'server.sharing.enabled': True}

I've never used Kotlin and am not really versed in mobile app development, but if anyone is up for the task...

This is by far the best client for Nextcloud passwords, and I've been researching free and opensource self-hosted password managers on the market, but a lot of them are lacking proper apps and the one that has it all leaves me with a sour taste (stuff like phone-home, and paid plans).

So even having basic password sharing on the app-side would be very nice.