Skip to content

A simple bash script for generating master key files in a secure way.

License

Notifications You must be signed in to change notification settings

phantomcraft/mkeygen

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 

Repository files navigation

mkeygen - Master key generator
==============================

* Requirements: Coreutils from 2017 on, Sed and findutils (any regular 
    Linux distribution should have these packages already installed).



This is a simple script for generating master key files 
in a secure way for using with cryptsetup or any other 
encryption program that uses master key files that are 
used directly by the cipher it uses.

mkeygen takes random data from /dev/random and hashes
with b2sum utility (Blake2b hash function).

Keys larger than 512-bits of size are used in chained mode, better than
hashing each chunk taken from /dev/random separately.

Chunks gotten from /dev/random have twice the size of b2sum
output for assuring that sufficient entropy will be get 
from it.

About

A simple bash script for generating master key files in a secure way.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages