1576
33
1577
24

Hi, !programming@programming.dev. I'm curious about zero-knowledge encryption, and I would like to use it in my CS50x final project. My goal is to authenticate users and store their encrypted data on the server so that only the users can decrypt it.

I understand the general concepts of public and private keys, as well as symmetric keys, and how to use them to protect data. However, I don't understand how to authenticate users. I have searched online for information on implementing the zero proof knowledge authentication flow, but I found either vague high-level descriptions or research papers that require a strong background in mathematics and cryptography to understand and implement.

Could you maybe suggest some resources on this topic? When your search for "how to implement jwt authentication", you can find many articles that describe the flow with code examples. I'm looking for something similar.

Or should I choose a simpler project?

1578
68
1579
26
1580
19

A person, on the Gnome Issue, suggested that terminals inhibit sleep when there is stuff running in them.

Continuing from that discussion, I am trying to understand, at which point it would be desirable to implement said inhibition - terminal emulator, the shell or the program itself

Additionally:

  • We want to inhibit when running stuff like pacman, wget, cp or mv
  • We don't want to inhibit when running stuff like htop, less, watch
1581
48
1582
30
1583
27
1584
45
1585
82

Plebbit is pure peer-to-peer social media protocol, it has no central servers, no global admins, and no way shut down communities-meaning true censorship resistance.

Unlike federated platforms, like lemmy and Mastedon, there are no instances or servers to rely on

this project was created due to wanting to give control of communication and data back to the people.

Plebbit only hosts text. Images from google and other sites can be linked/embedded in posts. This fixes the issue of hosting any nefarious content.

ENS domain are used to name communities.

Plebbit currently offers different UIs. Old reddit UI and new reddit, 4chan, and have a Blog. Plebbit intend to have an app, internet archive, wiki and twitter and Lemmy UI . Choice is important. The backend/communities are shared across clients.

anyone can contribute, build their own client, and shape the ecosystem

Important Links :

Home

https://plebbit.com/home

App

https://plebbit.com/home#cb2a9c90-6f09-44b2-be03-75f543f9f5aa

FAQ

https://github.com/plebbit/whitepaper/blob/master/FAQ.md

Whitepapers

https://github.com/plebbit/whitepaper

https://github.com/plebbit/whitepaper/discussions/2

Github

https://github.com/plebbit

https://github.com/plebbit/plebbit-react

https://github.com/plebbit/plebbit-react/releases

https://github.com/plebbit/seedit

https://github.com/plebbit/seedit/releases

1586
56
1587
48
1588
-20
unofficial chatgpt? (thelemmy.club)
submitted 1 year ago* (last edited 1 year ago) by sommerset@thelemmy.club to c/programming@programming.dev

is there a vscode extension that can hook into unofficial chatgpt plus api?

bullshit. can wait for strix halo to be available so I don't have to use these fucking apis.
https://www.notebookcheck.net/AMD-Ryzen-AI-Max-395-Analysis-Strix-Halo-to-rival-Apple-M4-Pro-Max-with-16-Zen-5-cores-and-iGPU-on-par-with-RTX-4070-Laptop.963274.0.html

1589
14

I wrote up some reflections I've had recently on when I ideally want to discover bugs

1590
48
1591
47
submitted 1 year ago* (last edited 1 year ago) by tonytins@pawb.social to c/programming@programming.dev

Funny story, friend and I were just talking last night about how Java 8 is still used everywhere.

1592
7
1593
21
1594
9
1595
9
1596
24
How to write a quine (czterycztery.pl)
1597
19
Memory Corruption in Delphi (blog.includesecurity.com)
1598
38
submitted 1 year ago* (last edited 1 year ago) by BrikoX@lemmy.zip to c/programming@programming.dev

Bigger TypeScript projects should now become much more manageable in all code editors

1599
6
1600
7

I just wanted to ask whether anyone has any experience with liners or formatters for Groovy and could recommend any solution for that.

view more: ‹ prev next ›

Programming

28322 readers
589 users here now

Welcome to the main community in programming.dev! Feel free to post anything relating to programming here!

Cross posting is strongly encouraged in the instance. If you feel your post or another person's post makes sense in another community cross post into it.

Hope you enjoy the instance!

Rules

Rules

  • Follow the programming.dev instance rules
  • Keep content related to programming in some way
  • If you're posting long videos try to add in some form of tldr for those who don't want to watch videos

Wormhole

Follow the wormhole through a path of communities !webdev@programming.dev



founded 3 years ago
MODERATORS