Response: {
"error": "formula
// checking
if (var[$pu])
if (var[$pu] != trigger.address)
bounce ("Not allowed to withdraw from this private drawer!");
if (!var[$as]) bounce ("puk doesn\'t exists with asset!"||$asset_nice_name);
if (var[$ls])
if (var[$ls] == sha256($signature))
bounce ("Cannot use 2 times the same signature in a row!");
$formated_puk = "-----BEGIN PUBLIC KEY-----"||$puk||"-----END PUBLIC KEY-----";
if (!is_valid_sig(trigger.data.ad, $formated_puk, $signature))
bounce ("The 'withdraw address' signed is not the same as the one that was asked to use ! or this signature was not created with private key linked to "||$puk||" !");
// balances
$old_balance = var[$am];
$amount = trigger.data.am otherwise $old_balance;
failed: bad PEM key in is_valid_sig: wrong curve identifiers length13"
}