aboutsummaryrefslogtreecommitdiffstats
path: root/scripts
Commit message (Collapse)AuthorAgeFilesLines
* test_java.sh: Call test class main function, allowing us to chose a single ↵Sven Gothel2022-12-311-2/+6
| | | | test, don't wrap args
* test_exe_template.sh: Return test result for caller to digestSven Gothel2022-12-311-3/+6
|
* Add C++20 support, use Eclipse via cmake prepare and external make, mention ↵Sven Gothel2022-12-302-0/+42
| | | | | | | clang-tidy and VSCodium and IDE integration To pass C++17/C++20 via clang-tidy, botan is build as a static library upfront w/o detailed warnings (for now).
* test_java: Add valgrind and Asan (debug libasan instrumentation) 'knobs'Sven Gothel2022-08-051-0/+17
|
* Build: Adopt to jaulib changes, included io_util and byte_stream as-is ↵Sven Gothel2022-08-052-0/+38
| | | | (dropped Botan knobs, unified), add ByteOutStream_File
* Adopt to jaulib changes and resolve decrypting error for late zero-size'd ↵Sven Gothel2022-07-312-6/+19
| | | | | | | | | | | | | | | | is_final no-content-size aware streams using double-buffered read_stream() ... In contrast to using other buffered solutions, jau::io::read_stream() utilizes the given buffers and hence does not need to copy the data. Further .. cipherpack::hash_util::calc() Use new jau::io::ByteInStream_File(dirfd, path), being robust against directory manipulations and reducing OS lookup ops. Status: - Handling of content-size aware streams and lack thereof is covered - Detection and using file/chr/fifo stream nature is supported.
* manual test scripting w/ private dataSven Gothel2022-07-292-6/+10
|
* Remove libcurl dependency if not selected, i.e. `-DUSE_LIBCURL=ON` not set ↵Sven Gothel2022-07-261-2/+2
| | | | at cmake
* Adding hash algo to cipherpack:hash_util::append_to_file() signature line, ↵Sven Gothel2022-07-251-4/+14
| | | | allowing automated validation using different hash algo and future proof documentation of files
* scripts/test*.sh: mkdir $rootdir/doc/test for logfileSven Gothel2022-07-252-2/+3
|
* commandline cipherpack (native): Support pack, unpack and hash on fd pipe ↵Sven Gothel2022-07-252-4/+86
| | | | for streaming, add manual full test script.
* Build amalgamation of Botan for os_name-archabi, supporting FreeBSDSven Gothel2022-07-251-8/+6
|
* Update scripts, analog to jaulib v0.14.0-37-g8e76c99Sven Gothel2022-07-2512-309/+223
|
* build-botan: Update amalgamation files, adding blake2, ...Sven Gothel2022-07-111-23/+43
|
* Adopt to jaulib v0.13.1-81-g2ebef56 changes: CPUtils migration, package ↵Sven Gothel2022-07-071-0/+1
| | | | relocation
* README: Add TEST_WITH_SUDO and USE_LIBCURL, USE_LIBUNWINDSven Gothel2022-06-261-11/+2
|
* Botan: Add modules emsa_raw,pbes2,eme_pkcs1,emsa_pkcs1 to support passphrase ↵Sven Gothel2022-06-061-2/+2
| | | | for key files
* scripts/run-*.sh: Remove sudo requirement, use core_pattern as-isSven Gothel2022-06-032-2/+2
|
* Add valgrind supp filesSven Gothel2022-06-033-0/+335
|
* Fix DoxygenSven Gothel2022-06-031-0/+49
|
* Update and fix run-{java|native}-test.sh scriptsSven Gothel2022-06-033-61/+171
|
* scripts/build.sh: Add BUILDJAVA=ONSven Gothel2022-06-021-2/+2
|
* Java Binding 1/2 (Build clean, WIP) and minor alignmentsSven Gothel2022-06-021-5/+5
| | | | | | Minor alignments - Drop PacketInfo, return PackedHeader - Type int -> string: payload_version, payload_version_parent
* Fix test scriptsSven Gothel2022-05-304-14/+33
|
* Add CipherpackListener, using as general lister/callback solution for ↵Sven Gothel2022-05-301-2/+5
| | | | encrypt/decrypt functions
* Rename Project: Elevator -> Cipherpack, namespace elevator::cipherpack -> ↵Sven Gothel2022-05-301-3/+3
| | | | cipherpack, added pure streaming encryption/decryption base function
* rebuild.sh: Drop running testing on rebuild, do it manuallySven Gothel2022-05-291-1/+1
|
* scripts/test_data_[un]pack.sh: Adding my local cipherpack testsSven Gothel2022-05-292-5/+84
|
* Remove obsolete mini_httpd.sh scriptSven Gothel2022-05-281-16/+0
|
* Add script/run_native_test.shSven Gothel2022-05-271-0/+55
|
* Restructure directories: keys -> test_keys, move test_data/pack_files.sh -> ↵Sven Gothel2022-05-271-0/+28
| | | | scripts/test_data_pack.sh; Add test_data-10kiB.bin*
* Update build scripts, add cross building scriptsSven Gothel2022-05-236-4/+169
|
* Using 'mini_httpd' for unit testing etc .. ↵v0.2.0Sven Gothel2021-06-221-0/+16
| | | | | | 'http://localhost:8080/test_data/'; Bump README.md Added http url stream test to test_02_cipherpack.cpp
* [re]build.sh: Use archabi dedicated build logSven Gothel2021-06-222-4/+6
|
* build-botan.sh: `--disable-neon` for ARM32 due to NEON ASM GCC issues ↵Sven Gothel2021-06-211-1/+9
| | | | *FIXME* ; ARM64 builds, passes auto + manual tests
* scripts/build-botan.sh: Enable armhf and arm64, supported: armhf, arm64 and ↵Sven Gothel2021-06-211-9/+30
| | | | amd64
* scripts/run_cipherpack.sh: disable debug verbositySven Gothel2021-06-201-1/+1
| | | | | | | | | | | | | | | | | Notable: Manual decryption test over http of 1GB maxed my network bandwidth of 1000 Mbit/s sven@risa:/usr/local/projects/zafena/elevator/dist-amd64$ ../scripts/run_cipherpack.sh -deconly http://jordan/deployment/elevator/data-1GB.mkv.enc COMMANDLINE ../scripts/run_cipherpack.sh -deconly http://jordan/deployment/elevator/data-1GB.mkv.enc elevator_debug elevator_verbose true Called Elevate::Crypt bin/cipherpack with 2 arguments: bin/cipherpack -deconly http://jordan/deployment/elevator/data-1GB.mkv.enc Called Elevate::Crypt bin/cipherpack decrypt-only Called Elevate::Crypt bin/cipherpack input http://jordan/deployment/elevator/data-1GB.mkv.enc [ 9,006] Wordy: Decrypt: Writing done, 1,055,354,367 total bytes from 1,055,354,383 bytes input, ratio 1.000000 in/out [ 9,006] Decrypt: Duration 9 s, 9,005 ms [ 9,006] Decrypt: Size 1,055 MB [ 9,006] Decrypt: Bitrate 938 Mbit/s, 117 MB/s [ 9,006] Decrypted1 result: Output decrypted file out.dec: Result 1
* examples/cipherpack: Add optional option '-deconly' and support http source, ↵Sven Gothel2021-06-201-1/+1
| | | | drop removed code
* IOUtil: Adding async read_http_get() using jau::ringbuffer, misc cleanupSven Gothel2021-06-201-0/+4
| | | | | | | | | | | | | | | New async read_http_get() spawns off a new thread using CURL feeding the ringbuffer. Subsequent read operations in the user thread empty same ringbuffer to process the data. User passes certain atomic state tracking variables, allowing to be aware of the ongoing background http process. Tested via test_02_iostream.cpp using `http://jordan/deployment/elevator/` as a fixed http root source location. +++ Adding noexcept where applicable.
* Initial support for http-get IOUtil::read_http_get(..) using curl (system ↵Sven Gothel2021-06-074-0/+102
| | | | package)
* Use local catch2 build (w/ rtti as required by botan); No need to subdir ↵v0.1.0Sven Gothel2021-06-071-3/+5
| | | | into jaulib
* Add amalgamated platform dependend files under 'include/amalgamation-amd64', ↵Sven Gothel2021-06-072-4/+4
| | | | 'include/amalgamation-arm64', etc .. (patch 1)
* Initial commit of working Cipherpack (See include/elevator/Cipherpack.hpp)v0.0.1Sven Gothel2021-06-073-3/+50
|
* Fix initial setupSven Gothel2021-03-022-3/+4
|
* Initial commit - Skeleton ProjectSven Gothel2021-03-023-0/+144