this post was submitted on 13 Oct 2023
148 points (92.0% liked)

Selfhosted

38810 readers
205 users here now

A place to share alternatives to popular online services that can be self-hosted without giving up privacy or locking you into a service you don't control.

Rules:

  1. Be civil: we're here to support and learn from one another. Insults won't be tolerated. Flame wars are frowned upon.

  2. No spam posting.

  3. Posts have to be centered around self-hosting. There are other communities for discussing hardware or home computing. If it's not obvious why your post topic revolves around selfhosting, please include details to make it clear.

  4. Don't duplicate the full text of your blog or github here. Just post the link for folks to click.

  5. Submission headline should match the article title (don’t cherry-pick information from the title to fit your agenda).

  6. No trolling.

Resources:

Any issues on the community? Report it using the report flag.

Questions? DM the mods!

founded 1 year ago
MODERATORS
148
submitted 10 months ago* (last edited 10 months ago) by [email protected] to c/[email protected]
 

I've always hated the idea of using a subscription/cloud hosting for password management. I feel like I should have a LOT more control over that stuff and I don't really want to hand all my keys over to a company.

All my secrets have been going in a highly encrypted archive with a long passphrase, but obviously that isn't convenient on all devices. It's been fine, I can open it on any computer but it's not super quick. It does have the advantage of being able to put in multiple files, notes, private keys but it's not ideal.

Anyway, finally found something that isn't subscription, and has a similar philosophy - a highly encrypted archive file, and it's open source and has heaps of clients including web browser plugins so it's usable anywhere, and you can sync the vault with any file sync you like.

Thought you guys might appreciate the find, password managers have always been a bit of a catch 22 for me.

Note for android i found keepassxc the best app, and i'm using KeePassHelper browser plugin, and the KeePassXc desktop app as well as the free official one. Apps all seem to be cross platform.

you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 12 points 10 months ago (2 children)

I prefer the KeePassXC fork as it's written in C++ and not C# so it has better native integration with OSes like Linux, but yeah these are really good solutions with no subscription requirements or necessity to upload to any cloud service.

[–] [email protected] 1 points 10 months ago (1 children)

it's written in C++ and not C# so it has better native integration with OSes like Linux

Not sure what you mean by this. Any APIs that can be called from C++ can also be called from C#. C# apps run natively on Linux, and they support self-contained deployment and native AOT (ahead of time) compilation meaning they can run on any Linux system even if it doesn't have the .NET Core framework installed.

[–] [email protected] 1 points 10 months ago (1 children)

This thread is about KeePass and my comments relate to that. If you pull KeePass2 from the repos in Debian, for example, it's going to pull the Mono runtime to execute it as well because it's been built, like most C# apps, for JIT compilation. I doubt it's even possible to compile KeePass2 using AOT compilation.

This is what the C# KeePass application looks like using the Mono runtime in Debian:

This is KeePassXC:

You can see which has better native integration into the desktop out of the box.

[–] [email protected] 1 points 10 months ago

s in Debian, for example, it’s going to pull the Mono runtime to execute it as well because it’s been built, like most C# apps, for JIT compilation.

.NET Core handles JIT compilation file. It looks like the KeePass developers have not yet updated it to use .NET Core though, which is why it's pulling Mono in.

KeePassXC definitely looks nicer, but it's definitely possible to do that with C# too. The KeePass developers just haven't kept up with modern .NET.

[–] [email protected] 0 points 10 months ago

written in C++ and not C# so it has better native integration with OSes like Linux

What do you mean exactly?