Closed notchxor closed 6 years ago
@notchxor Can you elaborate? Is there a warning/info flag that is causing an issue or is this an extra validation check?
yes, we need to put 2 or more signing keys in the bp.json, right now we have 2 producer_public_key wich is not optimal and the validate wont recognize it as two different keys.
"producer_account_name": "argentinaeos",
"producer_public_key": "EOS7jq4FHrFrtCXxpRQ39dBeDMa5AjM4VaRbqBECkSa5aZnizJzrx",
"producer_public_key": "EOS7n4UUEDQRWeJ5UmCf9yqWXY5fsTtbo78HyYa5uBbM1xwa5DwRj",
I will add support for an array there.
producer_public_key: [
"EOS7jq4FHrFrtCXxpRQ39dBeDMa5AjM4VaRbqBECkSa5aZnizJzrx", "EOS7n4UUEDQRWeJ5UmCf9yqWXY5fsTtbo78HyYa5uBbM1xwa5DwRj"
]
FYI there seems to be an agreement to remove the key from the standard, though it hasn't happened yet. It would be good to push that forward and remove the check here.
There is one use case where I know where having the key is useful. That is when someone steals a BP's identity entirely it is obvious if the key doesn't match. This already happened. (regproduce using an existing BP's URL).
I agree with @n8d to remove block signing key (more details https://github.com/eosrio/bp-info-standard/issues/7#issuecomment-409681518).
This check was removed a few weeks ago, so closing this issue since there seems to be no further comments.
allow multiples signing keys