reencrypt: support bash 3