Fixed upstream in https://gitlab.com/cryptsetup/cryptsetup/commit/8728ba08e2e056a4c18b55407146eea7ac0043c6
It would be nice if this patch is on added on top of 2.0.1 in Debian ;-) In the meantime, you can trick the cryptsetup2 to use stdin just specifying "--key-file /dev/stdin" instead of "--key-file -". Thanks, Milan