Commit Graph

107 Commits

Author SHA1 Message Date
Manuel Domke
91758038cb inmWriteEntropyEnd only works on Linux 2019-04-16 16:32:08 +02:00
Patrick Siegl
de7b6be8fd sprintf() in not a buffer, could create any issue 2019-03-31 23:49:26 +02:00
Patrick Siegl
1ca054ed7e Recursive listUSBdev.() 2019-03-31 22:58:26 +02:00
Patrick Siegl
64fe6d84a6 errorflag already set in init 2019-03-28 22:03:48 +01:00
Manuel Domke
0cd6018709 Merge branch 'master' into cleanup 2019-03-27 22:16:01 +01:00
Patrick Siegl
3cfcbd94d7 Feature: clean shutdown 2019-03-27 21:41:17 +01:00
Patrick Siegl
0a861f8b8b Cleanup list of USB devices & assign debug directly 2019-03-24 23:59:27 +01:00
Patrick Siegl
5d09246d06 Unrequired i counting 2019-03-24 23:43:14 +01:00
Patrick Siegl
d6bdd34b85 version should be printed, before any env is read 2019-03-21 22:37:04 +01:00
Patrick Siegl
fb270db373 empty string comparision simplified; easied if-clauses in infnoise.c 2019-03-21 22:36:10 +01:00
Patrick Siegl
fdfcce7020 Improve code quality 2019-03-20 22:05:54 +01:00
Manuel Domke
9af2987760 fix build on MacOS 2018-10-04 10:19:27 +02:00
Manuel Domke
450a84a31e fix buffer size for raw mode & error handling when no device is connected 2018-09-07 10:41:52 +02:00
Manuel Domke
856ae8e44c fix result size for output buffer 2018-09-05 16:55:24 +02:00
Manuel Domke
9b9822bab7 cleanup 2018-09-03 17:57:17 +02:00
Manuel Domke
71df49d7bf next big step completed: fixed keccak multiplicator and --dev-random mode after libinfnoise refactoring (interface changed!) 2018-08-27 17:48:27 +02:00
Manuel Domke
25605e673e fix --dev-random mode (multipliers still buggy) 2018-08-15 17:21:59 +02:00
Manuel Domke
9f241bcd27 remove debug messages 2018-08-11 23:29:34 +02:00
Manuel Domke
8a930f2783 fix buffer size for multiplier mode 2018-08-11 23:16:50 +02:00
Manuel Domke
15abb6571f reformat code, many fixes, still some bugs (--dev-random with multiplier behaves very strange) 2018-07-26 18:21:04 +02:00
Manuel Domke
6d832f1b12 fix --list-devices (still buggy, but works!) 2018-07-26 13:15:30 +02:00
Manuel Domke
e380194881 untested fix for --list-devices (no device at hand to test right now..) 2018-07-26 09:20:35 +02:00
Manuel Domke
773cf01575 finish infnoise_context & start work on listUSBDevices (to return a device list struct) 2018-07-24 18:51:21 +02:00
Manuel Domke
7b1f6a7965 instroduce infnoise_context struct 2018-07-24 09:50:26 +02:00
Manuel Domke
f0b407b9c5 set entropy to 0 2018-07-17 18:08:25 +02:00
Manuel Domke
4dcf1d81dd refactored outputBytes (/dev/random not working yet) 2018-07-17 17:12:33 +02:00
Manuel Domke
e674b38c76 first step to clean up libinfnoise 2018-07-17 13:34:34 +02:00
Dirk-Willem van Gulik
20fb5173a9 Minor tweaks to make OSX and FreeBSD and other BSD variants work. 2018-07-11 13:04:13 +02:00
Manuel Domke
fcb1fe0a1f Merge remote-tracking branch 'upstream/master' 2018-07-08 01:27:13 +02:00
Manuel Domke
379c40f367 Merge pull request #1 from psiegl/master
Update support for ArchLinux
2018-07-08 00:59:25 +02:00
Kenji Rikitake
fe58ee981b Use getopt_long() for parsing command options 2018-07-07 11:38:58 +00:00
Dylan McNamee
b472549e15 Minor changes to get it working on macOS 2018-07-05 18:18:57 -07:00
Patrick Siegl
0d5042549b Fix merge 2018-06-27 21:57:33 -04:00
Patrick Siegl
6f71f97005 Just removed a whitespace 2018-06-27 20:15:25 -04:00
Patrick Siegl
e03b621829 Fix to build infnoise on current ArchLinux 2018-06-27 20:12:36 -04:00
Manuel Domke
08ef215491 add libinfnoise usage examples 2018-04-22 08:27:38 +02:00
Manuel Domke
8a312f5ddf new approach for error handling 2018-04-22 04:41:43 +02:00
Manuel Domke
3e04d09937 bats tests for the driver + libinfnoise cleanup 2018-04-22 00:39:30 +02:00
Manuel Domke
a566f330c4 revert changed to listUSBDevices, for now it just print to stdout 2018-04-21 17:15:28 +02:00
Manuel Domke
4825a7bcab error messages / no (or less?) stderr in lib functions 2018-04-19 01:38:28 +02:00
Manuel Domke
4a14cd7e82 clean up libinfnoise.h 2018-04-18 23:57:04 +02:00
Manuel Domke
61d534ef1d remove BUILD_DATE from --version 2018-04-16 18:39:15 +02:00
Manuel Domke
608461cd57 first shot for a libinfnoise approach 2018-04-15 23:50:03 +02:00
Manuel Domke
ba741b5483 remove device description 2018-04-03 01:00:02 +02:00
Manuel Domke
c1560e521f initialize opts.version to false 2018-03-02 21:59:05 +01:00
Manuel Domke
c64acb0ccc also -v 2018-03-01 22:01:04 +01:00
Manuel Domke
7cd47ee970 added --version for git releases 2018-03-01 21:57:21 +01:00
Manuel Domke
a29e3c481f --help returns with exit-code 0 now. rc=1 when errors in option parsing. 2018-02-26 14:09:50 +01:00
Bill
01face5725 Merge pull request #39 from manuel-domke/config
make systemd service configurable via /etc/infnoise.conf
2018-01-12 16:29:16 -08:00
Rune Magnussen
a98408c95e Always se long poll() timeout
Many init systems do their own backgrounding so use long timeout
unconditionally. Change suggested by Manuel Domke.
2018-01-04 16:51:48 +01:00