Keepass2android: Add support for Mega

Created on 7 Nov 2017  路  16Comments  路  Source: PhilippC/keepass2android

Hi,
Great work on the app so far 馃憤

Will it be possible to add support for Mega ? I have to download back the .kdbx file everytime I want to get the latest additions I made on PC.

Most helpful comment

MEGA support would be very mega great! VOTE!

All 16 comments

They do provide a SDK written in C++. I don't have any experiences in Android development, but I guess NDK can be used here?

Would also love Mega support :)

How about this package as a start?

https://www.nuget.org/packages/MegaApiClient/

EDIT: nvm this looks even better https://github.com/meganz/sdk

I currently use Keepass v2.x on Linux and Keepass2Android, using Dropbox to sync between the two. With DropBox becoming more Linux unfriendly I would love to be able to sync via Mega instead.
Thanks for the App, it very useful and work

I would love to see a MEGA implementation too, Dropbox has become unusable on Linux and MEGA got an awesome support.

@PRoots @ZigZaggh and other people concerned by Dropbox recent decision of dropping proper Linux support, be aware that PCloud integration has been merged in #523 and should land soon in an upcoming KP2A release. I implemented it because of Dropbox' announcement and because their desktop client supports Linux (as far as I can tell).

Before choosing to implement PCloud, I had a quick look into the alternatives, and I chose not to implement MEGA because it seemed to be a way harder task. A C++ SDK means you need some bindings and use the NDK. Definitely not impossible, but not worth the effort as far as I am / I was concerned. I already had to workaround building a Xamarin.Android app with Java dependencies on my Linux machine and it was all I could take.

That being said, MEGA support would indeed be interesting to see IMO.

MEGA seems to be superior to Dropbox in many aspects, and I suppose that many people, like myself, are starting to discover them because of the recent problems with Dropbox (claiming to stop syncing from Novembre 2018)
I don't know if this conditions make your effort more worthy, but the scenario is going to change from this moment on.

Definitely would love to see support for MEGA. For me, this is pretty much the only obstacle for using it!

Does NOT really help cuz I can sync with a folder - defined in Mega. From there the file is taken (via Android AppBrowser) and copied into keepass2android. But an update of the same file in not detected from keepass2android :-/

I believe MEGA is end to end encrypted, which is a significant advantage over some other cloud storage providers. An option for those who specifically would prefer such a provider for cloud storage of their keyfile would be nice :)

Are there any plans to add a MEGA cloud?

willing to work on it if someone would mentor me

@refex I don't think I can really mentor you on this since I'm not a Xamarin expert, but you can see how I implemented PCloud support here: https://github.com/PhilippC/keepass2android/pull/523

However, I think that making MEGA work would be way harder since you'd need to use the NDK to make use of the MEGA API (they don't have a plain Java API like PCloud AFAICT). I could probably dig a bit more, but developing a Xamarin app under Linux is still a huge pain. I don't think I want to face this again.

Still, if you have very specific question, do not hesitate to ask. I can try to help.

Much needed feature, the only reason I have Dropbox is because of KeePass2Android, MEGA is much better on Linux and have much more free space.

MEGA support would be very mega great! VOTE!

Up please

Was this page helpful?
0 / 5 - 0 ratings

Related issues

ghost picture ghost  路  3Comments

4-FLOSS-Free-Libre-Open-Source-Software picture 4-FLOSS-Free-Libre-Open-Source-Software  路  5Comments

bbbco picture bbbco  路  4Comments

GuillaumeCz picture GuillaumeCz  路  5Comments

madjo80 picture madjo80  路  5Comments