OpenBSD CVS

CVS log for src/lib/libkeynote/signature.c


[BACK] Up to [local] / src / lib / libkeynote

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.30 / (download) - annotate - [select for diffs], Wed Nov 30 10:40:23 2022 UTC (18 months, 1 week ago) by bluhm
Branch: MAIN
CVS Tags: OPENBSD_7_5_BASE, OPENBSD_7_5, OPENBSD_7_4_BASE, OPENBSD_7_4, OPENBSD_7_3_BASE, OPENBSD_7_3, HEAD
Changes since 1.29: +23 -36 lines
Diff to previous 1.29 (colored)

Passing preallocated keys to d2i_RSAPublicKey() does not work anymore
with LibreSSL.  This caused a crash in isakmpd with libkeynote.
Better pass NULL and let libcrypto do the allocation.
from markus@; OK tb@

Revision 1.29 / (download) - annotate - [select for diffs], Fri Jan 14 09:08:03 2022 UTC (2 years, 4 months ago) by tb
Branch: MAIN
CVS Tags: OPENBSD_7_2_BASE, OPENBSD_7_2, OPENBSD_7_1_BASE, OPENBSD_7_1
Changes since 1.28: +9 -9 lines
Diff to previous 1.28 (colored)

libkeynote: fix build with opaque RSA and DSA

This is a completely mechanical conversion to use accessors instead
of reaching inside the structs by hand.

ok millert

Revision 1.28 / (download) - annotate - [select for diffs], Tue Jan 11 12:14:07 2022 UTC (2 years, 4 months ago) by tb
Branch: MAIN
Changes since 1.27: +1 -2 lines
Diff to previous 1.27 (colored)

Garbage collect historical setting of dsa->write_params = 1.
This is always 1 with modern libs and write_params will soon go away.

Revision 1.27 / (download) - annotate - [select for diffs], Wed Nov 24 04:32:52 2021 UTC (2 years, 6 months ago) by tb
Branch: MAIN
Changes since 1.26: +5 -3 lines
Diff to previous 1.26 (colored)

libkeynote: stop reaching into EVP_PKEY internals.

Use EVP_PKEY_get0_RSA() instead of pPublicKey->pkey.rsa.

Fix a couple of leaks in the vicinity: we need a reference on the RSA,
which is what keynote_free_key() frees, not on the EVP_PKEY. Also, don't
leak the entire certificate on success.

ok beck

Revision 1.26 / (download) - annotate - [select for diffs], Tue May 9 13:52:45 2017 UTC (7 years, 1 month ago) by mestre
Branch: MAIN
CVS Tags: OPENBSD_7_0_BASE, OPENBSD_7_0, OPENBSD_6_9_BASE, OPENBSD_6_9, OPENBSD_6_8_BASE, OPENBSD_6_8, OPENBSD_6_7_BASE, OPENBSD_6_7, OPENBSD_6_6_BASE, OPENBSD_6_6, OPENBSD_6_5_BASE, OPENBSD_6_5, OPENBSD_6_4_BASE, OPENBSD_6_4, OPENBSD_6_3_BASE, OPENBSD_6_3, OPENBSD_6_2_BASE, OPENBSD_6_2
Changes since 1.25: +6 -6 lines
Diff to previous 1.25 (colored)

Prevent memory leak on sbuf by freeing it unconditionally and ensure
finalbuf is also free'd if kn_encode_base64 somehow fails

hint from tb@, OK millert@ and tb@

Revision 1.25 / (download) - annotate - [select for diffs], Wed Dec 23 21:15:58 2015 UTC (8 years, 5 months ago) by mmcc
Branch: MAIN
CVS Tags: OPENBSD_6_1_BASE, OPENBSD_6_1, OPENBSD_6_0_BASE, OPENBSD_6_0, OPENBSD_5_9_BASE, OPENBSD_5_9
Changes since 1.24: +1 -17 lines
Diff to previous 1.24 (colored)

Remove the rest of the scaffolding for nonexistent ElGamal support,
which has been disabled for sixteen years.

ok millert@, tb@, sthen@

Revision 1.24 / (download) - annotate - [select for diffs], Wed Dec 23 21:07:37 2015 UTC (8 years, 5 months ago) by mmcc
Branch: MAIN
Changes since 1.23: +83 -87 lines
Diff to previous 1.23 (colored)

Remove NULL casts and tweak style in a few places. A more invasive
version of this diff was reviewed by tb@

Revision 1.23 / (download) - annotate - [select for diffs], Sat Dec 19 18:49:02 2015 UTC (8 years, 5 months ago) by mmcc
Branch: MAIN
Changes since 1.22: +31 -41 lines
Diff to previous 1.22 (colored)

Style cleanup and removal of needless casts. ok tb@

