This is a read-only snapshot of the ComputerCraft forums, taken in April 2020.
jaredallard's profile picture

DSALua - DSA Implementation for CC.

Started by jaredallard, 18 May 2015 - 03:54 PM
jaredallard #1
Posted 18 May 2015 - 05:54 PM
DSALua


A DSA implementation for CC and OpenComputers.



Zomg what's DSA and why do I need it.

Simple, it's the Digitial Signature Algorithm, it allows you to sign and verify files.


What does signing and verification mean?

Well, I'd write up about it but I have only 3 minutes to write this post so read! http://en.wikipedia.org/wiki/Digital_Signature_Algorithm


How does one use this API?

Well, this is the hard part. Essentially you have to gen a key and then strip it using a ASN.1 decoder. HOWEVER, a tutorial will be published as soon as possible.


Source: https://github.com/RainbowDashDC/DSALua
Creator #2
Posted 18 May 2015 - 06:02 PM
Sound interesting, but it this much security really needed?

//offtopic: we've been missing you, if you know what I mean. Come back soon.
jaredallard #3
Posted 18 May 2015 - 06:19 PM
Sound interesting, but it this much security really needed?

//offtopic: we've been missing you, if you know what I mean. Come back soon.

It's not *needed* but it's good for verification purposes.
Xerxes #4
Posted 19 May 2015 - 08:02 AM
Wow this is actually quite amazing.

Do you think you could make an ECDSA implementation as well?
jaredallard #5
Posted 26 May 2015 - 07:02 AM
Wow this is actually quite amazing.

Do you think you could make an ECDSA implementation as well?

Couldn't login when I tried to respond so I guess I forgot to respond, apologies.

Anyways, I could, but the math is a bit more different. I'll play around and see what I can do.
クデル #6
Posted 15 June 2015 - 11:41 AM
This is neat, but I'm a bit confused how you would prove the authenticity of a digital signature?
jaredallard #7
Posted 30 June 2015 - 06:40 AM
This is neat, but I'm a bit confused how you would prove the authenticity of a digital signature?

Sorry for the late response, however this is not really a problem. By design you can never truly prove the authenticity unless in person. This is what is known as the "Web of Trust". I'd recommend reading about how PGP works, and what the WoT is.
クデル #8
Posted 30 June 2015 - 02:07 PM
I see, thanks for the reply.
Anavrins #9
Posted 17 March 2016 - 03:02 AM
Howdy, sorry for gravedigging, does somebody still have the code of this?
The link in OP seems to be broken :(/>
Edit: Nevermind, found it at https://gist.github.com/jaredallard/427d3399a6061bce5035
Edited on 17 March 2016 - 05:12 AM