https://github.com/brianddk/bips/blob/legacysignverify/bip-0xyz.mediawiki Although this is a well established functionality, it has never been published in a BIP. My proposal is simply to provide a reference point for future expansion of these capabilities into new address schemes. Original reference thread [Sign / Verify message against SegWit P2SH addresses]