libgocryptfs/internal/configfile
Jakob Unterwurzacher 61ef6b00a6 -devrandom: make flag a no-op
Commit f3c777d5ea added the `-devrandom` option:

    commit f3c777d5ea
    Author: @slackner
    Date:   Sun Nov 19 13:30:04 2017 +0100

    main: Add '-devrandom' commandline option

    Allows to use /dev/random for generating the master key instead of the
    default Go implementation. When the kernel random generator has been
    properly initialized both are considered equally secure, however:

    * Versions of Go prior to 1.9 just fall back to /dev/urandom if the
      getrandom() syscall would be blocking (Go Bug #19274)

    * Kernel versions prior to 3.17 do not support getrandom(), and there
      is no check if the random generator has been properly initialized
      before reading from /dev/urandom

    This is especially useful for embedded hardware with low-entroy. Please
    note that generation of the master key might block indefinitely if the
    kernel cannot harvest enough entropy.

We now require Go v1.13 and Kernel versions should have also moved on.
Make the flag a no-op.

https://github.com/rfjakob/gocryptfs/issues/596
2021-08-25 12:39:17 +02:00
..
config_test tests: update config_test example files 2016-06-16 23:19:05 +02:00
config_file.go -devrandom: make flag a no-op 2021-08-25 12:39:17 +02:00
config_test.go -devrandom: make flag a no-op 2021-08-25 12:39:17 +02:00
feature_flags.go configfile: add Validate() function, support FlagXChaCha20Poly1305 2021-08-23 16:00:41 +02:00
scrypt.go configfile: add Validate() function, support FlagXChaCha20Poly1305 2021-08-23 16:00:41 +02:00
scrypt_test.go go mod: declare module version v2 2021-08-23 15:05:15 +02:00
validate.go configfile: add Validate() function, support FlagXChaCha20Poly1305 2021-08-23 16:00:41 +02:00