strongswan.git
10 years agouse crl_reason_t definition from <credentials/certificates/crl.h>
Andreas Steffen [Mon, 31 Aug 2009 20:58:34 +0000 (22:58 +0200)]
use crl_reason_t definition from <credentials/certificates/crl.h>

10 years agouse time_monotonic() instead of time() for statistics and time difference calculations
Martin Willi [Mon, 31 Aug 2009 15:59:00 +0000 (17:59 +0200)]
use time_monotonic() instead of time() for statistics and time difference calculations

10 years agouse time_monotonic() instead of gettimeofday() for time difference calculations
Martin Willi [Mon, 31 Aug 2009 13:25:03 +0000 (15:25 +0200)]
use time_monotonic() instead of gettimeofday() for time difference calculations

10 years agouse monotonic time source in convar->timed_wait, and in the scheduler using it
Martin Willi [Mon, 31 Aug 2009 13:13:48 +0000 (15:13 +0200)]
use monotonic time source in convar->timed_wait, and in the scheduler using it

10 years agoimplemented a monotonic timestamping function, unaffected from system time changes
Martin Willi [Mon, 31 Aug 2009 13:03:35 +0000 (15:03 +0200)]
implemented a monotonic timestamping function, unaffected from system time changes

10 years agodo not depend on gcrypt autoconf macros
Martin Willi [Mon, 31 Aug 2009 11:14:54 +0000 (13:14 +0200)]
do not depend on gcrypt autoconf macros

10 years agoadded ECGDSA specific OIDs
Martin Willi [Mon, 31 Aug 2009 08:34:00 +0000 (10:34 +0200)]
added ECGDSA specific OIDs

10 years agofixed crash in crl listing
Martin Willi [Mon, 31 Aug 2009 08:21:38 +0000 (10:21 +0200)]
fixed crash in crl listing

10 years agogeneration of keyid requires pkcs1 plugin
Andreas Steffen [Sun, 30 Aug 2009 20:55:40 +0000 (22:55 +0200)]
generation of keyid requires pkcs1 plugin

10 years agoclear RSA private key chunks after use
Andreas Steffen [Sun, 30 Aug 2009 17:12:29 +0000 (19:12 +0200)]
clear RSA private key chunks after use

10 years agoASN.1 DER encoding of private key is not needed anymore
Andreas Steffen [Sun, 30 Aug 2009 17:05:43 +0000 (19:05 +0200)]
ASN.1 DER encoding of private key is not needed anymore

10 years agonew UML scenario certs have SHA256 digest
Andreas Steffen [Sun, 30 Aug 2009 15:58:34 +0000 (17:58 +0200)]
new UML scenario certs have SHA256 digest

10 years agoremoved position debug output
Andreas Steffen [Sun, 30 Aug 2009 15:37:27 +0000 (17:37 +0200)]
removed position debug output

10 years agoadded workaround to parse PEM encoded PGP key with KEY_RSA
Martin Willi [Fri, 28 Aug 2009 15:25:07 +0000 (17:25 +0200)]
added workaround to parse PEM encoded PGP key with KEY_RSA

10 years agoimplemented PGP Secret-Key Packet parsing
Martin Willi [Fri, 28 Aug 2009 15:23:58 +0000 (17:23 +0200)]
implemented PGP Secret-Key Packet parsing

10 years agofixed memleak
Martin Willi [Fri, 28 Aug 2009 14:16:39 +0000 (16:16 +0200)]
fixed memleak

10 years ago.., but a comment might be helpful
Andreas Steffen [Fri, 28 Aug 2009 07:28:39 +0000 (09:28 +0200)]
.., but a comment might be helpful

10 years agoremoved TODO reminder
Andreas Steffen [Fri, 28 Aug 2009 07:26:46 +0000 (09:26 +0200)]
removed TODO reminder

10 years agoallow choice of digest algorithm in certificate generation
Andreas Steffen [Fri, 28 Aug 2009 07:08:03 +0000 (09:08 +0200)]
allow choice of digest algorithm in certificate generation

10 years agobuild_curve_signature() processes hash not data
Andreas Steffen [Thu, 27 Aug 2009 18:41:29 +0000 (20:41 +0200)]
build_curve_signature() processes hash not data

10 years agoNID_hash and NID_ec_curve were interchanged
Andreas Steffen [Thu, 27 Aug 2009 18:28:41 +0000 (20:28 +0200)]
NID_hash and NID_ec_curve were interchanged

