The sound distributed version control system

Add length check to pijul remote delete

RemoteId::from_base_32(..) calls data_encoding::BASE32_NOPAD.decode_mut(..) which contains the doc string: "Panics if the output length does not match the result of decode_len for the input length. Also panics if decode_len fails for the input length."

If someone expects this method to do the same kind of base32 autocomplete that pijul does for hash prefixes, pijul remote delete <prefix> currently panics since there's no length check on the input slice.

Created by  ammkrn  on September 7, 2021
7SQ7COLT73S6WT7H4ILJOQYRLYJVVYK4FWWCQ7TP6BVL5XMXMX3QC
Change contents