Commit graph

11 commits

Author SHA1 Message Date
rillig
e55e2af1da security/opencdk: fix location of HTML documentation 2019-10-12 20:43:11 +00:00
joerg
f0bbd1517d Remove @dirrm entries from PLISTs 2009-06-14 18:13:25 +00:00
wiz
32be62aaa3 Update to 0.6.5:
Noteworthy changes in version 0.6.5 (2007-10-27)
------------------------------------------------

* Cleanups for the key export and import functionality.

* Clarified the semantic of cdk_pk_check_sigs.

* Now the by usage keydb function correctly finds the
  self signature.

patch-aa provided by drochner@; sent upstream, will be in next release.
2007-11-08 19:43:37 +00:00
wiz
65475deb65 Remove superfluous @dirrm. Bump PKGREVISION. 2007-09-08 09:42:01 +00:00
wiz
ae15e1fe1e Update to 0.6.0:
Noteworthy changes in version 0.6.0 (2007-05-XX)
------------------------------------------------

* Dropped all internal random, cipher, digest libs and only use gcrypt
  for such tasks. The library should only provide functions dedicated
  to parsing and packet creation for the protocol.

* Adjust code for the new Libgcrypt interface.
  Now Libgcrypt >1.2.2 is required to build the code.

* This new version introduces an API change and thus incompatibilities
  to prior versions.

* Lots of cleanups all over the place. This also includes simplification
  for various code parts.

* Better support for larger files.

* Map the libgcrypt error directly and remove the
  invalid CDK_Gcry_Error type.

* Add more regression tests for the various code parts.

* We do not support ElGamal signatures any longer.

* Merged patches from the other opencdk branch which is
  currently used by GnuTLS.

* Provide user callback for the stream. As a sample
  implementation, socket callbacks are implemented
  and use in cdk_stream_sockopen().

* Drop most of the rfc1991 legacy format. This means
  we do not generate any rfc1991 data, but we still
  understand it. An exception is the packet header output.

* Removed gnulib interface for now because the lib
  is currently not in use.

* Interfaces changes relative to 0.5.x
 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 functions:
 cdk_stream_tmp			CHANGED: is now cdk_stream_tmp_new
 cdk_stream_new_from_mem	CHANGED: new argument and return error code
 cdk_stream_control		CHANGED: is no available any longer
 cdk_stream_new_from_cbs	NEW
 cdk_stream_mmap_part		NEW
 cdk_keydb_new_from_file	NEW
 cdk_keydb_new_from_mem		NEW
 cdk_keydb_new_from_stream	NEW
 cdk_keydb_import		CHANGED: second argument removed.
 cdk_keydb_pk_cache_sigs	DELETED
 cdk_kbnode_write_to_mem_alloc	NEW
 cdk_lib_startup		NEW
 cdk_lib_shutdown		NEW
 cdk_handle_set_keyring		NEW
 cdk_handle_get_verify_result	NEW
 cdk_subpkt_find_next		NEW
 cdk_subpkt_find_nth		NEW
 cdk_set_progress_handler	DELETED
 cdk_userid_get_pref_array	DELETED
 cdk_pk_encrypt			CHANGED: last argument is now gcry_mpi_t
 cdk_pk_decrypt			CHANGED: last argument is now gcry_mpi_t
 cdk_pk_get_mpi			CHANGED: new argument nwritten.
 cdk_sk_get_mpi			CHANGED: new argument nwritten.
 cdk_pk_release			NEW
 cdk_sk_release			NEW
 cdk_pubkey_to_sexp		NEW
 cdk_seckey_to_sexp		NEW
 cdk_armor_encode_buffer	NEW
 cdk_keygen_set_mdc_feature	DELETED
 cdk_keygen_set_algo_info	CHANGED: new argument usage.
 cdk_seskey_new			DELETED
 cdk_seskey_free		DELETED
 cdk_dek_encode_pkcs1		CHANGED: not public any longer.
 cdk_dek_decode_pkcs1		CHANGED: not public any longer.
 cdk_stream_tell		CHANGED: return type is now off_t
 cdk_stream_seek		CHANGED: argument is now off_t
 cdk_pk_check_self_sig		NEW

 constants:
 CDK_No_Data			NEW
 CDK_CTL_TRUSTMODEL		DELETED
 CDK_CTL_FORCE_DIGEST		DELETED
 CDK_COMPRESS_BZIP2		NEW
 CDK_MD_SHA{256,384,512}	NEW
 CDK_MD_{TIGER, MD2}		DELETED
 CDK_CIPHER_{SAFER_SK128, DES_SK} DELETED
 CDK_CTL_COMPAT		  	  DELETED

 structures:
 cdk_md_hd_t			CHANGED: is now gcry_md_hd_t
 cdk_cipher_hd_t		CHANGED: is now gcry_cipher_hd_t
 cdk_sesskey_t			CHANGED: is now gcry_mpi_t
