I am trying the following commands on my v0.19.0.1 Core implementation:
CLI signmessage $(CLI getnewaddress) <message>
and the identical
CLI signmessagewithprivkey $(bitcoin-cli dumpprivkey $(CLI getnewaddress)) <message>
Both times I get Error code: -3 "Address does not refer to key" All my addresses are wrapped-Segwit (3...). Does this mean since its P2SH there is no way to find the privkey from the address?