Bitcoin Forum
May 05, 2024, 03:37:57 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: How to configure rpcauth  (Read 129 times)
tendemo (OP)
Newbie
*
Offline Offline

Activity: 85
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.
1714880277
Hero Member
*
Offline Offline

Posts: 1714880277

View Profile Personal Message (Offline)

Ignore
1714880277
Reply with quote  #2

1714880277
Report to moderator
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1714880277
Hero Member
*
Offline Offline

Posts: 1714880277

View Profile Personal Message (Offline)

Ignore
1714880277
Reply with quote  #2

1714880277
Report to moderator
socks435
Legendary
*
Offline Offline

Activity: 2016
Merit: 1030

Privacy is always important


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.

Solving blocks can't be solved without my rigs.
tendemo (OP)
Newbie
*
Offline Offline

Activity: 85
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!