bitcoin.conf rpcauth v0.20.0rc2 #18998

issue Viral opened this issue on May 17, 2020
  1. Viral commented at 3:43 PM on May 17, 2020: none

    when using only rpcauth it's still checking for rpcpassword.

    my bitcoin.conf looks something like this

    listen=0
    server=1
    txindex=1
    rpcallowip=10.1.1.3/32
    rpcbind=10.1.1.2
    rpcauth=user:pass
    

    I used share/rpcauth/rpcauth.py to generate rpcauth

    2020-05-17T01:33:04Z No rpcpassword set - using random cookie authentication.
    2020-05-17T01:33:04Z Generated RPC authentication cookie /mnt/media/files/bitcoin/.cookie
    2020-05-17T01:33:04Z Using rpcauth authentication.
    

    I see this in log. is this expected behavior? I'd expect the cookie to not get generated when using rpcauth.

    Also, if rpcbind is above rpcallowip in the config, rpc breaks:

    2020-05-14T02:54:10Z WARNING: option -rpcallowip was specified without -rpcbind; this doesn't usually make sense
    
  2. MarcoFalke commented at 4:45 PM on May 17, 2020: member

    rpcauth and cookie auth are not exclusive. No opinion on whether that should change, but I removed the misleading rpcpassword log in #18999

  3. Viral closed this on May 17, 2020

  4. fanquake referenced this in commit 042ff52142 on May 19, 2020
  5. hebasto commented at 7:04 AM on May 20, 2020: member

    Some related refs:

  6. PastaPastaPasta referenced this in commit 03bb24fabe on Jun 27, 2021
  7. PastaPastaPasta referenced this in commit c2b0e19766 on Jun 28, 2021
  8. PastaPastaPasta referenced this in commit 057a07810f on Jun 29, 2021
  9. PastaPastaPasta referenced this in commit 6d2d64496e on Jul 1, 2021
  10. PastaPastaPasta referenced this in commit 722acb1bbe on Jul 1, 2021
  11. PastaPastaPasta referenced this in commit 16b4cd935d on Jul 14, 2021
  12. PastaPastaPasta referenced this in commit 1ac86caa01 on Jul 15, 2021
  13. DrahtBot locked this on Feb 15, 2022

github-metadata-mirror

This is a metadata mirror of the GitHub repository bitcoin/bitcoin. This site is not affiliated with GitHub. Content is generated from a GitHub metadata backup.
generated: 2026-04-13 15:14 UTC

This site is hosted by @0xB10C
More mirrored repositories can be found on mirror.b10c.me