fix ecdsa key generation
Merge branch 'master' into 335-int
Changelog re #335