10 years agoverify_signature() now processes hash not data
Andreas Steffen [Thu, 27 Aug 2009 18:18:22 +0000 (20:18 +0200)]
verify_signature() now processes hash not data

10 years agoNID_hash and NID_ec_curver were interchanged
Andreas Steffen [Thu, 27 Aug 2009 18:11:49 +0000 (20:11 +0200)]
NID_hash and NID_ec_curver were interchanged

10 years agoverify that the ECDSA auth signature was done with the correct curve
Martin Willi [Thu, 27 Aug 2009 15:58:02 +0000 (17:58 +0200)]
verify that the ECDSA auth signature was done with the correct curve

10 years agodistinguish between RFC 4754 (concatenated) and RFC 3279 (DER encoded) ECDSA signatures
Martin Willi [Thu, 27 Aug 2009 15:36:17 +0000 (17:36 +0200)]
distinguish between RFC 4754 (concatenated) and RFC 3279 (DER encoded) ECDSA signatures

10 years agoOID_EC_PUBLICKEY has a parameters field, defining the elliptic curve
Andreas Steffen [Thu, 27 Aug 2009 14:34:16 +0000 (16:34 +0200)]
OID_EC_PUBLICKEY has a parameters field, defining the elliptic curve

10 years agoadded OID_EC_PUBLIC_KEY algorithmIdentifier
Andreas Steffen [Thu, 27 Aug 2009 14:07:59 +0000 (16:07 +0200)]
added OID_EC_PUBLIC_KEY algorithmIdentifier

10 years agocosmetics
Andreas Steffen [Thu, 27 Aug 2009 13:33:22 +0000 (15:33 +0200)]
cosmetics

10 years agofixed return value
Martin Willi [Thu, 27 Aug 2009 13:28:45 +0000 (15:28 +0200)]
fixed return value

10 years agodo not append a NULL paramter to ECDSA algorithmIdentifiers
Martin Willi [Thu, 27 Aug 2009 13:28:21 +0000 (15:28 +0200)]
do not append a NULL paramter to ECDSA algorithmIdentifiers

10 years agoPKI tool supports certificate verification
Martin Willi [Thu, 27 Aug 2009 12:43:40 +0000 (14:43 +0200)]
PKI tool supports certificate verification

10 years agodo not flush cached encodings, keys are responsible for it
Martin Willi [Thu, 27 Aug 2009 11:58:48 +0000 (13:58 +0200)]
do not flush cached encodings, keys are responsible for it

10 years agowhitelist openssl ecdsa_check function
Martin Willi [Thu, 27 Aug 2009 11:40:48 +0000 (13:40 +0200)]
whitelist openssl ecdsa_check function

10 years agoPKI tool supports generation of self-signed certificates
Martin Willi [Thu, 27 Aug 2009 11:34:57 +0000 (13:34 +0200)]
PKI tool supports generation of self-signed certificates

10 years agosupport generation of EC certificates
Martin Willi [Thu, 27 Aug 2009 11:34:06 +0000 (13:34 +0200)]
support generation of EC certificates

10 years agoadded support for SIGN_ECDSA_WITH_SHA1 signature scheme in openssl
Martin Willi [Thu, 27 Aug 2009 11:22:01 +0000 (13:22 +0200)]
added support for SIGN_ECDSA_WITH_SHA1 signature scheme in openssl

10 years agocreate algorithmIdentifier dynamically from OID database
Martin Willi [Thu, 27 Aug 2009 11:14:01 +0000 (13:14 +0200)]
create algorithmIdentifier dynamically from OID database

10 years agouse subjectPublicKeyInfo encoding type directly
Martin Willi [Thu, 27 Aug 2009 11:09:31 +0000 (13:09 +0200)]
use subjectPublicKeyInfo encoding type directly

10 years agopkcs1 encoder supports subjectPublicKeyInfo encoding
Martin Willi [Thu, 27 Aug 2009 11:07:34 +0000 (13:07 +0200)]
pkcs1 encoder supports subjectPublicKeyInfo encoding

10 years agorevoked soon-to-expire carol certificate
Andreas Steffen [Thu, 27 Aug 2009 11:36:02 +0000 (13:36 +0200)]
revoked soon-to-expire carol certificate

10 years agorenewed expiring strongSwan certicates for UML scenarios
Andreas Steffen [Thu, 27 Aug 2009 11:20:48 +0000 (13:20 +0200)]
renewed expiring strongSwan certicates for UML scenarios

