Skip to main content

Utility for signing arbitrary messages with NEP2 Keypairs or WIF

Project description

Utility for signing arbitrary messages with NEP2 Keypairs or WIF


* Compatible with Python 3.5+
* https://pypi.python.org/pypi/neosign




nep2 usage
----------

.. code-block:: console

$ neosign abcabc -n
[nep2 key]> ********************
[nep2 key password]> ****************
Signing With Address AWeZnH735EavQJKbJPC5F8fxutBnJFhukW
pubkey, sig: 02029e81b26c573fd19af392fbb0187a0faf01e1a6ab54141699a1e19cf74738c3 1fbcbcc1dbd44af6dea843b84b10cb461925279c8b76cc389932c2463892aec1662fc940bbedc9a479cc6197acaddb3044c19242ee68629ce4199156a9a88fb2


wif usage
---------

.. code-block:: console

$ neosign abcabc -w L447RbcX5FospWVCT9XkAZze2GG4xhgBhuZgtBrAJvTk5ZgeYcyB
Signing With Address AWeZnH735EavQJKbJPC5F8fxutBnJFhukW
pubkey, sig: 02029e81b26c573fd19af392fbb0187a0faf01e1a6ab54141699a1e19cf74738c3 1fbcbcc1dbd44af6dea843b84b10cb461925279c8b76cc389932c2463892aec1662fc940bbedc9a479cc6197acaddb3044c19242ee68629ce4199156a9a88fb2


pass input file
---------------

.. code-block:: console
$ neosign --input myfile.txt -w L447RbcX5FospWVCT9XkAZze2GG4xhgBhuZgtBrAJvTk5ZgeYcyB
Signing With Address AWeZnH735EavQJKbJPC5F8fxutBnJFhukW
pubkey, sig: 02029e81b26c573fd19af392fbb0187a0faf01e1a6ab54141699a1e19cf74738c3 1fbcbcc1dbd44af6dea843b84b10cb461925279c8b76cc389932c2463892aec1662fc940bbedc9a479cc6197acaddb3044c19242ee68629ce4199156a9a88fb2


Getting started
---------------

You need Python 3.5 or higher!

You can install `neosign` from PyPI with ``easy_install`` or ``pip``:

.. code-block:: console

$ pip install -U neosign

Alternatively, if you want to work on the code, clone this repository and setup your venv:

* Clone the repo: ``git clone https://github.com/CityOfZion/neosign.git``
* Create a Python 3 virtual environment and activate it:

.. code-block:: console

$ python3 -m venv venv
$ source venv/bin/activate

* Then install the requirements:

.. code-block:: console

$ pip install -e .



=======
History
=======

0.2.0 (2018-09-23)
------------------
* Allow passing in file for signable data with `--input` flag

0.1.0 (2018-08-23)
------------------
* Initial Release.


Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

neosign-0.2.0.tar.gz (3.4 kB view details)

Uploaded Source

Built Distribution

neosign-0.2.0-py2.py3-none-any.whl (3.5 kB view details)

Uploaded Python 2Python 3

File details

Details for the file neosign-0.2.0.tar.gz.

File metadata

  • Download URL: neosign-0.2.0.tar.gz
  • Upload date:
  • Size: 3.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.11.0 pkginfo/1.4.2 requests/2.19.1 setuptools/28.8.0 requests-toolbelt/0.8.0 tqdm/4.26.0 CPython/3.6.4

File hashes

Hashes for neosign-0.2.0.tar.gz
Algorithm Hash digest
SHA256 300a8ba2379295dc66ab6d81873e8f14596b4526750edd1eefebb05227b613fe
MD5 2b3c7e077c2f754e60161b0a2899d7a6
BLAKE2b-256 a6315341949ddd997df047f583dabc5a46c9962167aa0e1be8ce9d05557c4e9e

See more details on using hashes here.

File details

Details for the file neosign-0.2.0-py2.py3-none-any.whl.

File metadata

  • Download URL: neosign-0.2.0-py2.py3-none-any.whl
  • Upload date:
  • Size: 3.5 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.11.0 pkginfo/1.4.2 requests/2.19.1 setuptools/28.8.0 requests-toolbelt/0.8.0 tqdm/4.26.0 CPython/3.6.4

File hashes

Hashes for neosign-0.2.0-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 b58ea6f10b5a18830a83d6292265e3bdf866fd3314a173e022912426b6ad1877
MD5 196380f60794f85da372e50d981c7ac7
BLAKE2b-256 9746c6dafe68403c10286de244e937efbc3b2e0608bbd6df8484c4f3bf15264a

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page