xonotic/d0_blind_id.git
8 years agodue to the interface change recently, bump version to 0.2
Rudolf Polzer [Fri, 26 Nov 2010 21:19:04 +0000 (22:19 +0100)]
due to the interface change recently, bump version to 0.2

8 years agobump versioninfo
Rudolf Polzer [Thu, 25 Nov 2010 15:09:12 +0000 (16:09 +0100)]
bump versioninfo

8 years agonow: "detached" signatures (not including the plaintext)
Rudolf Polzer [Thu, 25 Nov 2010 15:05:06 +0000 (16:05 +0100)]
now: "detached" signatures (not including the plaintext)

8 years agoadd a funny #ifdef RNG_XKCD that grounds the RNG
Rudolf Polzer [Fri, 29 Oct 2010 20:52:07 +0000 (22:52 +0200)]
add a funny #ifdef RNG_XKCD that grounds the RNG

8 years agofix a typo in the license notice variable name
Rudolf Polzer [Sat, 16 Oct 2010 08:44:10 +0000 (10:44 +0200)]
fix a typo in the license notice variable name

8 years agowe're incompatible anyway to the last xonotic released libs (why?)... so we also...
Rudolf Polzer [Fri, 17 Sep 2010 07:07:04 +0000 (09:07 +0200)]
we're incompatible anyway to the last xonotic released libs (why?)... so we also can bump this

8 years agoalso describe the signature protocol
Rudolf Polzer [Fri, 17 Sep 2010 06:45:04 +0000 (08:45 +0200)]
also describe the signature protocol

