changing from list to parameter to avoid gnupg lib error