Commit Graph

21 Commits (1a0be6492fb6feec408e8c26f28b5c1c2a1ff5d4)

Author SHA1 Message Date
John Safranek 559f8252fb CFLAGS
1. In harden_cc_flags, put all the flags into AM_CFLAGS.
2. Move the autoconf set -D flags to AM_CPPFLAGS.
2018-08-06 11:02:00 -07:00
Chris Conlon 0745013d67 bump dev version to 1.2.2 2018-06-12 14:29:00 -06:00
Jacob Barthelmeh b467a3073c able to establish SFTP connection and start of adding commands (still in devel, has debug print statements)
refactor sending SFTP packets

try to make internal function names more clear, add comments, and update sftp example

add parsing names and most of attributes

add SFTP debug tag

add mkdir with SFTP

start of framework for get

add get command and keep track of working directory

base case of put command

basic sftp rename command

basic sftp rm command

initial basic rmdir command added

initial basic reget/reput commands

clean up absolute path to working directory

move location of sftp client app and more testing

add more comments and make code more readable

cast on values and add exit

adjust macro names and test make dist

adjust gitignore and macro names

gcc-7 build

revert nameListIdx increment to find ssh-rsa

more comments

fix for possible use uninitialized warning

initial SFTP accept

send status packet and start of realpath

server side mkdir

initial process of stat and lstat packets

initial processing of rmdir packet

basics for server handling SFTP get command

initial commit for server handling basic put command

initial handling of receiving remove packet

initial server handling of rename packet

initial implementation of handling directory packets

better checking on return values

set correct return value on successful read

additional sanity checks on user inputs

make send and read packet API name more clear

cast for warning building with clang
2018-06-01 17:20:54 -06:00
Chris Conlon 5a42829087 add scp server support for receiving individual files and recursive
directories
2018-05-31 13:45:54 -06:00
John Safranek a3da921219 Update Configure
1. Removed some redundant macros.
2. Added missing quotes to some macro parameters.
3. Condensed some sets of macros into a single macro with a parameter list.
4. Removed some ignored parameters to macros.
2018-05-23 09:48:38 -07:00
John Safranek a41b292484 Update M4
1. Update several of the macro files paralleling wolfSSL's m4 files.
2. Check the ar options and if available add the "U" options.
3. Add the -Xcompiler flag ahead of -Qunused-arguments for -pthreads.
2018-05-21 15:22:35 -07:00
John Safranek 65fb16ddc4 Client
1. Added support to the library for clients.
2. Added example client.
3. Added VS solutions for building client example.
4. Added ECC client keys. Renamed existing keys.
5. Since defunct server is copy of echoserver, updated it.
2017-09-25 14:45:03 -07:00
John Safranek 1498bc5409 IDE Support
1. Added Windows Visual Studio build solution. Includes projects for:
 * wolfSSH static library
 * echoserver
 * unit-test
 * api-test
 * 32- and 64-bit debug and release builds for all
2. Made necessary tweaks including adding some wrapper functions so the code compiles for both Linux/macOS and Windows.
3. Fixed a bug in the KDF test where the output buffer wasn't updated when SHA-256 was added.
4. Added the fallthrough attribute for GCC7.
5. Replaced all uses of `uint8_t`, `uint16_t`, and `uint32_t` with the wolfCrypt provided `byte`, `word16`, and `word32`.
6. Split the new channel function into new and init.
7. Added some ECC keys for authentication testing.
8. Moved some functions and includes around.
9. Removed the keying state machine and replaced with a flag.
10. Added rekey trigger if the client sends *CTRL-F* to echoserver.
11. Moved the sequence number increase outside `CreateMac()`. Incremented if the packet was successfully created. This way the sequence number is incremented when using AES-GCM.
12. Removed the redundant function `SendText()`.
13. Renamed the `clientId` related functions and data members to `protoId` to keep things role agnostic.
14. Changed all references of `clientKey` and `serverKey` to `keys` and `peerKeys`.
15. Updated `GenerateKeys()` to generate `keys` and `peerKeys` appropriately based on the endpoint side.
16. Added the wolfSSL style _test.h_ file to group shared example functions in one place.
17. Changed the echoserver to be similar to wolfSSL's where the code may be included without the main function in another executable.

Note:
This commit is a squash of more than a dozen commits. IDE support was added to the client branch, but the client branch is on hold. There were many changes in the client branch that are needed going forward. The code at the head of the client branch was copied over to the IDE branch, and the client code either deleted or removed from the build.
2017-09-12 14:42:23 -07:00
John Safranek be57ef6b95 1. Bump the version numbers.
2. Remove some unused option strings and constants. They may be
   distracting.
2017-07-06 16:24:18 -07:00
John Safranek afdbf2b7fe Update the configure script and readme for v1.1.0. 2017-06-15 08:08:20 -07:00
John Safranek 184182d152 Prep for v1.0.0
1. Bump version number.
2. Update readme.
3. Move the coding standard to a notes file.
2016-10-23 16:06:08 -07:00
John Safranek 919ed1f944 Optionally compile keygen.c. 2016-10-14 13:16:07 -07:00
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
John Safranek de31a95dbc update copyright date on configure.ac 2016-07-19 14:02:50 -07:00
John Safranek 6655f1cdea bump version 2016-07-18 21:23:39 -07:00
dgarske 8e3e5a1bf5 Merge pull request #3 from ejohnstown/fixes1
Fixes1
2016-06-17 11:29:01 -07:00
John Safranek fc192b53be bump version 2016-04-06 10:26:18 -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 d7f1cb321c switch from CyaSSL to wolfSSL for crypto 2015-01-13 09:39:48 -08:00
John Safranek f894548be5 Updated example server to use threads 2014-07-03 11:08:34 -07:00
John Safranek 749cb6ff90 initial set of files 2014-06-24 14:48:08 -07:00