When I send an encrypted message via NCC, message text appears in cleartext in my transaction history
Isn't it encoded with recipient's public key? I should not be able to decrypt it.
There are only two sides able to decrypt encrypted (SECURE) messages. Sender and recipient.
(There is key established between those two.)
If you'd try to take a look at this TX i.e in chain explorer, you won't find anything useful, unless there is a bug ;-)
but there definitely isn't, we have tested it multiple times (not only in blockchain but also in our internal tests).
Ok, I thought that was like sending an encrypted email with GPG.