NillionNetwork / builder-resources

This repository contains code examples, SDK release bundles and helpful tooling for the Nillion builders

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

[BUG] py_nillion_client has no attribute 'SecretBlob'

josef-pindora opened this issue · comments

When we try to run the example with the SecretBlob, we get the following error-message:
py_nillion_client has no attribute 'SecretBlob'

but in your example store_and_retrieve_blob.py it should exist:

# create a bytearray from the string using UTF-8 encoding
secret_value = bytearray("gm, builder!", "utf-8")
secret_integer = nillion.Secrets({
    secret_name: nillion.SecretBlob(secret_value),
})

We are using the latest SDK 0.1.1 20240206. is there a newer version available?

Hi @josef-pindora

I've added the sdk file bundle for the release I'm testing. This one was just cut and has support for blob secrets.

see the releases section