Revision 1.22 / (download) - annotate - [select for diffs], Sat Dec 19 01:15:45 2015 UTC (8 years, 5 months ago) by mmcc
Branch: MAIN
Changes since 1.21: +23 -44 lines
Diff to previous 1.21 (colored)

More style improvement and removal of NULL/allocation casts.

ok tb@

Revision 1.21 / (download) - annotate - [select for diffs], Fri Dec 18 22:55:04 2015 UTC (8 years, 5 months ago) by mmcc
Branch: MAIN
Changes since 1.20: +1 -20 lines
Diff to previous 1.20 (colored)

Remove code for unimplemented ElGamel support that's been disabled for
sixteen years.

ok millert@, tb@, sthen@

Revision 1.20 / (download) - annotate - [select for diffs], Mon Dec 14 03:35:40 2015 UTC (8 years, 5 months ago) by mmcc
Branch: MAIN
Changes since 1.19: +5 -9 lines
Diff to previous 1.19 (colored)

Remove NULL-checks before free().

Revision 1.19 / (download) - annotate - [select for diffs], Wed Nov 13 16:28:17 2013 UTC (10 years, 6 months ago) by deraadt
Branch: MAIN
CVS Tags: OPENBSD_5_8_BASE, OPENBSD_5_8, OPENBSD_5_7_BASE, OPENBSD_5_7, OPENBSD_5_6_BASE, OPENBSD_5_6, OPENBSD_5_5_BASE, OPENBSD_5_5
Changes since 1.18: +6 -5 lines
Diff to previous 1.18 (colored)

correct types for arguments to the x509 functions
ok markus

Revision 1.18 / (download) - annotate - [select for diffs], Sat Dec 16 06:18:35 2006 UTC (17 years, 5 months ago) by ray
Branch: MAIN
CVS Tags: OPENBSD_5_4_BASE, OPENBSD_5_4, OPENBSD_5_3_BASE, OPENBSD_5_3, OPENBSD_5_2_BASE, OPENBSD_5_2, OPENBSD_5_1_BASE, OPENBSD_5_1, OPENBSD_5_0_BASE, OPENBSD_5_0, OPENBSD_4_9_BASE, OPENBSD_4_9, OPENBSD_4_8_BASE, OPENBSD_4_8, OPENBSD_4_7_BASE, OPENBSD_4_7, OPENBSD_4_6_BASE, OPENBSD_4_6, OPENBSD_4_5_BASE, OPENBSD_4_5, OPENBSD_4_4_BASE, OPENBSD_4_4, OPENBSD_4_3_BASE, OPENBSD_4_3, OPENBSD_4_2_BASE, OPENBSD_4_2, OPENBSD_4_1_BASE, OPENBSD_4_1
Changes since 1.17: +2 -2 lines
Diff to previous 1.17 (colored)

strlen fix.

OK jaredy@ and millert@.

Revision 1.17 / (download) - annotate - [select for diffs], Tue Jun 29 11:35:56 2004 UTC (19 years, 11 months ago) by msf
Branch: MAIN
CVS Tags: OPENBSD_4_0_BASE, OPENBSD_4_0, OPENBSD_3_9_BASE, OPENBSD_3_9, OPENBSD_3_8_BASE, OPENBSD_3_8, OPENBSD_3_7_BASE, OPENBSD_3_7, OPENBSD_3_6_BASE, OPENBSD_3_6
Changes since 1.16: +9 -2 lines
Diff to previous 1.16 (colored)

Header cleanup.
ok hshoexer@

Revision 1.16 / (download) - annotate - [select for diffs], Fri Jun 25 05:06:49 2004 UTC (19 years, 11 months ago) by msf
Branch: MAIN
Changes since 1.15: +3 -91 lines
Diff to previous 1.15 (colored)

Make crufty configure stuff go away. Remove all unused code paths.
No change in binaries.

ok millert@ deraadt@ hshoexer@

Revision 1.15 / (download) - annotate - [select for diffs], Fri Mar 14 15:49:36 2003 UTC (21 years, 3 months ago) by ho
Branch: MAIN
CVS Tags: OPENBSD_3_5_BASE, OPENBSD_3_5, OPENBSD_3_4_BASE, OPENBSD_3_4, OPENBSD_3_3_BASE, OPENBSD_3_3
Changes since 1.14: +9 -1 lines
Diff to previous 1.14 (colored)

RSA blinding on private keys. angelos@ ok.

Revision 1.14 / (download) - annotate - [select for diffs], Mon Jun 17 19:39:20 2002 UTC (21 years, 11 months ago) by angelos
Branch: MAIN
CVS Tags: OPENBSD_3_2_BASE, OPENBSD_3_2
Changes since 1.13: +5 -5 lines
Diff to previous 1.13 (colored)

Make the stupid warnings go away.

