John Safranek
da4b19524d
RSA Private Key Generation Wrapper Function
...
1. Implemented the RSA key generation wrapper function.
2. Rearrange the unit test code.
3. Added RSA key generation wrapper function to unit test.
4. Removed certificate load from echoserver.
5. Not using certificates, removed the functions and storage.
6. Removed unused certificate files.
7. Renamed certs directory as keys.
8. Removed the example server from the build for now.
9. Created new server key with the RSA key generation function.
10. Add IDs for public keys for keygen use.
11. Whitespace cleanup.
2016-10-13 10:02:03 -07:00
JacobBarthelmeh
7952fdf035
Merge pull request #17 from ejohnstown/highwater
...
Transfer Highwater Mark, Session Key Refactoring
2016-10-05 17:07:10 -06:00
John Safranek
569890067a
Added a transfer highwater callback to the echoserver that
...
prints that the highwater mark was hit and doubles the
highwater mark value. It is disabled by default. To use,
when configuring add the CPPFLAG "DEFAULT_HIGHWATER_MARK".
For example, `CPPFLAGS=-DDEFAULT_HIGHWATER_MARK=128`
2016-10-05 14:56:21 -07:00
John Safranek
b0d318fce0
wolfCrypt Update
...
Include wolfSSL's options.h to echoserver.c. When building wolfSSL
with AES-NI and wolfSSH in debug, the ALIGN16 on the SHA-256
structure is lost in wolfSSH, where the wolfCrypt code is expecting
the parameters to be ALIGN16.
2016-10-05 12:14:05 -07:00
John Safranek
c71f4e8948
tweaked the err_sys to follow the updated wolfSSL version
2016-08-27 14:08:53 -07:00
John Safranek
629cb8d160
Copied change to err_sys() from wolfSSL. Cleaned up a static analysis
...
issue. Also added the attribute noreturn to the function since it
doesn't actually return.
2016-08-25 13:15:24 -07:00
John Safranek
1a278fe713
update copyright dates and licensing to GPLv3
2016-07-19 13:44:02 -07:00
John Safranek
525a8858c5
Add return code when the peer window is too small on a send. Echoserver wasn't properly checking the return code on the stream receive.
2016-07-14 14:47:30 -07:00
John Safranek
d101f1d537
fix a few stray memory leaks
2016-07-14 12:58:37 -07:00
John Safranek
4dc3c56a88
fixing RSA public key user auth, failover to password
2016-07-13 15:11:33 -07:00
John Safranek
ba8c512a77
1. Some files were missing from make dist.
...
2. Reorg examples/include.am.
3. Stop building example server for now, but keep the source.
2016-07-06 13:49:08 -07:00
John Safranek
d3bfc61d44
remove unused assignment in echoserver
2016-06-22 15:41:33 -06:00
John Safranek
89d92bb886
refactor userauth
2016-06-17 14:23:20 -07:00
John Safranek
a275ac59f0
1. Flushed out the authentication callback.
...
2. Added public key authentication.
2016-06-17 14:23:20 -07:00
dgarske
8e3e5a1bf5
Merge pull request #3 from ejohnstown/fixes1
...
Fixes1
2016-06-17 11:29:01 -07:00
John Safranek
24c606527a
echoserver detects CTRL-C and closes the connection
2016-04-11 08:39:55 -07:00
John Safranek
0386a3c50f
move shared inline functions to misc file. add configure option to disable inline functions.
2016-04-01 14:40:22 -07:00
John Safranek
2ce312400a
example echoserver behaves like a crude echoserver
2015-01-14 15:04:47 -08:00
John Safranek
e21e6fd0eb
copy example server as echoserver
2015-01-14 12:21:26 -08:00
John Safranek
f9fa42e244
1. added in the stream receive function
...
2. example uses the new receive function
2015-01-14 10:53:33 -08:00
John Safranek
b548720a9a
1. added in the stream send function
...
2. example uses the new send function
3. added in window size update receipt
4. tweaked the accept state machine to actually finish
2015-01-07 13:49:01 -08:00
John Safranek
917c6a84c4
Clean up build warnings under Linux
2014-08-14 11:46:23 -07:00
John Safranek
7e2674c29a
1. Added test certificate and private key.
...
2. Added code to load single certificate and private key from buffers.
2014-08-15 14:20:42 -07:00
John Safranek
f4b1908b17
Refactor the constants.
2014-08-15 11:37:00 -07:00
John Safranek
8cb5fea384
1. Added a description comment to each C and H file.
...
2. Updated the FSF address in the comments.
2014-08-11 16:19:11 -07:00
John Safranek
bf052f42c9
Added an endpoint type, client or server, to the wolfSSH context
...
constructor. (For future use.)
2014-08-11 14:45:03 -07:00
John Safranek
1d2e1af069
filling in code
2014-07-28 07:12:54 -07:00
John Safranek
dd897d2f6c
example server attempts to accept an SSH connection. Note, the underlying code will lock up.
2014-07-14 11:09:50 -07:00
John Safranek
f894548be5
Updated example server to use threads
2014-07-03 11:08:34 -07:00
John Safranek
eb82d2bf28
Adding code
2014-07-01 17:27:47 -07:00
John Safranek
749cb6ff90
initial set of files
2014-06-24 14:48:08 -07:00