Author

Topic: How to configure rpcauth (Read 152 times)

newbie
Activity: 88
Merit: 0
August 23, 2018, 07:05:16 PM
#3
Thanks Im taking a look at i right now. Here is my error placed below.

   Traceback (most recent call last):
  File "rpcauth.py", line 47, in
    main()
  File "rpcauth.py", line 40, in main
    password_hmac = password_to_hmac(salt, password)
  File "rpcauth.py", line 25, in password_to_hmac
    m = hmac.new(bytearray(salt, 'utf-8'), bytearray(password, 'utf-8'), 'SHA256')
  File "/usr/lib/python2.7/hmac.py", line 136, in new
    return HMAC(key, msg, digestmod)
  File "/usr/lib/python2.7/hmac.py", line 52, in __init__
    self.outer = self.digest_cons()
  File "/usr/lib/python2.7/hmac.py", line 50, in
    self.digest_cons = lambda d='': digestmod.new(d)
AttributeError: 'str' object has no attribute 'new'
legendary
Activity: 2058
Merit: 1030
I'm looking for free spin.
August 23, 2018, 06:55:58 PM
#2
Could you check this post https://bitcointalksearch.org/topic/m.20012263
It may solve your issue but if it doesn't solve just put the error code you are getting everytime you run it?
So that the other member can gives you a solution immediately.
newbie
Activity: 88
Merit: 0
August 23, 2018, 06:40:46 PM
#1
Hi how can I configure rpcauth for  bitcoin node installed via PPA ? I downloaded the file ran in on a Linux Ubuntu and got an error.
Jump to: