Commit Graph

1458 Commits (PKCS7_verify)

Author SHA1 Message Date
aidan garske 08c24d4cf3 Added pkcs7-verify verification of matching output and .p7b
added DER to PEM check  wc_DerToPem.
2024-07-08 16:25:46 -07:00
aidan garske 4465fe0a5d Merge branch 'PKCS7_verify' of https://github.com/aidangarske/wolfssl-examples into PKCS7_verify 2024-07-02 12:01:59 -07:00
aidan garske 2e8642ddd3 PKCS7-verify example for PKCS7 DER and PEM. 2024-07-02 11:46:53 -07:00
aidan garske 0971b433d7 PKCS7-verify example for PKCS7 DER and PEM. 2024-07-02 11:30:23 -07:00
JacobBarthelmeh ec737760ba
Merge pull request #440 from anhu/12345
Remove addition of unknown extension in dual alg cert demos
2024-06-21 09:23:53 -06:00
Anthony Hu a601c7e284 Remove addition of unknown extension in dual alg cert demos 2024-06-19 17:07:07 -04:00
David Garske 7014d6961e
Merge pull request #429 from JacobBarthelmeh/pkcs7_stream
update example to handle larger inputs
2024-06-06 08:16:21 -07:00
David Garske 37f622e492
Merge pull request #434 from SparkiDev/certvfy
Low-level certificate verification examples
2024-06-06 07:10:40 -07:00
Sean Parkinson 03af3cf231 Low-level certificate verification examples 2024-06-06 15:53:14 +10:00
David Garske b88dc1b0f4
Merge pull request #437 from anhu/pre-gen-pem
Pre-generate PQ PEM priv keys for the X9.146 demos
2024-05-23 10:43:12 -07:00
Anthony Hu abac0000d2 Pre-generate PQ PEM priv keys for the X9.146 demos 2024-05-22 17:02:11 -04:00
David Garske a68fe84c0f
Merge pull request #436 from philljj/update_lms_xmss_examples
Update lms xmss examples
2024-05-13 09:16:40 -07:00
jordan 1252dd6a34 Add missing wc_LmsKey_Init call. 2024-05-09 15:31:11 -05:00
jordan 64aedb43d0 Small readme cleanup. 2024-05-09 15:12:26 -05:00
jordan 946e6f3e7e Update LMS and XMSS examples. 2024-05-09 15:08:29 -05:00
Sean Parkinson 2326995fb0
Merge pull request #435 from bandi13/ConsolidateNaming
Several fixes in various tests across the repository
2024-05-02 10:42:57 +10:00
Andras Fekete 21b7c8e4fe Addressing PR comment 2024-05-01 14:13:58 -04:00
Andras Fekete 077ac687d7 Avoid the word "WARNING" in messages 2024-05-01 14:03:01 -04:00
Andras Fekete a698039f54 Give an error when dependencies are unmet 2024-04-30 14:34:12 -04:00
Andras Fekete 1d689c8e1b Fix library path 2024-04-30 12:41:33 -04:00
Andras Fekete 53b1c7d577 Added 'ecc-client-keyPub.der' needed by pkcs7/signedData-cryptocb 2024-04-30 11:00:42 -04:00
Anthony Hu d9fcb0e62c
Merge pull request #433 from philljj/fix_lms_example
Check privSz after GetPrivLen.
2024-04-25 11:10:30 -04:00
jordan c47e7a8bb7 Check privSz after GetPrivLen. 2024-04-25 10:05:02 -05:00
Andras Fekete e9ef698710 Don't ignore errors when building executable 2024-04-22 10:42:27 -04:00
Andras Fekete 953b896d86 Fix compile error 2024-04-22 10:12:56 -04:00
Andras Fekete 843e4ac8e2 Grab the latest certs from the `wolfSSL` repo 2024-04-19 14:27:42 -04:00
Andras Fekete a5168edc72 Remove forced TLS1v3 in cryptocb example 2024-04-18 16:05:06 -04:00
Andras Fekete 0c031ea601 Client needs to have the same TLS version as server 2024-04-18 13:41:47 -04:00
philljj 7eff6cb7fb
Merge pull request #431 from rizlik/dtls-server-fixes
dtls: server fixes
2024-04-11 09:44:11 -05:00
Marco Oliverio ae0372d06a dtls: client-threaded: remove 1 sec sleep between wolfSSL_Connect 2024-04-11 14:24:44 +02:00
JacobBarthelmeh 0f2a276dd5
Merge pull request #432 from cconlon/androidUpdate
Android: update wolfssljni Android Studio project
2024-04-09 16:05:10 -06:00
Chris Conlon 12fdd23b08 Android: update wolfssljni Android Studio project, bump Android Gradle Plugin from 8.0.2 to 8.3.1 2024-04-08 13:36:11 -06:00
Tobias Frauenschläger ea6825ce1c
X9.146: Sign certificates with the right key (#426)
* X9.146: Sign certificates with the right key

The hybrid certificate X9.146 examples used the wrong private key for
creating the alternative signature of the server certificate. It has to
be the issuer key (from the root certificate), not the private key from
the server certificate. Also add -d for server to disable mutual authentication.



---------

Signed-off-by: Tobias Frauenschläger <t.frauenschlaeger@me.com>
Co-authored-by: Anthony Hu <anthony@wolfssl.com>
2024-04-04 22:10:10 -04:00
Andras Fekete aaa1227d17 Allow TLS1.3 connections 2024-04-04 14:08:20 -04:00
Andras Fekete 4c2f96ff64 Clean up wolfSSL path variable name 2024-04-04 13:28:23 -04:00
Marco Oliverio dca8dab35c dtls: server threaded: fix: set dtls peer as soon as possible
avoid calling wolfSSL_Accept() on a socket while peer is not set, otherwise the
SSL objects may sends messages to the wrong peer. Also, use a "connected"
udp-socket to allow receiving packets from other peers in another socket bound
to the same local address.
2024-04-04 17:37:21 +02:00
JacobBarthelmeh f0e18b6c4c update example to handle larger inputs 2024-03-22 02:40:11 +07:00
lealem47 a70760ed82
Merge pull request #428 from embhorn/certgen_cleanup
Fix up readme and build issues in certgen examples
2024-03-18 08:27:05 -06:00
Eric Blankenhorn 20d13d8526 Fix up readme and build issues in certgen examples 2024-03-13 14:16:06 -05:00
David Garske 17f1b3d164
Merge pull request #425 from JacobBarthelmeh/pkcs7_stream
add content/stream callback example
2024-03-11 09:53:41 -07:00
JacobBarthelmeh 5238018ba7 use macro for default example buffer size 2024-03-11 23:47:12 +07:00
JacobBarthelmeh 10caec0960 update copyright date, static variable, and use macro for default example buffer size 2024-03-11 23:46:07 +07:00
JacobBarthelmeh 5cb510a48a fix for warnings and add guard on WOLFSSL_USER_SETTINGS define 2024-03-11 16:27:07 +07:00
JacobBarthelmeh 72dd37e11c update stream example for user CTX 2024-03-04 06:46:53 -07:00
JacobBarthelmeh 7f7170609e add content/stream callback example 2024-02-26 09:46:28 -07:00
Chris Conlon 7afa73de2d
Merge pull request #379 from JacobBarthelmeh/PKCS7
add example to generate smime
2024-02-21 11:49:21 -07:00
JacobBarthelmeh e23490c0d6
Merge pull request #423 from rizlik/uefi_wolfcrypt
uefi: add wolfcrypt uefi example
2024-02-22 01:10:45 +07:00
JacobBarthelmeh e73bc9578d add setting key wrap OID to example 2024-02-21 17:17:04 +07:00
JacobBarthelmeh e310409d0e increase default example smime buffer size 2024-02-21 17:09:48 +07:00
JacobBarthelmeh 7b48a13f34 update README 2024-02-21 17:03:16 +07:00