this post was submitted on 21 Aug 2023
83 points (98.8% liked)

Unixporn

15364 readers
37 users here now

Unixporn

Submit screenshots of all your *NIX desktops, themes, and nifty configurations, or submit anything else that will make themers happy. Maybe a server running on an Amiga, or a Thinkpad signed by Bjarne Stroustrup? Show the world how pretty your computer can be!

Rules

  1. Post On-Topic
  2. No Defaults
  3. Busy Screenshots
  4. Use High-Quality Images
  5. Include a Details Comment
  6. No NSFW
  7. No Racism or use of racist terms

founded 5 years ago
MODERATORS
 

After discovering Tomb, and a few personal issues with it, I decided to write a very similar program that doesn't require root access and compiles to a single binary: Graveyard.

Additional information and source code: GitHub.

Also, sorry about the ugly terminal colors, I recently just switched to Artix and haven't gotten around to making everything look amazing.

Edit: Cleaned up some stuff

top 7 comments
sorted by: hot top controversial new old
[–] cbarrick@lemmy.world 17 points 1 year ago (1 children)

It looks like the key-derivation function used here is just a single iteration of sha256 followed by truncating.

I'm not a security expert, but I'm pretty sure that's insecure.

Consider using PBKDF2 or Argon2.

[–] hai@lemmy.ml 11 points 1 year ago (1 children)

Gosh, I've really messed up. Fixing immediately, thank you for bring this to my attention -- and I apologize to all y'all.

[–] cbarrick@lemmy.world 1 points 1 year ago

Again, I'm not a security expert, so maybe your original version was fine for this use case.

But since dedicated password-based key derivation functions exist, you should probably stick to one of those instead of rolling your own.

Thanks for fixing this quickly!

I haven't used tomb and I don't think I really have a usecase for this, but I respect the on-brand command aliases.

[–] wesker@lemmy.sdf.org 3 points 1 year ago

This is very interesting. I've bookmarked it, to play around with it later. Thanks!

[–] Cris_Color@lemmy.world 2 points 1 year ago

Love the colors. The yellow and pink are gorgeous

[–] filister@lemmy.world 1 points 1 year ago

What DE are you using? As very little provide vertical bars and for my UWQHD that would be good.