pem2openpgp: reorganized some code, put in initial function to try to create secret...