fix missing variable `params`
test unsupported options do not cause encryption failures