add note about ecdsa signature encoding in SecurityTokenHelper
This commit is contained in:
@@ -698,6 +698,7 @@ public class SecurityTokenHelper {
|
|||||||
break;
|
break;
|
||||||
|
|
||||||
case ECKeyFormatType:
|
case ECKeyFormatType:
|
||||||
|
// "plain" encoding, see https://github.com/open-keychain/open-keychain/issues/2108
|
||||||
if (signature.length % 2 != 0) {
|
if (signature.length % 2 != 0) {
|
||||||
throw new IOException("Bad signature length!");
|
throw new IOException("Bad signature length!");
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user