This website requires JavaScript.
fed9407bb1
Implemented PKCS#11 RSA public key for keys found on a token
Martin Willi
2010-08-06 17:02:41 +02:00
babed73257
Export scheme_to_mechanism conversion function
Martin Willi
2010-08-06 17:02:01 +02:00
a02784da5d
Load certificate after enumeration
Martin Willi
2010-08-06 17:00:23 +02:00
30d8e8d04d
fix error-type range in parsing of NOTIFY payloads
Jiri Bohac
2010-08-05 17:13:38 +02:00
fd8ad4198d
added TTLS to EAP short names, too
Andreas Steffen
2010-08-06 06:06:40 +02:00
f32e56bbce
added EAP_TTLS method
Andreas Steffen
2010-08-05 21:01:39 +02:00
6ac797ad3a
added ikev2/rw-eap-tls-radius
Andreas Steffen
2010-08-05 19:28:06 +02:00
37d2d7e158
Whitespace cleanups
Martin Willi
2010-08-05 13:58:49 +02:00
e85bca7f22
Use certificate subject to get a public key of the TLS server
Martin Willi
2010-08-05 13:13:04 +02:00
6b717cc28d
no need for strongSwan VID since the EAP_ONLY notification has been officially registered with IANA
Andreas Steffen
2010-08-05 12:47:09 +02:00
edb82ab8ae
Some Doxygen fixes.
Tobias Brunner
2010-08-05 11:53:35 +02:00
7ea87db00d
added some more TLS debug output
Andreas Steffen
2010-08-05 09:51:05 +02:00
7030e3950a
fixed type in cipher suite list build
Andreas Steffen
2010-08-05 01:26:10 +02:00
4657b3a42a
log selected TLS version and cipher suite
Andreas Steffen
2010-08-05 01:21:59 +02:00
289c9ac3d7
log TLS handshake messages in debug level 2
Andreas Steffen
2010-08-04 16:55:47 +02:00
744b83c7c9
Fixed loading of secrets with IDs.
Tobias Brunner
2010-08-04 15:59:15 +02:00
dca2d89209
Fixed loading of private keys without password.
Tobias Brunner
2010-08-04 14:22:48 +02:00
83628fd600
Accept EAP_ONLY_AUTHENTICATION notifies from any client, now that IANA allocated an ID.
Tobias Brunner
2010-08-04 12:55:09 +02:00
8e7920eea1
generated aaa certificate
Andreas Steffen
2010-08-04 12:44:32 +02:00
12549bedea
IKEv2 notification types updated.
Tobias Brunner
2010-08-04 10:02:09 +02:00
e82186fb5a
Reimplemented mem pool to support multiple leases for a single identity
Martin Willi
2010-07-27 12:04:19 +02:00
6e4f4d2fdf
Save/Load state of PKCS#11 hasher
Martin Willi
2010-07-20 12:37:06 +02:00
83e52fd12d
Register hmac/xcbc algorithms after potentially underlying PKCS#11
Martin Willi
2010-07-20 12:35:45 +02:00
a3aeb89227
Do initial slot enumeration manually
Martin Willi
2010-07-20 12:23:06 +02:00
0f0fc891d8
Implemented hasher_t using PKCS#11
Martin Willi
2010-07-20 11:01:39 +02:00
66267ea515
Defer certificate loading until all PKCS#11 modules are loaded
Martin Willi
2010-07-20 10:59:21 +02:00
65858b83f8
Destroy IKE_SA Managers crypto primitives during flush, the plugins are gone in destroy
Martin Willi
2010-07-20 10:58:17 +02:00
5a27bf8ad8
Provide a public PKCS#11 mechanism enumerator
Martin Willi
2010-07-20 09:16:05 +02:00
efab731338
Added PKCS#11 private key support to the pki tool
Martin Willi
2010-07-19 17:36:17 +02:00
089d554a01
The pki tool uses a callback credential set to read in passphrase/PIN
Martin Willi
2010-07-19 17:35:42 +02:00
0d08ebe7ac
Pass type of requested key in the callback credential set
Martin Willi
2010-07-19 16:25:26 +02:00
af007ed68a
Support PKCS#11 keys requiring reauthentication for each operation
Martin Willi
2010-07-19 16:02:57 +02:00
199b17122d
Do not try to log in if we already have a user session
Martin Willi
2010-07-19 15:53:31 +02:00
15177f5785
Obseleted BUILD_PASSPHRASE(_CALLBACK) for private key loading, use credential sets
Martin Willi
2010-07-19 14:12:05 +02:00
3429be9514
Use a dedicated build part for challenge passwords, BUILD_PASSPHRASE gets obsolete
Martin Willi
2010-07-19 13:16:32 +02:00
0556667dca
Use credential sets to load smartcard keys
Martin Willi
2010-07-19 10:25:51 +02:00
70789d28a1
Handle PIN: as a magic keyword for prompt, use getpass() to silently read credentials
Martin Willi
2010-07-19 09:43:11 +02:00
62be923683
Implemented a callback based credential set, currently for shared keys only
Martin Willi
2010-07-16 16:55:29 +02:00
0749e91bec
Implemented a generic in-memory credential set, currently for shared keys only
Martin Willi
2010-07-16 16:53:03 +02:00
9587ece534
mmap() ipsec.secrets instead malloc(), proper error checking
Martin Willi
2010-07-16 14:40:02 +02:00
947298b302
Splitted up the load_secrets() function
Martin Willi
2010-07-16 14:31:50 +02:00
1e4e29076c
Updated ipsec.secrets.5 regarding IKEv2 smartcard support
Martin Willi
2010-07-16 12:18:20 +02:00
57522106c4
%prompt support for smartcard PIN via "ipsec secrets"
Martin Willi
2010-07-16 12:17:21 +02:00
a0bdd5d63e
Implemented callback PIN invocation for PKCS#11 login
Martin Willi
2010-07-16 12:16:32 +02:00
7afc00d03c
Implemented keyid discovery on all modules/slots
Martin Willi
2010-07-16 11:17:06 +02:00
0b8b664056
Pass the PKCS11 keyid as chunk, not as string
Martin Willi
2010-07-16 10:48:29 +02:00
353d10d590
Reuse generic passphrase build part, not a dedicated PIN part
Martin Willi
2010-07-16 10:12:22 +02:00
5f1e4438cb
Implemented private key on top of a PKCS#11 token
Martin Willi
2010-07-15 17:54:26 +02:00
d007ce3206
Extended the PKCS#11 object enumerator by attribute retrieval
Martin Willi
2010-07-15 16:25:30 +02:00
ddbac66028
Use the PKCS#11 object enumerator
Martin Willi
2010-07-15 15:44:17 +02:00
9baa41c52d
Implemented a generic PKCS#11 object enumerator
Martin Willi
2010-07-15 15:43:30 +02:00
cd251d9a21
Unload plugins in reverse order
Martin Willi
2010-07-15 14:05:02 +02:00
3479c27931
Support module names in %smartcard specifier, streamlined smartcard building
Martin Willi
2010-07-15 12:23:50 +02:00
36c852a08b
Added enumerator for PKCS#11 tokens
Martin Willi
2010-07-15 12:22:36 +02:00
fe876b24d9
Handle NOT_SUPPORT return value from WaitForSlot
Martin Willi
2010-07-15 10:10:14 +02:00
66033012c9
Reenabled dlclose
Martin Willi
2010-07-15 08:26:46 +02:00
a6d2ec331b
Implemented a credential set on top of a PKCS#11 token
Martin Willi
2010-07-14 17:44:27 +02:00
50a9e84540
Added NSPR PR_CallOnce to leak detective whitelist
Martin Willi
2010-07-14 17:42:18 +02:00
044e0dd1b1
Added buffer checking variants of syslog functions to leak detective
Martin Willi
2010-07-14 17:40:06 +02:00
c281a427e0
Moved gmp plugin before users of it
Martin Willi
2010-07-14 17:34:48 +02:00
fdd7e21225
Added a token add/remove callback function to the manager
Martin Willi
2010-07-14 15:09:12 +02:00
6522d6c50b
Enumerate tokens and their mechanisms, wait for slot events
Martin Willi
2010-07-14 14:44:08 +02:00
0c21dc000d
Depend on libcharon until we have a thread pool to use
Martin Willi
2010-07-14 14:13:24 +02:00
75451ac8ba
Add enum names for CK_MECHANISM_TYPE constants
Martin Willi
2010-07-14 14:13:02 +02:00
b3b0e57cb1
Make the PKCS#11 padding string trimming public, add null terminator
Martin Willi
2010-07-14 12:43:42 +02:00
71151d3c1b
Added a getter for the library alias
Martin Willi
2010-07-14 12:32:40 +02:00
2e209becbc
Moved PKCS#11 library loading to dedicated manager
Martin Willi
2010-07-14 11:15:22 +02:00
50e1a710ea
Use locking, prefer our mutex abstraction layer
Martin Willi
2010-07-14 10:39:28 +02:00
a6456dd640
Added enum names for PKCS#11 return values
Martin Willi
2010-07-14 10:22:42 +02:00
e328ef4f4c
Load PKCS#11 modules defined in strongswan.conf
Martin Willi
2010-07-14 09:48:29 +02:00
34454dc39e
Implemented an abstraction layer for PKCS#11 module loading
Martin Willi
2010-07-14 09:47:37 +02:00
fb85d61980
Imported the free pkcs11.h header form the Scute project
Martin Willi
2010-07-14 09:46:24 +02:00
6e862e2152
Added PKCS#11 token plugin stub
Martin Willi
2010-07-13 17:34:34 +02:00
f8bb082f1f
added ikev2/rw-eap-tls-only scenario
Andreas Steffen
2010-08-04 08:36:27 +02:00
9dffc26b73
--enable eap-tls and --disable-load-warning in uml build
Andreas Steffen
2010-08-04 07:47:08 +02:00
f8029ca3f9
test_cert adapted to extended signature of get_encoding().
Tobias Brunner
2010-08-03 18:59:27 +02:00
56bceda7b5
Fixed compiler warnings.
Tobias Brunner
2010-08-03 18:59:12 +02:00
0f82a47063
Moved TLS stack to its own library
Martin Willi
2010-08-03 15:17:40 +02:00
0b71bc7af0
Moved eap-tls plugin to libcharon, updated to 4.4.1 APIs
Martin Willi
2010-03-19 18:55:23 +01:00
400df4ca7c
Implemented EAP-TLS server functionality
Martin Willi
2010-02-09 18:19:25 +01:00
97abf95412
TLS stack keeps a copy of server/peer identities
Martin Willi
2010-02-09 14:57:50 +01:00
c8a2fca58c
Limit the number of EAP-TLS packets allowed
Martin Willi
2010-02-09 12:53:42 +01:00
8fef06a683
Use stricter state handling while processing TLS messages
Martin Willi
2010-02-09 12:37:29 +01:00
dc9f34be4d
Cleaned up the public TLS interface
Martin Willi
2010-02-05 13:39:19 +00:00
84d67ead4e
Refactored common used operations into TLS crypto helper
Martin Willi
2010-02-05 14:25:38 +01:00
3e7e777941
Properly send empty EAP-TLS messages
Martin Willi
2010-02-05 11:30:01 +00:00
51313a39d1
Derive MSK for EAP-TLS authentication
Martin Willi
2010-02-05 11:28:48 +00:00
110364b042
Verify Server Finished message
Martin Willi
2010-02-05 11:27:52 +00:00
f139b5786f
Implemented input record decryption and verification
Martin Willi
2010-02-05 10:50:29 +00:00
84543e6efa
Implemented key derivation, output record signing and encryption
Martin Willi
2010-02-04 18:18:10 +01:00
18010de23d
Derive master secret, create Finished message
Martin Willi
2010-02-04 11:17:48 +01:00
149b7e6d01
Implemented the TLS specific PRF in its TLSv1.0 and TLSv1.2 variants
Martin Willi
2010-02-04 10:08:07 +01:00
3ddd164e5e
Implemented sending of Certificate, ClientKeyExchange, CertificateVerify and ChangeCipherSpec as peer
Martin Willi
2010-02-03 19:53:40 +01:00
3a1640dea1
Implemented a tls_writer class to simplify TLS data generation
Martin Willi
2010-02-01 15:12:18 +01:00
4ef946dd64
Implemented a tls_reader class to simplify TLS data parsing
Martin Willi
2010-02-01 10:25:44 +00:00
3e962b0843
Process ServerHello(Done), Certificate(Request) messages
Martin Willi
2010-01-25 17:31:55 +01:00
698674c7f3
Send a ClientHello to start TLS negotiation
Martin Willi
2010-01-25 11:23:59 +00:00
536dbc00b9
Added TLS crypto helper, currently supports cipher suite selection
Martin Willi
2010-01-25 11:21:57 +00:00
9dc73cd21c
Added support for AUTH_HMAC_SHA2_256_256, used in TLS
Martin Willi
2010-01-25 11:15:05 +00:00
4c0c2283a5
Added stubs for handshake handling, server and peer variants
Martin Willi
2010-01-25 10:44:35 +01:00