Web lists-archives.com

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




On Tue, 17 Apr 2018, at 6:25 PM, Daniele Nicolodi wrote:
> 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.
> 
> Cheers,
> Dan

Thanks Dan. I assume you're referring to the https://github.com/keis/base58/issues/15 issue? (Output is string, not bytes)