Orig. Module: fish.cpp
$ znc-buildmod fish.cpp
$ cp fish.so ~/.znc/modules/
Tell ZNC to load the module:
/msg *status loadmod fish
/msg *fish Help
/msg *fish SetKey #secretChannel mySuperSecretKey
To disable encryption for a single message, prefix the message with -e
/msg #secretChannel -e this won't be encrypted
Decrypted messages are prefixed with a blue (e)
If the module expected an encrypted message but received a unecrypted message it will prefix with a red (d)
To change the prefixes:
/msg *fish SetConfig prefix_encrypted (+)
/msg *fish SetConfig prefix_decrypted (-)
Help
SetKey <target> <key>
Sets <target>
's FiSH encryption key
DelKey <target>
Removes <target>
's FiSH encryption key
ShowKey <target>
Show the encryption key of <target>
, if it has one set
ListKeys
Print out all of our keys
SetConfig <name> <value>
Set config option <name>
to <value>
ListConfig
Print out all of our config options
KeyX <target>
Start a key exchange with <target>
prefix_encrypted
Default: (blue) ^12(e)^
prefix_decrypted
Default: (red) ^4(d)^