Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

digital signature

All,

I need to digitally sign a zip file. I am not sure how to do that. What does the digital signature do for me? And just as importantly, how do i verify the digital signature?

like image 484
reza Avatar asked Nov 30 '25 15:11

reza


2 Answers

You can get a great reading on JAR signing (http://www.cs.princeton.edu/introcs/85application/jar/sign.html) and having in mind that JAR is a ZIP with a MANIFEST, I'd say you go with JAR signing and that's it.

like image 95
Ilya Saunkin Avatar answered Dec 06 '25 14:12

Ilya Saunkin


Recent versions of APPNOTE (this is where PKWare publishes ZIP format specification) describe digital signature of ZIP archives. The problem is that they don't let one implement signing functionality and reserve it for their own use in their SecureZip software. From legal point of view you are allowed only to perform validation of ZIP archive signatures.

Our SecureBlackbox component library includes ZIP processing components, which include, among many other functions, validation of ZIP archive signatures. We attempted to acquire a license from PKWare to perform signing as well, but they didn't even discuss such option internally, so they were not able to give us a definite answer.

like image 28
Eugene Mayevski 'Callback Avatar answered Dec 06 '25 15:12

Eugene Mayevski 'Callback