10 years agoimplemented fingerprinting support for PKI tool
Martin Willi [Thu, 27 Aug 2009 08:41:07 +0000 (10:41 +0200)]
implemented fingerprinting support for PKI tool

10 years agofixed memleak in openssl fingerprinting
Martin Willi [Thu, 27 Aug 2009 08:40:49 +0000 (10:40 +0200)]
fixed memleak in openssl fingerprinting

10 years agodo openssl fingerprinting/encoding directly, openssl provides all functions
Martin Willi [Thu, 27 Aug 2009 07:58:38 +0000 (09:58 +0200)]
do openssl fingerprinting/encoding directly, openssl provides all functions

10 years agokey encoding gained a cache() method, allows caching of externally created encodings
Martin Willi [Thu, 27 Aug 2009 07:57:49 +0000 (09:57 +0200)]
key encoding gained a cache() method, allows caching of externally created encodings

10 years agopgp plugin required in ikev1/net2net-pgp-v3|v4 scenarios
Andreas Steffen [Wed, 26 Aug 2009 21:42:05 +0000 (23:42 +0200)]
pgp plugin required in ikev1/net2net-pgp-v3|v4 scenarios

10 years agodnskey plugin required in ikev1/net2net-rsa scenario
Andreas Steffen [Wed, 26 Aug 2009 21:11:06 +0000 (23:11 +0200)]
dnskey plugin required in ikev1/net2net-rsa scenario

10 years agoikev1 psk scenarios don't need pkcs1 and pem plugins
Andreas Steffen [Wed, 26 Aug 2009 20:46:39 +0000 (22:46 +0200)]
ikev1 psk scenarios don't need pkcs1 and pem plugins

10 years agofixed typo
Andreas Steffen [Wed, 26 Aug 2009 20:25:24 +0000 (22:25 +0200)]
fixed typo

10 years agostreamlined file loading labels
Andreas Steffen [Wed, 26 Aug 2009 20:02:00 +0000 (22:02 +0200)]
streamlined file loading labels

10 years agouse --outform consistantly
Andreas Steffen [Wed, 26 Aug 2009 16:55:18 +0000 (18:55 +0200)]
use --outform consistantly

10 years agothe option has been changed to --outform
Andreas Steffen [Wed, 26 Aug 2009 16:41:19 +0000 (18:41 +0200)]
the option has been changed to --outform

10 years agoadded pki/.libs/pki to the libs
Andreas Steffen [Wed, 26 Aug 2009 16:27:04 +0000 (18:27 +0200)]
added pki/.libs/pki to the libs

10 years agofixed two typos
Andreas Steffen [Wed, 26 Aug 2009 15:29:57 +0000 (17:29 +0200)]
fixed two typos

10 years agoencoding public EC keys is not really possible without subjectPublicKeyInfo
Martin Willi [Wed, 26 Aug 2009 14:15:38 +0000 (16:15 +0200)]
encoding public EC keys is not really possible without subjectPublicKeyInfo

10 years agocomplain about build errors in non-recursive cases only
Martin Willi [Wed, 26 Aug 2009 12:44:05 +0000 (14:44 +0200)]
complain about build errors in non-recursive cases only

10 years agoopenac (and tools) do not depend on gmp anymore
Martin Willi [Wed, 26 Aug 2009 12:08:20 +0000 (14:08 +0200)]
openac (and tools) do not depend on gmp anymore

10 years agomoved chunk_increment() function to libstrongswan
Martin Willi [Wed, 26 Aug 2009 12:07:26 +0000 (14:07 +0200)]
moved chunk_increment() function to libstrongswan

10 years agopki tool supports public key extraction from private key, certificates
Martin Willi [Wed, 26 Aug 2009 11:05:17 +0000 (13:05 +0200)]
pki tool supports public key extraction from private key, certificates

10 years agoadded a BUILD_FROM_FD option, supporting credential parsing from stdin
Martin Willi [Wed, 26 Aug 2009 11:03:23 +0000 (13:03 +0200)]
added a BUILD_FROM_FD option, supporting credential parsing from stdin

10 years agostarted implementation of a PKI tool, currently supporting RSA|ECDSA key generation
Martin Willi [Wed, 26 Aug 2009 09:22:09 +0000 (11:22 +0200)]
started implementation of a PKI tool, currently supporting RSA|ECDSA key generation

10 years agoimplemented openssl EC key generation
Martin Willi [Wed, 26 Aug 2009 09:20:13 +0000 (11:20 +0200)]
implemented openssl EC key generation

