title: grub2-mkpasswd-pbkdf2 - can it accept standard input?
body: <p>On CentOS 6 we currently encrypt the grub password using the <code>password --md5</code> option and we are able to script this into our standard server build.</p>
  <p>We are busy migrating to CentOS 7 and it appears that the <code>password --md5</code> option has been removed in grub2 and replaced with <code>grub2-mkpasswd-pbkdf2</code>.</p>
  <p>Although I welcome the improved security, I can't find a way to pass a password to the <code>grub2-mkpasswd-pbkdf2</code> command via standard input, and it appears that grub2 has removed support for md5, the combination of which breaks our script building automation.</p>
  <p>Can anyone possibly help with:</p>
  <ol>
  <li>A way to pass a password to <code>grub2-mkpasswd-pbkdf2</code> via standard input?; or</li>
  <li>An alternative pbkdf2 generation utility to <code>grub2-mkpasswd-pbkdf2</code> that accepts standard input?; or</li>
  <li>A mechanism for using <code>--md5</code> with grub2?</li>
  </ol>