Bitcoin Forum
November 10, 2024, 05:59:29 PM *
News: Latest Bitcoin Core release: 28.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: How to configure rpcauth  (Read 150 times)
tendemo (OP)
Newbie
*
Offline Offline

Activity: 88
Merit: 0



View Profile
August 23, 2018, 11: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.
socks435
Legendary
*
Offline Offline

Activity: 2058
Merit: 1030

I'm looking for free spin.


View Profile
August 23, 2018, 11:55:58 PM
 #2

Could you check this post https://bitcointalk.org/index.php?topic=2008763.msg20012263#msg20012263
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.

Decided to end it with zer0 profit.
tendemo (OP)
Newbie
*
Offline Offline

Activity: 88
Merit: 0



View Profile
August 24, 2018, 12:05:16 AM
 #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 <module>
    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 <lambda>
    self.digest_cons = lambda d='': digestmod.new(d)
AttributeError: 'str' object has no attribute 'new'
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!