[Buildroot] Python 3 bcrypt error

Yann E. MORIN yann.morin.1998 at free.fr
Sat Jan 14 08:03:17 UTC 2023


Ernie, All,

On 2023-01-13 22:31 -0800, Ernie Carp spake thusly:
> Hello,
> When compiling python3 on buildroot version 2022-11 I get an error message about bcrypt.

In Buildroot 2022.11, as well as in the 2022.11.x maintenance branch,
we only have pythonbcrypt 3.2.0, but the traces below refer to 4.0.1,
which is only in master.

So, are you sure you are using buildroot 2022.11? If so, how can you be
using python-bcrypt 4.0.1?

> The PyPi.org lists the sha256 hash as 27d375903ac8261cfe4047f6709d16f7d18d39b1ec92aaf72af989552a650ebd
> Need a little help to fix it.
> [source.vendored-sources]
> directory = "VENDOR"
> ERROR: bcrypt-4.0.1.tar.gz has wrong sha256 hash:
> ERROR: expected: d64daee0af1afe137718674e67a49b8bb791842aab265b588a6d68d44a449c70
> ERROR: got     : 108aaa38326360d716f4a6e2e98bfe84969542e559bd8bfe3b09ccc93e6c2944
> ERROR: Incomplete download, or man-in-the-middle (MITM) attack

This has now supposedly been fixed in master with commit ac2b26fba2ad
(support/download: fix cargo vendoring).

Regards,
Yann E. MORIN.

-- 
.-----------------.--------------------.------------------.--------------------.
|  Yann E. MORIN  | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
| +33 662 376 056 | Software  Designer | \ / CAMPAIGN     |  ___               |
| +33 561 099 427 `------------.-------:  X  AGAINST      |  \e/  There is no  |
| http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL    |   v   conspiracy.  |
'------------------------------^-------^------------------^--------------------'



More information about the buildroot mailing list