exaexa / codecrypt

Post-quantum cryptography tool (THIS REPOSITORY IS ONLY A MIRROR OF THE MAIN ONE, PLEASE DO NOT FILE BUGS HERE)
https://gitea.blesmrt.net/exa/codecrypt
GNU Lesser General Public License v3.0
308 stars 40 forks source link

Packaging help. #1

Closed cicku closed 11 years ago

cicku commented 11 years ago

Hi,

I'm packaging your project for Fedora.

Review request: https://bugzilla.redhat.com/show_bug.cgi?id=966324

Now I want to know something about license, can you tell me if there are some potential legal risks?

And, are there any bundled libraries?

Thanks.

exaexa commented 11 years ago

Hello,

first, please don't package versions lower than 1.2 which was created yesterday (there are binary incompatibilities since it was necessary to add some security margin to symmetric ciphers).

On licencing&legal issues:

There are no other bundled libraries than the sources of hash functions. Note that the software requires libgmp.

Now, is there some "recommended&best" method how I could add the binary redistribution notices so that the autotools' install output is readily binary redistributable? (if there is, preferably send me a git patch :) )

-mk

EDIT: after reading the fedora packaging guidelines about bundled libraries a new question surfaced: Is there some standard library (except for openssl) that would provide ripemd128, tiger192, sha256, sha384 and sha512 hashes?

cicku commented 11 years ago

Um...I've packaged the 1.2 version.

I'm not sure about the alternatives.

Doing a simple search and found something like:

mhash(dead upstream since 2007) libgcrypt(http://www.gnu.org/software/libgcrypt/) beecrypt

exaexa commented 11 years ago

Okay, from studying the "bundled libraries" docs of fedora packages it's pretty sure this is not the case (the project from where the files were taken are not really actively maintained, nor occur in Fedora as libraries, and now I'm maintaining the source included in codecrypt myself).

The BSD/GPL licenses need to be printed out on the output though, I'm gonna make a patch so that binary distribution complies with licence without any further patching.

cicku commented 11 years ago

After finding many files, we've confirmed that this is a bundled library issue.

Please see https://bugzilla.redhat.com/show_bug.cgi?id=966324#c5 for more details.

Thanks.

exaexa commented 11 years ago

ccr is now using libcrypto++ dependency for all hashing, I guess bundled library issues are all solved.