algorand / algorand/go-algorand

algokey 'succeeds' even when it doesn't actually sign a transaction

未关闭
#2,123 1 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
Team Lamprey
主要语言
Go
星标
1.4k
派生
537
平均合并
1 天 7 小时
30 天内合并 PR
18

描述

### Subject of the issue

`algokey multisig` returns exit code 0 even when it doesn't actually sign a transaction

### Your environment

MacOS terminal

### Steps to reproduce

```
% algokey generate
Private key mnemonic: entire join unknown puzzle before crumble torch tumble own net river cloud oval decline insect edit cute dress negative clarify subway seminar warfare absent describe
Public key: ESKN72RO7Z5N2JBWVYA2DAUQ45MIKVPEZPDQ4PSPGLTA5KR2H72BYMPHZI
% touch empty-file.txn
% algokey multisig -m "entire join unknown puzzle before crumble torch tumble own net river cloud oval decline insect edit cute dress negative clarify subway seminar warfare absent describe" -t empty-file.txn -o empty-file.stxn
%
```

### Expected behaviour
If algokey is unable to sign a given input file it should throw an error.

### Actual behaviour
The transaction file was empty so it had nothing to sign, yet it still produced an empty file and returned successful.

贡献指南

打开贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。