user30572: Background
I saw this on the internet

I didn't think signing / verifying was possible with P2SH addresses, so I guess this wallet must be using something like signmessagewithprivkey
     ¯\_(ツ)_/¯
Anyway, with signmessagewithprivkey "privkey" "message", privkey is required and doesn't provide a default.
Actual Question
How do I get (see) my private key?

user51948: That depends on what type of P2SH address it is. Only some P2SH script types actually have a one-to-one relationship with a private key. The most common case is probably embedded segwit. If its a P2SH-P2WPKH address, you can retrieve the public key from the embedded P2WPKH script using the dumpprivkey RPC command.

30572: <p><strong>Background</strong></p>

<p>I saw this on the internet</p>

<p><a href="https://i.stack.imgur.com/Lir4l.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/Lir4l.png" alt="enter image description here"></a></p>

<p>I didn't think signing / verifying was possible with P2SH addresses, so I guess this wallet must be using something like <code>signmessagewithprivkey</code><br>
     ¯\_(ツ)_/¯</p>

<p>Anyway, with <code>signmessagewithprivkey "privkey" "message"</code>, <code>privkey</code> is required and doesn't provide a default.</p>

<p><strong>Actual Question</strong></p>

<p>How do I get (see) my private key?</p>
 51948: <p>That depends on what type of P2SH address it is. Only some P2SH script types actually have a one-to-one relationship with a private key. The most common case is probably embedded segwit. If its a P2SH-P2WPKH address, you can retrieve the public key from the embedded P2WPKH script using the <code>dumpprivkey</code> RPC command.</p>
