srt: fix bug in setting passphrase