<div dir="ltr"><div>Hello,</div><div><br></div><div>When I create unattended key with cv25519 or ed25519 as subkeys, GnuPG doesn't apply 'encrypt' usage, expire date and preferences. There is no problem with RSA.</div><div><br></div><div>Regards.</div><div><br></div><div>(PS : My example key numbers were padded with X and Y)</div><div><br></div><div>$ gpg --batch --gen-key<br>Key-Type: ecdsa<br>Key-Curve: ed25519<br>Key-Usage: sign auth<br>Subkey-Type: ecdh<br>Subkey-Curve: cv25519<br>Subkey-Usage: encrypt<br>Passphrase:<br>Name-Real: Yan Fiz<br>Expire-Date: 1y<br>Preferences: twofish sha512 zlib</div><div><br></div><div>$ gpg --edit-key XXXXXXXXXXXXXXXX showpref quit<br>gpg (GnuPG) 2.2.5; Copyright (C) 2018 Free Software Foundation, Inc.<br>This is free software: you are free to change and redistribute it.<br>There is NO WARRANTY, to the extent permitted by law.</div><div><br></div><div>gpg: key XXXXXXXXXXXXXXXX: 2 bad signatures<br>gpg: key XXXXXXXXXXXXXXXX: Warning: errors found and only checked self-signatures, run 'check' to check all signatures.<br>Secret key is available.</div><div><br></div><div>sec  ed25519/XXXXXXXXXXXXXXXX<br>     created: 2018-02-24  expires: never       usage: SCA<br>     trust: ultimate      validity: ultimate<br>ssb  cv25519/YYYYYYYYYYYYYYYY<br>     created: 2018-02-24  expires: never       usage:<br>[ultimate] (1). Yan Fiz</div><div><br></div><div>[ultimate] (1). Yan Fiz<br>     Cipher: 3DES<br>     Digest: SHA1<br>     Compression: ZIP, Uncompressed<br>     Features: Keyserver no-modify</div></div>