With GnuPG 2.1.15
If you want to create an RSA or DSA key in a straight forward way use:
gpg --full-gen-key
If you want to use an ECC algorithm, you need to add the --expert flag
gpg --expert --full-gen-key
/* ****************************************************************************** | |
* Copyright (c) 2017-2018 Google, Inc. All rights reserved. | |
* ******************************************************************************/ | |
/* | |
* Redistribution and use in source and binary forms, with or without | |
* modification, are permitted provided that the following conditions are met: | |
* | |
* * Redistributions of source code must retain the above copyright notice, | |
* this list of conditions and the following disclaimer. |