String name;
String id;
GnuPG gnupg = new GnuPG();
id = settings.getProperty("gnupgSecretKeyID");
if (id != null) {
if (gnupg.listSecretKeys(id)) {
entries = gnupg.getResult().split("\n");
for (int i = 0; i < entries.length; i++) {
name = entries[i]
.replaceAll(
"^sec:[^:]*:[^:]*:[^:]*:[^:]*:[^:]*:[^:]*:[^:]*:[^:]*:([^:]*):[^:]*:[^:]*:[^:]*$",