10 years agofixed openssl RSA private key encoding
Martin Willi [Wed, 26 Aug 2009 09:19:06 +0000 (11:19 +0200)]
fixed openssl RSA private key encoding

10 years agokeyids in SQL use ID_KEY_ID type with subjectPublicKey SHA1 hash
Martin Willi [Tue, 25 Aug 2009 12:29:48 +0000 (14:29 +0200)]
keyids in SQL use ID_KEY_ID type with subjectPublicKey SHA1 hash

10 years agotests load pem/pkcs1 plugins, pubkey plugin not needed anymore
Martin Willi [Tue, 25 Aug 2009 11:21:50 +0000 (13:21 +0200)]
tests load pem/pkcs1 plugins, pubkey plugin not needed anymore

10 years agouse ./configured plugins in keyid scripts
Martin Willi [Tue, 25 Aug 2009 09:31:08 +0000 (11:31 +0200)]
use ./configured plugins in keyid scripts

10 years agoaccept PEM encoded keys in keyid scripts
Martin Willi [Tue, 25 Aug 2009 09:30:42 +0000 (11:30 +0200)]
accept PEM encoded keys in keyid scripts

10 years agomigrated scripts to new fingerprinting API
Martin Willi [Tue, 25 Aug 2009 09:29:51 +0000 (11:29 +0200)]
migrated scripts to new fingerprinting API

10 years agoupdated medsrv and test to new fingerprint/encoding API
Martin Willi [Tue, 25 Aug 2009 13:37:33 +0000 (15:37 +0200)]
updated medsrv and test to new fingerprint/encoding API

10 years agoupdated load-tester plugin to new fingerprinting API
Martin Willi [Mon, 24 Aug 2009 14:57:09 +0000 (16:57 +0200)]
updated load-tester plugin to new fingerprinting API

10 years agouse only KEY_ID_PUBKEY_SHA1 fingerprint charon internally
Martin Willi [Mon, 24 Aug 2009 14:06:59 +0000 (16:06 +0200)]
use only KEY_ID_PUBKEY_SHA1 fingerprint charon internally

10 years agoupdated nm plugin to new fingerprinting API
Martin Willi [Mon, 24 Aug 2009 14:06:21 +0000 (16:06 +0200)]
updated nm plugin to new fingerprinting API

10 years agoupdated agent plugin to new fingerprint/encoding API
Martin Willi [Mon, 24 Aug 2009 13:10:18 +0000 (15:10 +0200)]
updated agent plugin to new fingerprint/encoding API

10 years agoupdated stroke plugin to fingerprinting API
Martin Willi [Mon, 24 Aug 2009 12:20:59 +0000 (14:20 +0200)]
updated stroke plugin to fingerprinting API

10 years agoupdated charon to new fingerprinting API
Martin Willi [Mon, 24 Aug 2009 12:20:29 +0000 (14:20 +0200)]
updated charon to new fingerprinting API

10 years agoupdated pluto to new fingerprinting API
Martin Willi [Mon, 24 Aug 2009 12:19:51 +0000 (14:19 +0200)]
updated pluto to new fingerprinting API

10 years agoupdated scepclient to new encoding API
Martin Willi [Mon, 24 Aug 2009 12:19:16 +0000 (14:19 +0200)]
updated scepclient to new encoding API

10 years agoupdated pubkey plugin to new fingerprinting API
Martin Willi [Mon, 24 Aug 2009 12:15:03 +0000 (14:15 +0200)]
updated pubkey plugin to new fingerprinting API

10 years agoupdated x509 plugin to public key/x509 API changes
Martin Willi [Mon, 24 Aug 2009 12:11:44 +0000 (14:11 +0200)]
updated x509 plugin to public key/x509 API changes

10 years agoupdated x509/CRL/AC API to align with public key, authKeyIdentifier is a chunk
Martin Willi [Mon, 24 Aug 2009 12:10:26 +0000 (14:10 +0200)]
updated x509/CRL/AC API to align with public key, authKeyIdentifier is a chunk

10 years agoupdated openssl plugin to new private/public key API, use encoder framework
Martin Willi [Mon, 24 Aug 2009 12:09:18 +0000 (14:09 +0200)]
updated openssl plugin to new private/public key API, use encoder framework

10 years agoupdated gcrypt plugin to new private/public key API, use encoder framework
Martin Willi [Mon, 24 Aug 2009 12:07:32 +0000 (14:07 +0200)]
updated gcrypt plugin to new private/public key API, use encoder framework

