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
Manuel Domke
a0345cdf18
cleanup
2017-12-31 19:17:58 +01:00
Manuel Domke
e523de9aee
added environment variable INFNOISE_DEBUG
2017-12-31 19:13:00 +01:00
Manuel Domke
9a5d776c5c
code cleanup
2017-12-31 18:58:31 +01:00
Manuel Domke
8224bdb69a
introduced environment variables INFOISE_SERIAL and INFNOISE_MULTIPLIER to inject settings via config file
2017-12-31 18:55:46 +01:00
Manuel Domke
81f1c15995
make systemd service configurable via /etc/infnoise.conf
2017-12-31 18:11:27 +01:00
Bill
3268edbf6c
Merge pull request #37 from manuel-domke/refactoring
...
improved error handling for listing devices and nicer output
2017-12-23 11:27:15 -08:00
Manuel Domke
7fae449d27
formatting
2017-12-23 15:41:56 +01:00
Manuel Domke
d8a5473dab
removed redundant VEND_ID and PROD_ID
2017-12-23 15:38:32 +01:00
Manuel Domke
6cd6b88b43
improved error handling for listing devices and nicer output
2017-12-23 15:37:35 +01:00
Rune Magnussen
2eebda163d
Only force new entropy once a minute when backgrounded
...
Make the poll-timeout one minute if the option --daemon is used.
This saves a lot og CPU-time.
2017-12-01 16:18:29 +01:00
Rune Magnussen
54101c0de4
Introduce struct opt_struct for parsed options.
...
Parsed options are now placed in a structure which is passed as
argument to functions reduce the number of parameters. This makes
the call sites simpler. It also makes more informations available
to the functions.
2017-11-30 23:04:22 +01:00
Manuel Domke
15f27862e9
Merge branch 'master' into master
2017-09-20 21:37:56 +02:00
Rune Magnussen
b1c311fe06
Fix compiler-warning from GCC 6.4
...
Redefining #defines gives a warning. That is trated like an error
with current compiler options.
2017-09-10 09:52:28 +02:00
Manuel Domke
a6bccc6b01
oops, refactored too much
2017-08-29 18:58:16 +02:00
Manuel Domke
fe1d217296
finally renamed constants...
2017-08-29 18:56:09 +02:00
Bill Cox
07efda146a
Changed some formatting
2017-08-29 09:20:52 -07:00
Manuel Domke
858139e782
Improved error handling
2017-08-29 17:26:02 +02:00
Manuel Domke
79fd4ae3ae
Implemented --serial and --list-devices to specify device to start for
2017-08-29 15:50:58 +02:00
Bill Cox
3e406cfbb2
Initialize Keccak before use
2017-03-26 08:26:15 -07:00
Bill Cox
4f135647f2
Patched Makefile with edits from Rune Magnus
2016-07-01 09:22:50 -07:00
Bill Cox
bfaa38b048
Updates from Rune Magnus
2016-06-29 08:28:37 -07:00
Bill Cox
398fcb013d
Changed 64-bit var bytesWritten to totalBytesWritten
2015-12-23 11:57:59 -08:00
Bill Cox
bb14828ea1
Cleanup patches from Rune Magnussen
2015-09-15 03:53:44 -07:00
Bill Cox
d71b1c286b
Chaned pid_t to int32 for portability
2015-08-24 04:26:45 -07:00
Bill Cox
d785240e80
Applied daemon patch, thanks to Rune Magnussen
2015-08-18 09:44:00 -07:00
Bill Cox
dbc4dd0db9
Fixed compiler warnings - patch from Rune Magnussen
2015-08-10 07:54:54 -07:00
Bill Cox
d87a49c282
Modified behaviour of output multiplier so that 0 means ouitput all the entropy we generate
2015-07-08 09:51:01 -07:00
Bill Cox
1196eb51cc
Updated Makefiles based on feedback from Rune Magnussen <rum@bankdata.dk>
2015-06-29 11:54:02 -07:00
Bill Cox
ffd784bf05
Updates
2015-03-05 21:24:55 -08:00
Bill Cox
2f7727da1e
Changed to using 256 bits out for each 512 in by default unless writing to /dev/random
2015-01-15 23:29:15 -08:00
Bill Cox
1006254e2b
Restructuring a bit
2014-12-10 13:03:19 -05:00
Bill Cox
aa7ab00e84
Checking timing failures on bit-bang vs loading
2014-11-12 14:42:24 -05:00
Bill Cox
5951fd00dd
Added timer to insure I/O operations are fast enough for bit-bang
2014-11-08 10:35:48 -05:00
Bill Cox
c72aec8771
Made output multiplier in 256-bit units
2014-11-03 12:47:32 -05:00
Bill Cox
0e54073c88
Did some testing on the FT240X sync mode bit-bang... all working fine.
2014-11-03 10:15:13 -05:00
Bill Cox
14ab8ffab9
Updated BOM
2014-11-03 07:43:17 -05:00
Bill Cox
1470d67d59
Fixed bug in calling Keccak
2014-11-02 15:55:16 -05:00
Bill Cox
97036593c7
update
2014-11-02 06:27:43 -05:00
Bill Cox
8aeff4f602
update
2014-10-31 16:34:14 -04:00
Bill Cox
24f5520035
Fisrt completed USB key works
2014-10-31 08:12:11 -04:00
Bill Cox
303b3d21d3
updates
2014-10-27 22:27:32 -04:00
Bill Cox
7ef4fc0271
Check each group of 512 bits for having enough entropy
2014-10-26 17:22:47 -04:00
Bill Cox
4b01bd77c3
Got the V1 version of the INM board working
2014-10-26 13:51:22 -04:00