JHUISI/charm

After Installation

MahmoudAbouyoussef opened this issue · 2 comments

Hi
i am new to python. so it was a challenge to me to install charm successfully after many tries. but the only try that did not give error while installing is with ubuntu 14.04 and python 2.7.6. all the extra tries with ubuntu 16 and 18, and python 3.7 gave my error.

I want to ask after installation what to do to run one of the schemes. its not written in documentation. when i try to run any file it give my this error
import charm.core.benchmark
ImportError: No module named benchmark
can anyone help me with that

Thanks in advance

I strongly recommend to use Python version 3.x. I use Ubuntu 20.04 in combination with Python 3.8 and the installation worked without problems. Did you install the requirements (OpenSSL and PBC) correctly?

Under the following link you can find all supported schemes at the moment:
https://jhuisi.github.io/charm/schemes.html

I always like to pick out the example of the BLS signatures, because this is a simple signature scheme you can easily start with. Additionally you can find a code example there:
https://jhuisi.github.io/charm/charm/schemes/pksig/pksig_bls04.html

Greetings!

i am unable to install in ubuntu 20.04,18.04,16.04 and 14.04