8 years agoalso add the Schnorr signature scheme (NOTE: this is still covered by Schnorr's paten...
Rudolf Polzer [Fri, 17 Sep 2010 06:40:35 +0000 (08:40 +0200)]
also add the Schnorr signature scheme (NOTE: this is still covered by Schnorr's patent if run on chip cards, any other use is fine according to the patent wording)

8 years agoalso support signing
Rudolf Polzer [Fri, 17 Sep 2010 06:33:14 +0000 (08:33 +0200)]
also support signing

8 years agoget rid of -lssl dependency in OpenSSL case (only need -lcrypto)
Rudolf Polzer [Fri, 10 Sep 2010 11:12:59 +0000 (13:12 +0200)]
get rid of -lssl dependency in OpenSSL case (only need -lcrypto)

8 years agocannot check for BN_set_negative, so let's just #define it whenever BN_is_negative...
Rudolf Polzer [Tue, 7 Sep 2010 17:52:24 +0000 (19:52 +0200)]
cannot check for BN_set_negative, so let's just #define it whenever BN_is_negative was missing

8 years agofix typo
Rudolf Polzer [Tue, 7 Sep 2010 17:48:32 +0000 (19:48 +0200)]
fix typo

8 years agowork around missing BN_*_negative on Crap OS X
Rudolf Polzer [Tue, 7 Sep 2010 17:47:41 +0000 (19:47 +0200)]
work around missing BN_*_negative on Crap OS X

8 years agotag the macro identifiers (like BOOL, EXPORT) with a prefix D0_ to not clash with...
Rudolf Polzer [Mon, 6 Sep 2010 13:56:49 +0000 (15:56 +0200)]
tag the macro identifiers (like BOOL, EXPORT) with a prefix D0_ to not clash with <windows.h>

8 years agouse is_prime_fasttest for the quick primality test
Rudolf Polzer [Thu, 2 Sep 2010 07:57:55 +0000 (09:57 +0200)]
use is_prime_fasttest for the quick primality test

8 years agofix another typo
Rudolf Polzer [Thu, 2 Sep 2010 07:48:59 +0000 (09:48 +0200)]
fix another typo

8 years agotypo
Rudolf Polzer [Thu, 2 Sep 2010 07:45:51 +0000 (09:45 +0200)]
typo

8 years agoalso try with -lcrypto if regular -lssl fails
Rudolf Polzer [Thu, 2 Sep 2010 07:19:31 +0000 (09:19 +0200)]
also try with -lcrypto if regular -lssl fails

8 years agofix some autostuff
Rudolf Polzer [Thu, 2 Sep 2010 06:56:30 +0000 (08:56 +0200)]
fix some autostuff

8 years agobetter Id formatting
Rudolf Polzer [Thu, 2 Sep 2010 06:42:49 +0000 (08:42 +0200)]
better Id formatting

8 years agoalso use $Id$
Rudolf Polzer [Thu, 2 Sep 2010 06:40:44 +0000 (08:40 +0200)]
also use $Id$

8 years agoalso do this for COPYING
Rudolf Polzer [Thu, 2 Sep 2010 06:39:32 +0000 (08:39 +0200)]
also do this for COPYING

8 years agocommit hash into file
Rudolf Polzer [Thu, 2 Sep 2010 06:39:05 +0000 (08:39 +0200)]
commit hash into file

8 years agoexport-subst
Rudolf Polzer [Thu, 2 Sep 2010 06:37:57 +0000 (08:37 +0200)]
export-subst

8 years agoautomatically include the license notice into .so or .a files
Rudolf Polzer [Thu, 2 Sep 2010 06:33:47 +0000 (08:33 +0200)]
automatically include the license notice into .so or .a files

8 years agoLicense: now entirely licensed under the 3-clause BSD license (as sha2.c already...
Rudolf Polzer [Thu, 2 Sep 2010 06:27:34 +0000 (08:27 +0200)]
License: now entirely licensed under the 3-clause BSD license (as sha2.c already was).

8 years agoback to 1024 bits
Rudolf Polzer [Thu, 2 Sep 2010 06:09:28 +0000 (08:09 +0200)]
back to 1024 bits

8 years agomore bugfixes, SSL variant works now
Rudolf Polzer [Thu, 2 Sep 2010 06:09:10 +0000 (08:09 +0200)]
more bugfixes, SSL variant works now

8 years agomore fixes :P
Rudolf Polzer [Thu, 2 Sep 2010 05:46:36 +0000 (07:46 +0200)]
more fixes :P

8 years agomake auto* hackery work, fix errors
Rudolf Polzer [Thu, 2 Sep 2010 05:45:51 +0000 (07:45 +0200)]
make auto* hackery work, fix errors

8 years agoadd libssl stuff to autotools stuff
Rudolf Polzer [Thu, 2 Sep 2010 05:31:54 +0000 (07:31 +0200)]
add libssl stuff to autotools stuff

8 years agoimplement OpenSSL variant
Rudolf Polzer [Thu, 2 Sep 2010 05:25:16 +0000 (07:25 +0200)]
implement OpenSSL variant

8 years agostart of openssl interface: copy gmp interface to openssl interface
Rudolf Polzer [Thu, 2 Sep 2010 04:49:55 +0000 (06:49 +0200)]
start of openssl interface: copy gmp interface to openssl interface

8 years agofp64 of public ID: include the public key in it!
Rudolf Polzer [Sat, 28 Aug 2010 14:26:24 +0000 (16:26 +0200)]
fp64 of public ID: include the public key in it!

8 years agoadd the non-blind ID protocol to the txt file for reference
Rudolf Polzer [Fri, 27 Aug 2010 17:27:02 +0000 (19:27 +0200)]
add the non-blind ID protocol to the txt file for reference

8 years agodetect failed RNG initialization
Rudolf Polzer [Fri, 27 Aug 2010 08:33:41 +0000 (10:33 +0200)]
detect failed RNG initialization

8 years agoadd a helper function
Rudolf Polzer [Wed, 25 Aug 2010 15:17:34 +0000 (17:17 +0200)]
add a helper function
d0_blind_id_authenticate_with_private_id_generate_missing_signature to generate
NON-blind signatures:

Server shall:
- load private key

Both shall:
- perform authentication as usual

Server shall:
- notice that the status is false
- call d0_blind_id_authenticate_with_private_id_generate_missing_signature
- write public ID
- send that data to client

Client shall:
- read own private ID
- get fingerprint
- read received public ID (leaves the private part alone)
- verify fingerprint
- possibly verify ID
- write own private ID again

9 years agoMerge branch 'master' of github.com:divVerent/d0_blind_id
Rudolf Polzer [Wed, 11 Aug 2010 11:51:49 +0000 (13:51 +0200)]
Merge branch 'master' of github.com:divVerent/d0_blind_id

Conflicts:
Makefile.am

9 years agohandle an error case
Rudolf Polzer [Thu, 5 Aug 2010 07:51:07 +0000 (09:51 +0200)]
handle an error case

9 years agoun-debianize libd0_blind_id's RNG on Win32
Rudolf Polzer [Thu, 5 Aug 2010 07:43:23 +0000 (09:43 +0200)]
un-debianize libd0_blind_id's RNG on Win32

9 years agoadd d0_rijndael.pc
Rudolf Polzer [Thu, 5 Aug 2010 03:47:18 +0000 (05:47 +0200)]
add d0_rijndael.pc

9 years agofix an undefined use of gmp functions
Rudolf Polzer [Tue, 3 Aug 2010 06:46:26 +0000 (08:46 +0200)]
fix an undefined use of gmp functions

9 years agofix another MitM attack. Now the DH key exchange REALLY depends on the authentication.
Rudolf Polzer [Tue, 3 Aug 2010 06:15:04 +0000 (08:15 +0200)]
fix another MitM attack. Now the DH key exchange REALLY depends on the authentication.

9 years agofix a MITM attack in the protocol
Rudolf Polzer [Mon, 2 Aug 2010 06:20:16 +0000 (08:20 +0200)]
fix a MITM attack in the protocol

9 years agoadd missing EXPORT flags
Rudolf Polzer [Mon, 26 Jul 2010 13:45:27 +0000 (15:45 +0200)]
add missing EXPORT flags

9 years agofix build of rijndael lib
Rudolf Polzer [Mon, 26 Jul 2010 13:32:52 +0000 (15:32 +0200)]
fix build of rijndael lib

9 years agomore rijndael support stuff
Rudolf Polzer [Mon, 26 Jul 2010 13:29:00 +0000 (15:29 +0200)]
more rijndael support stuff

9 years agoalso add a rijndael implementation, as a separately built library (so export restrict...
Rudolf Polzer [Mon, 26 Jul 2010 13:11:53 +0000 (15:11 +0200)]
also add a rijndael implementation, as a separately built library (so export restrictions can be fulfilled by only distributing one of the libraries)

9 years agoprovide SHA256 as util function to outside code
Rudolf Polzer [Mon, 26 Jul 2010 13:01:04 +0000 (15:01 +0200)]
provide SHA256 as util function to outside code

9 years agowin32 build fixes
Rudolf Polzer [Mon, 26 Jul 2010 12:24:53 +0000 (14:24 +0200)]
win32 build fixes

9 years agoalso use SHA-256 here. Incompatible change.
Rudolf Polzer [Sat, 17 Jul 2010 15:35:27 +0000 (17:35 +0200)]
also use SHA-256 here. Incompatible change.

9 years agodocument the ID protocol; fix a iobuf bug that unfortunately causes a new incompatibi...
Rudolf Polzer [Wed, 14 Jul 2010 08:11:02 +0000 (10:11 +0200)]
document the ID protocol; fix a iobuf bug that unfortunately causes a new incompatibility; all keys need to be regenerated :(

9 years agoINCOMPATIBLE PROTOCOL CHANGE, REGENERATE ALL IDENTITY KEYS: use a longer hash for...
Rudolf Polzer [Wed, 14 Jul 2010 06:48:43 +0000 (08:48 +0200)]
INCOMPATIBLE PROTOCOL CHANGE, REGENERATE ALL IDENTITY KEYS: use a longer hash for signing the IDs

9 years agoMerge branch 'master' of github.com:divVerent/d0_blind_id
Rudolf Polzer [Wed, 14 Jul 2010 06:06:52 +0000 (08:06 +0200)]
Merge branch 'master' of github.com:divVerent/d0_blind_id

Conflicts:
d0_blind_id.c

9 years agoadd a longer hash function (no protocol change, but now longer session keys can be...
Rudolf Polzer [Wed, 14 Jul 2010 06:05:51 +0000 (08:05 +0200)]
add a longer hash function (no protocol change, but now longer session keys can be generated)

9 years agoprevent a malleability attack; this BREAKS THE PROTOCOL. Also change the library...
Rudolf Polzer [Sat, 10 Jul 2010 06:11:36 +0000 (08:11 +0200)]
prevent a malleability attack; this BREAKS THE PROTOCOL. Also change the library name to be more consistent with other naming.

9 years agoanother bugfix
Rudolf Polzer [Fri, 9 Jul 2010 18:16:20 +0000 (20:16 +0200)]
another bugfix

9 years agofix wrong retval use
Rudolf Polzer [Fri, 9 Jul 2010 17:50:49 +0000 (19:50 +0200)]
fix wrong retval use

9 years agomake "copy" return a value
Rudolf Polzer [Fri, 9 Jul 2010 17:50:16 +0000 (19:50 +0200)]
make "copy" return a value

9 years agomore const
Rudolf Polzer [Thu, 8 Jul 2010 19:39:14 +0000 (21:39 +0200)]
more const

9 years agoconst-ify some declarations
Rudolf Polzer [Thu, 8 Jul 2010 19:37:46 +0000 (21:37 +0200)]
const-ify some declarations

9 years agoa "fastreject" facility helpful to generate keys with a specific facility (only makes...
Rudolf Polzer [Thu, 8 Jul 2010 18:07:32 +0000 (20:07 +0200)]
a "fastreject" facility helpful to generate keys with a specific facility (only makes sense for the RSA part)

9 years agoallow reading/writing the camouflage
Rudolf Polzer [Mon, 5 Jul 2010 13:49:36 +0000 (15:49 +0200)]
allow reading/writing the camouflage

9 years agoadd a function to get a fingerprint of the public key (not id)
Rudolf Polzer [Mon, 5 Jul 2010 09:30:17 +0000 (11:30 +0200)]
add a function to get a fingerprint of the public key (not id)

9 years agoadd d0_blind_id_fingerprint64_public_key
Rudolf Polzer [Mon, 5 Jul 2010 09:25:58 +0000 (11:25 +0200)]
add d0_blind_id_fingerprint64_public_key

9 years agohopefulyl fix make dist
Rudolf Polzer [Sun, 25 Apr 2010 17:02:17 +0000 (19:02 +0200)]
hopefulyl fix make dist

9 years agodecl fixes
Rudolf Polzer [Sun, 25 Apr 2010 16:47:49 +0000 (18:47 +0200)]
decl fixes

9 years agodon't use clock_gettime, OS X sucks
Rudolf Polzer [Sun, 25 Apr 2010 16:09:47 +0000 (18:09 +0200)]
don't use clock_gettime, OS X sucks

9 years agoimprove variable naming in the context struct
Rudolf Polzer [Sun, 25 Apr 2010 15:05:20 +0000 (17:05 +0200)]
improve variable naming in the context struct

9 years agouse /dev/urandom
Rudolf Polzer [Sun, 25 Apr 2010 14:26:10 +0000 (16:26 +0200)]
use /dev/urandom

9 years agomore fixes; always perform DH, perform DH rekeying on a later run
Rudolf Polzer [Sun, 25 Apr 2010 14:24:55 +0000 (16:24 +0200)]
more fixes; always perform DH, perform DH rekeying on a later run

9 years agoautoconf/automake fixes
Rudolf Polzer [Sun, 25 Apr 2010 14:02:50 +0000 (16:02 +0200)]
autoconf/automake fixes

9 years agoembed a diffie hellmann key exchange
Rudolf Polzer [Sun, 25 Apr 2010 13:52:09 +0000 (15:52 +0200)]
embed a diffie hellmann key exchange

9 years agoseparate RSA modulus from DL modulus; we still need the RSA modulus to generate the...
Rudolf Polzer [Sun, 25 Apr 2010 10:33:02 +0000 (12:33 +0200)]
separate RSA modulus from DL modulus; we still need the RSA modulus to generate the DL modulus, but the user now can decide to generate his own prime

9 years agomake the signature on the private ID optional
Rudolf Polzer [Sun, 25 Apr 2010 10:15:12 +0000 (12:15 +0200)]
make the signature on the private ID optional

9 years agolet's use more strict warnings, and help Visual Studio
Rudolf Polzer [Sat, 24 Apr 2010 20:08:23 +0000 (22:08 +0200)]
let's use more strict warnings, and help Visual Studio

9 years agodon't read so much from /dev/random as it's slow
Rudolf Polzer [Sat, 24 Apr 2010 19:58:11 +0000 (21:58 +0200)]
don't read so much from /dev/random as it's slow

9 years agovisibility;
Rudolf Polzer [Sat, 24 Apr 2010 19:54:31 +0000 (21:54 +0200)]
visibility;
proper random seed

9 years agopkgconfig support
Rudolf Polzer [Sat, 24 Apr 2010 19:23:23 +0000 (21:23 +0200)]
pkgconfig support

9 years agoput d0.h to the header file
Rudolf Polzer [Sat, 24 Apr 2010 19:15:06 +0000 (21:15 +0200)]
put d0.h to the header file

9 years agoinclude guards
Rudolf Polzer [Sat, 24 Apr 2010 19:13:16 +0000 (21:13 +0200)]
include guards

9 years agofix autogen.sh to actually work
Rudolf Polzer [Sat, 24 Apr 2010 19:09:40 +0000 (21:09 +0200)]
fix autogen.sh to actually work

9 years agoinitial autoconf stuff
Rudolf Polzer [Sat, 24 Apr 2010 18:29:43 +0000 (20:29 +0200)]
initial autoconf stuff

9 years agolicense: LGPL 2.1
Rudolf Polzer [Sat, 24 Apr 2010 18:17:43 +0000 (20:17 +0200)]
license: LGPL 2.1

9 years agoinitial import of blind_id
Rudolf Polzer [Sat, 24 Apr 2010 18:11:20 +0000 (20:11 +0200)]
initial import of blind_id