No, it is not!.
If you signed a message to someone before then they can use this to send an anonymous message to Bob and Bob may consider that it is coming from Alice.
The solution is easy, use crypto_box
(Authenticated encryption of the NaCl) to produce a message and send it with crypto_box_seal
.
$$\text{crypto_box_seal}(\text{crypto_box}(m)).$$ Here we are using short form of the boxes, no details.
The outer layer provides anonymity for all, the inner layer provides the identity. Since only Bob can reveal the crypto_box_seal
, then only Bob can reveal the crypto_box
and will understand the message is coming from who; Alice.
Note that Bob may not be aware that there is a crypto_box
in the crypto_box_seal
, put an additional message in the crypto_box` for indication.
$$\text{crypto_box_seal}(\text{After the columns there is a crypto box:}||\text{crypto_box}(m))$$