I’m trying blockcerts, creating models of the certificates (certools) with success.
But, changing parameters I realize that when the hash_emails is turned on (true), the instantiate script throws an error.
helpers.py", line 53, in encode
** num, rem = divmod(num, base)**
TypeError: unsupported operand type(s) for divmod(): ‘bytes’ and 'int’
If I remove, or setup the hash_emails to false, the program execute with success.
Writing certificates to /ufp/unsigned
To make sure, that the problem wasn’t with my own model, I reproduce the same error in conf.ini from documentation (sample_data). I just added hash_emails=true on file and tried to create and instantiate the process… and the same error kept happening. Turning again the parameter hash_emails to false, everything back to work…
Could someone help me to understand if this is really a Bug, or if i’m doing something wrong ?
(I already tried False ou false, case sensitive…)