Web lists-archives.com

Re: Bug#895928: ITP: python-base58 -- base58 encode/decode for Python

On 4/17/18 8:57 AM, Joel Cross wrote:
> Package: wnpp
> Severity: wishlist
> Owner: Joel Cross <joel+debbugs@xxxxxxxxxxxx>
> * Package name    : python-base58
>   Version         : 0.2.5
>   Upstream Author : David Keijser <keijser@xxxxxxxxx>
> * URL             : https://github.com/keis/base58
> * License         : MIT
>   Programming Lang: Python
>   Description     : base58 encode/decode for Python
> This package contains the following functions, in a form compatible with that
> used by the bitcoin network:
> - b58encode
> - b58decode
> - b58encode_check
> - b58decode_check

Hi Joel,

I had a look at this Python package a while ago, and I was very
surprised to find that its interface does not match the one of the
functions in the base64 standard library module in the use of strings vs
bytes.  I had to introduce some wrappers to make it sane in that regard.

I see in the upstream repository some commits that suggest that this has
been fixed (breaking the API probably).  However, nothing that hints
that a release has been made after that.

It would be nice to have the fixed version in Debian and to avoid API
breakage, at least once the Python package enters the Debian archive.