search

Home  >  Q&A  >  body text

rsa - python 公钥解密时报错 block type is not 01

   pem_file = os.path.abspath(os.path.join(os.path.dirname(__file__), 'pprsa.pem'))
   g_rsa_foo = RSA.load_pub_key(pem_file)
   ctxt = g_rsa_foo.public_decrypt(sign, RSA.pkcs1_padding)  #在此句报错

这个问题真不懂, 搜了stackoverflow也好像没有找到答案。 求高手

PHPzPHPz2804 days ago867

reply all(1)I'll reply

  • 大家讲道理

    大家讲道理2017-04-17 13:14:44

    I also encountered this problem, has the poster solved it?

    reply
    0
  • Cancelreply