2007-06-05 05:35:19 +00:00
wiz
ed09c58b07 Update to 0.5.11:
Noteworthy changes in version 0.5.11 (2006-10-26)
------------------------------------------------

* Add a new self test "basic" to test cdk_check_version.

* Add prototype of cdk_stream_decrypt to opencdk.h, reported by Adam
  Langley.

* Fix crash in cdk_data_transform triggered by self-tests.
2006-10-31 22:49:57 +00:00
wiz
0f7a405dc1 Update to 0.5.10:
Noteworthy changes in version 0.5.10 (2006-10-11)
------------------------------------------------

* Fix double-free in cdk_pklist_encrypt, reported by Adam Langley.

* Fix keydb_idx_search() to handle keys at offset 0, thanks to Adam Langley.

* A pkg-config script was added, thanks to Andreas Metzler.

* Autobuild time stamps are used, for easier build robot testing.
2006-10-23 07:33:42 +00:00
jlam
1a280185e1 Mechanical changes to package PLISTs to make use of LIBTOOLIZE_PLIST.
All library names listed by *.la files no longer need to be listed
in the PLIST, e.g., instead of:

	lib/libfoo.a
	lib/libfoo.la
	lib/libfoo.so
	lib/libfoo.so.0
	lib/libfoo.so.0.1

one simply needs:

	lib/libfoo.la

and bsd.pkg.mk will automatically ensure that the additional library
names are listed in the installed package +CONTENTS file.

Also make LIBTOOLIZE_PLIST default to "yes".
2004-09-22 08:09:14 +00:00
drochner
28e05752a9 update to 0.5.5
changes:
Severeal cleanups and Libgcrypt 1.2.0 adjustments.
2004-08-27 13:01:35 +00:00
xtraeme
fe6153dbee Updated to 0.5.3, provided by Min Sik Kim PR pkg/23322.
Changes:

* Added a compile time check for vasprintf.
* The unsigned long types were changed to unsigned int.
* Internal message digest and symmetric crypto library to simplify to
  include parts of OpenCDK into an own application.
* Huge interface and naming changes to enhance the readability of the
  code. Several code cleanups which means some functions are not
  public any longer. No backward compatibility to force client
  applications to change the interface as soon as possible.
* Simplified API for listing keys.
* Extended key node (KBNODE) API to extract attributes more easier.
* Signature sub packet API is now public.
* Read-only support for revocation keys.
* Bug fix to prevent possible DOS memory attack.
* Support for literal partial body packets.

And more...
2003-12-06 00:28:21 +00:00
salo
436cec638b Import of opencdk-0.4.5: Open Crypto Development Kit.
OpenCDK (Open Crypto Development Kit) provides basic parts of the OpenPGP
message format.  The aim of the library is *not* to replace any available
OpenPGP version.  There will be no real support for key management (sign,
revoke, alter preferences, ...) and some other parts are only rudimentary
available.  The main purpose is to handle and understand OpenPGP packets and
to use basic operations.  For example to encrypt/decrypt or to sign/verify
and packet routines.

Provided by Juan RP via pkgsrc-wip with some modifications by me.
2003-05-14 03:16:23 +00:00