10 years agoupdated gmp plugin to new private/public key API, use encoder framework
Martin Willi [Mon, 24 Aug 2009 12:06:41 +0000 (14:06 +0200)]
updated gmp plugin to new private/public key API, use encoder framework

10 years agochanged get_id/get_encoding API of private/public key to use new encoding framework
Martin Willi [Mon, 24 Aug 2009 12:04:23 +0000 (14:04 +0200)]
changed get_id/get_encoding API of private/public key to use new encoding framework

10 years agoremoved obsolete fingerprint identification types
Martin Willi [Mon, 24 Aug 2009 12:21:38 +0000 (14:21 +0200)]
removed obsolete fingerprint identification types

10 years agoadded generic implementation helpers for private_key_t.equals/belongs_to, public_key_...
Martin Willi [Mon, 24 Aug 2009 12:00:43 +0000 (14:00 +0200)]
added generic implementation helpers for private_key_t.equals/belongs_to, public_key_t.equals

10 years agoadded a seperate chache lookup, as encode() requires arguments expensive to build
Martin Willi [Mon, 24 Aug 2009 09:12:07 +0000 (11:12 +0200)]
added a seperate chache lookup, as encode() requires arguments expensive to build

10 years agouse credential builder API to parse trusted public keys
Martin Willi [Fri, 21 Aug 2009 11:53:19 +0000 (13:53 +0200)]
use credential builder API to parse trusted public keys

10 years agoimplemented PGP fingerprinting
Martin Willi [Wed, 19 Aug 2009 14:26:29 +0000 (16:26 +0200)]
implemented PGP fingerprinting

10 years agoimplemented pkcs1 private/public key encoding and fingerprinting
Martin Willi [Wed, 19 Aug 2009 14:10:08 +0000 (16:10 +0200)]
implemented pkcs1 private/public key encoding and fingerprinting

10 years agochunk_cat/cata/create_cat/length accept the sensitive data clearing mode 's'
Martin Willi [Wed, 19 Aug 2009 14:02:20 +0000 (16:02 +0200)]
chunk_cat/cata/create_cat/length accept the sensitive data clearing mode 's'

10 years agoin addition to 'm'/'c' mode, asn1_wrap accepts a 's' mode clearing sensitive information
Martin Willi [Wed, 19 Aug 2009 14:00:48 +0000 (16:00 +0200)]
in addition to 'm'/'c' mode, asn1_wrap accepts a 's' mode clearing sensitive information

10 years agoadded a facility to hand out fingerprinting/key encoding to the pkcs1/pgp/... plugins
Martin Willi [Tue, 18 Aug 2009 15:48:34 +0000 (17:48 +0200)]
added a facility to hand out fingerprinting/key encoding to the pkcs1/pgp/... plugins

10 years agogmp uses component builder to build public- from private-key
Martin Willi [Tue, 18 Aug 2009 07:58:12 +0000 (09:58 +0200)]
gmp uses component builder to build public- from private-key

10 years agogcrypt uses component builder to build public- from private-key
Martin Willi [Tue, 18 Aug 2009 07:47:41 +0000 (09:47 +0200)]
gcrypt uses component builder to build public- from private-key

10 years agomoved PGP code to pluto and gpg plugin
Martin Willi [Mon, 17 Aug 2009 13:56:08 +0000 (15:56 +0200)]
moved PGP code to pluto and gpg plugin

10 years agogmp plugin makes use of pkcs1/pgp/dnskey plugins
Martin Willi [Mon, 17 Aug 2009 12:58:42 +0000 (14:58 +0200)]
gmp plugin makes use of pkcs1/pgp/dnskey plugins

10 years agoenforce RSA_PRIME1 > RSA_PRIME2 (p > q) in PGP
Martin Willi [Mon, 17 Aug 2009 13:30:20 +0000 (15:30 +0200)]
enforce RSA_PRIME1 > RSA_PRIME2 (p > q) in PGP

10 years agoimplemented RFC3110 key builder in a plugin, added generic DNSKEY RR parsing
Martin Willi [Mon, 17 Aug 2009 12:45:52 +0000 (14:45 +0200)]
implemented RFC3110 key builder in a plugin, added generic DNSKEY RR parsing

10 years agorenamed BUILD_BLOB_RFC_3110 to BUILD_BLOB_DNSKEY, we potentially support other key...
Martin Willi [Mon, 17 Aug 2009 12:11:39 +0000 (14:11 +0200)]
renamed BUILD_BLOB_RFC_3110 to BUILD_BLOB_DNSKEY, we potentially support other key types