Revision 1.13 / (download) - annotate - [select for diffs], Sun Jun 9 02:12:55 2002 UTC (22 years ago) by deraadt
Branch: MAIN
Changes since 1.12: +4 -4 lines
Diff to previous 1.12 (colored)

use strchr() instead of index()

Revision 1.12 / (download) - annotate - [select for diffs], Mon May 27 06:29:14 2002 UTC (22 years ago) by deraadt
Branch: MAIN
Changes since 1.11: +5 -4 lines
Diff to previous 1.11 (colored)

snprintf and strlcpy cleanup; angelos ok

Revision 1.11 / (download) - annotate - [select for diffs], Mon Sep 3 20:14:51 2001 UTC (22 years, 9 months ago) by deraadt
Branch: MAIN
CVS Tags: OPENBSD_3_1_BASE, OPENBSD_3_1, OPENBSD_3_0_BASE, OPENBSD_3_0
Changes since 1.10: +2 -2 lines
Diff to previous 1.10 (colored)

with or without fee; received mail permitting this change from angelos

Revision 1.10 / (download) - annotate - [select for diffs], Tue Oct 26 22:31:39 1999 UTC (24 years, 7 months ago) by angelos
Branch: MAIN
CVS Tags: OPENBSD_2_9_BASE, OPENBSD_2_9, OPENBSD_2_8_BASE, OPENBSD_2_8, OPENBSD_2_7_BASE, OPENBSD_2_7
Changes since 1.9: +2 -1 lines
Diff to previous 1.9 (colored)

sync

Revision 1.9 / (download) - annotate - [select for diffs], Sat Oct 9 19:47:33 1999 UTC (24 years, 8 months ago) by angelos
Branch: MAIN
CVS Tags: OPENBSD_2_6_BASE, OPENBSD_2_6
Changes since 1.8: +1 -2 lines
Diff to previous 1.8 (colored)

Roll back yesterday's commit, will wait until after 2.6.

Revision 1.8 / (download) - annotate - [select for diffs], Sat Oct 9 06:59:37 1999 UTC (24 years, 8 months ago) by angelos
Branch: MAIN
Changes since 1.7: +1 -0 lines
Diff to previous 1.7 (colored)

Move all ifdefs in header.h (instead of keynote.h), include header.h
in all files including keynote.h, update manpage.

Revision 1.7 / (download) - annotate - [select for diffs], Fri Oct 1 01:08:30 1999 UTC (24 years, 8 months ago) by angelos
Branch: MAIN
Changes since 1.6: +44 -11 lines
Diff to previous 1.6 (colored)

Update for version 2.0

Revision 1.6 / (download) - annotate - [select for diffs], Mon Aug 16 02:33:37 1999 UTC (24 years, 10 months ago) by angelos
Branch: MAIN
Changes since 1.5: +5 -5 lines
Diff to previous 1.5 (colored)

Indentation.

Revision 1.5 / (download) - annotate - [select for diffs], Fri Aug 13 22:49:54 1999 UTC (24 years, 10 months ago) by angelos
Branch: MAIN
Changes since 1.4: +6 -1 lines
Diff to previous 1.4 (colored)

Work with newest version of OpenSSL.

Revision 1.4 / (download) - annotate - [select for diffs], Mon May 31 20:10:00 1999 UTC (25 years ago) by angelos
Branch: MAIN
Changes since 1.3: +4 -2 lines
Diff to previous 1.3 (colored)

Sanitize prototypes and variable extern definitions, remove
unnecessary header file, add prototypes header file for utility building.

Revision 1.3 / (download) - annotate - [select for diffs], Mon May 31 18:29:19 1999 UTC (25 years ago) by angelos
Branch: MAIN
Changes since 1.2: +5 -4 lines
Diff to previous 1.2 (colored)

Correct prototype and invocation, eliminate a warning or three.

Revision 1.2 / (download) - annotate - [select for diffs], Tue May 25 21:42:23 1999 UTC (25 years ago) by angelos
Branch: MAIN
Changes since 1.1: +2 -2 lines
Diff to previous 1.1 (colored)

Export kn_keycompare() in the API, update the spec and man pages.

Note that the *.1 manpages will all be rolled into a single one soon.

Revision 1.1.1.1 / (download) - annotate - [select for diffs] (vendor branch), Sun May 23 22:11:06 1999 UTC (25 years ago) by angelos
Branch: Angelos
CVS Tags: KeyNote-v2
Changes since 1.1: +0 -0 lines
Diff to previous 1.1 (colored)

KeyNote version 2 trust-management system (security policy handling).
Utilities to follow.


Revision 1.1 / (download) - annotate - [select for diffs], Sun May 23 22:11:06 1999 UTC (25 years ago) by angelos
Branch: MAIN

Initial revision

This form allows you to request diff's between any two revisions of a file. You may select a symbolic revision name using the selection box or you may type in a numeric name using the type-in text box.