r/computerscience • u/jeesuscheesus • Aug 15 '25
Discussion Interesting applications of digital signatures?
I think that one of the most interesting things in CS would be the use of public-private key pairs to digitally sign information. Using it, you can essentially take any information and “sign” it and make it virtually impervious to tampering. Once it’s signed, it remains signed forever, even if the private key is lost. While it doesn’t guarantee the data won’t be destroyed, it effectively prevents the modification of information.
As a result, it’s rightfully used in a lot of domains, mainly internet security / x509 certificates. It’s also fundamental for blockchains, and is used in a very interesting way there. Despite these niche subjects, it seems like digital signing can be used for practically anything. For example, important physical documents like diplomas and wills could be digitally signed, and the signatures could be attached to the document via a scannable code. I don’t think it exists though (if it does, please tell me!)
Does anyone in this subreddit know of other interesting uses of digital signatures?
14
u/Unique-Drawer-7845 Aug 15 '25 edited Aug 15 '25
Check out GnuPG (GPG, PGP).
Also, https://en.wikipedia.org/wiki/Trusted_timestamping
As you've noted, basically anything digital can be cryptographically signed. The issue then becomes establishing trust. Keys exchanged in person is the gold standard, but obviously doesn't scale well. So there are a variety of other things that individuals and organizations have come up with that are more or less "good enough" for their intended purposes.
7
u/apnorton Devops Engineer | Post-quantum crypto grad student Aug 15 '25
There's a paper I'm working on reading right now about exactly this, but in the post-quantum context. It has a section that's just an overview of existing "exotic signature" types: https://eprint.iacr.org/2022/1151
Very cool stuff, I agree!
3
u/ablativeyoyo Aug 15 '25
Digital signatures are widely used in software distribution.
Generally a good thing, although sometimes people equate “it’s signed” with “it’s safe” when they may not actually trust the signer.
2
u/dmazzoni Aug 15 '25
I would love it if all photographs taken by a smartphone were optionally signed with metadata that proves they were really taken on a certain date and time and unaltered.
It’d be the best thing to fight back against deep fakes.
1
u/Sharp_Edged Aug 15 '25
How do you intend on signing a physical document without the verification procedure being a massive pain in the ass? Sure, you can attach a QR code containing the signature to the document but to actually verify the signature you need the exact content of what is being signed. That means you either need some perfect form of OCR for textual documents which seems infeasable or something like the QR code somehow storing a digital version of the document which then means you have to manually verify it matches the physical version.
1
u/pareshmukh Jan 23 '26
You’re right. Once you look past TLS and blockchains, digital signatures get really interesting.
A few practical, lesser-talked-about uses I’ve seen or worked with:
The tech already exists; what’s missing is standardization + UX. Most real-world implementations hide the crypto behind e-signature tools or credential systems, but the underlying primitive is exactly what you’re describing.
1
u/Honest_Peanut7755 Apr 09 '26 edited Apr 09 '26
Using digital signature to secure email communication. It solves a big chunk of phishing and impersonation attacks that’s been violating email communication. There are tools that layer this into email (S/MIME/PGP-type approaches, or products like xorkeesign mail) where the recipient can actually see that the sender is verified and the message hasn’t been tampered with.
0
u/[deleted] Aug 15 '25
[deleted] — view deleted comment