Giter Club home page Giter Club logo

pyseeder's Introduction

pyseeder's People

Contributors

freeacetone avatar l-n-s avatar orignal avatar r4sas avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

pyseeder's Issues

IndexError: list index out of range

Traceback (most recent call last):
File "pyseeder.py", line 112, in
main()
File "pyseeder.py", line 103, in main
args.func(args)
File "/srv/pyseeder/pyseeder/actions.py", line 27, in reseed
su3file.write(args.outfile, args.private_key, priv_key_password)
File "/srv/pyseeder/pyseeder/su3file.py", line 51, in write
pyseeder.crypto.append_signature(filename, priv_key, priv_key_password)
File "/srv/pyseeder/pyseeder/crypto.py", line 69, in append_signature
signature = private_key.sign(contents, padding.PKCS1v15(), hashes.SHA512())
File "/srv/pyseeder/venv/lib/python3.4/site-packages/cryptography/hazmat/backends/openssl/rsa.py", line 617, in sign
signature = signer.finalize()
File "/srv/pyseeder/venv/lib/python3.4/site-packages/cryptography/hazmat/backends/openssl/rsa.py", line 230, in finalize
return self._finalize_method(evp_md)
File "/srv/pyseeder/venv/lib/python3.4/site-packages/cryptography/hazmat/backends/openssl/rsa.py", line 285, in _finalize_pkey_ctx
assert errors[0].lib == self._backend._lib.ERR_LIB_RSA
IndexError: list index out of range

Это если конвертировать сертификат из джавовского кейстора в pem. Видимо каких то параметров ключа ему не хватает.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.