Monotone on OS X

If you get

monotone: misuse: error converting 8 UTF-8 bytes to IDNA ACE: non-LDH characters

when trying to generate a key with monotone on OS X it might be because you have an underscore character in your key identifier. At least it was for me, when I removed the underscore it worked much better.