tag:gpgtools.tenderapp.com,2011-11-04:/discussions/problems/12888-feature-request-auto-import-of-public-keys-for-all-my-contactsGPGTools: Discussion 2015-03-22T23:51:16Ztag:gpgtools.tenderapp.com,2011-11-04:Comment/298934962013-11-10T18:15:13Z2013-11-10T18:15:13ZFeature Request: Auto-import of public keys for all my Contacts<div><p>Hi Olivier,</p>
<p>we've a ticket for this problem:</p>
<p><a href=
"https://gpgtools.lighthouseapp.com/projects/65684/tickets/153">https://gpgtools.lighthouseapp.com/projects/65684/tickets/153</a></p>
<p>If this discussion get's closed, it will be re-opened as soon as
the ticket is closed so you'll receive a notification. Feel free to
open a new discussions should you run into further problems or need
assistance.</p>
<p>"import of a public key is a manual process" That is true but
not 100% correct. In system preferences > GPGPreferences you can
enable "Auto-retireve keys". That will search the key servers for
any incoming signed mail for which you don't have a matching pub
key. So if a friend who never used gpg gets his setup done and send
an initial encrypted and signed or signed only mail, and the public
key is on the key servers you won't have to do anything. GPG
Keychain Access will have the key if you look once that mail is
clicked.</p>
<p>So that's where we at. The address book suggestions is great and
we have it on our list.</p>
<p>Best, steve</p></div>Stevetag:gpgtools.tenderapp.com,2011-11-04:Comment/298934962013-11-10T20:46:43Z2013-11-10T20:46:43ZFeature Request: Auto-import of public keys for all my Contacts<div><p>Great stuff, Steve!</p>
<p>Keep up the great work.</p>
<p>May I kindly also suggest that you team up with email
service<br>
providers such as Neomailbox and create a web page where we can
find<br>
all your partners. This is just to help us users - via a one stop
shop<br>
- know where we may find reliable and secure email service
providers and tools. The problem today is that too few people are
aware that<br>
encrypted emails aren't just for rocket scientists any more and
that<br>
solutions such as the GPG Suite make it a lot easier to use
secured<br>
emails. What is now required is wider adoption through
awareness.<br>
Perhaps, when we import all the contacts from our Address Books
into<br>
GPG Keychain Access, we could check a box if we want to invite
our<br>
contacts who don't possess public/private keys to visit a page on
your<br>
website that takes them through the steps of creating them and
would<br>
explain how to use them with your tools. Thus, GPG Keychain
Access<br>
would generate an email destined to all those contacts in the
BCC:<br>
field and we would then only have to click the send button. (It's
just<br>
an idea to spread the word.) You also want to have a web page we
can<br>
easily share on the main social networks: Facebook, Google+ and<br>
Twitter.</p>
<p>We're all tired of having the NSA, as well as other
eavesdroppers &<br>
spammers, and their likes snooping around and sniffing all our
emails!<br>
It's time we get our Privacy back!</p></div>olivier.debroquevilletag:gpgtools.tenderapp.com,2011-11-04:Comment/298934962013-11-12T10:45:49Z2013-11-12T10:45:49ZFeature Request: Auto-import of public keys for all my Contacts<div><p>Olivier, nice suggestions!</p>
<p>I definitely feel your pain. Went through the same process:
convincing family and friends can be a hard task. A single entry
point webpage would be great but needs to be thought through and we
will need a lot of time for this.</p>
<p>Maybe we can come up with something but as always: can't promise
anything :)</p>
<p>steve</p></div>Stevetag:gpgtools.tenderapp.com,2011-11-04:Comment/298934962013-12-08T00:43:11Z2013-12-08T00:43:15ZFeature Request: Auto-import of public keys for all my Contacts<div><p>It's quick a hack, but if you are OK with unix command line,
worked pretty well for me.</p>
<p>Assuming you have all of your contacts in OSX Contacts.</p>
<p>1) Open Contacts<br>
2) Select All<br>
3) Right-mouse click and Export vCard<br>
4) Change "Save As:" to just be "Contacts.txt"<br>
4) Click Save (should go into your Documents Folder)<br>
5) Open a Terminal window<br>
6) Type "cd Documents"<br>
7) Cut and paste this into the terminal window:</p>
<p>for email in <code>grep EMAIL "Contacts.txt" | awk -F: '{print
$2}' | sed 's/.$//'</code>;do gpg --search-keys $email;done</p>
<p>8) This should do a search for each e-mail address. If it finds
one, you'll need to enter the number of the key (typically 1) you
want to import.</p>
<p>HTH</p>
<p>-Scott</p></div>Scott Walterstag:gpgtools.tenderapp.com,2011-11-04:Comment/298934962013-12-08T20:03:39Z2013-12-08T20:03:39ZFeature Request: Auto-import of public keys for all my Contacts<div><p>Thanks, Scott.</p>
<p>It’s a clever fix, albeit a bit of a DIY job rather than
the well integrated feature I’m hoping gpgtools will come up
with. I think gpgtools should automatically request to access all
of our Contacts (Address Book) and import the email addresses.</p>
<p>Unfortunately, your fix won’t be of much help to me,
because none of my friends or family are using the gpg suite.
I’m guessing that it’s either too complicated to use or
takes too much time and effort to understand!</p>
<p>Btw, what happens when you import in gpgtools an email address
of a friend that doesn’t have any public key?</p>
<p>Ideally, I think there should be an option in gpgtools to
automatically send an email to all our contacts who don’t
have a public key to invite them to create one and use gpg suite
(with instructions included).</p></div>olivier.debroquevilletag:gpgtools.tenderapp.com,2011-11-04:Comment/298934962013-12-09T01:42:34Z2013-12-09T01:42:34ZFeature Request: Auto-import of public keys for all my Contacts<div><p>This procedure checks to see if a key exists for an e-mail
address. If it doesn't find one, it won't import it. I see now
that's not exactly what you are trying to do.</p>
<p>Agreed an "invite" button would be an interesting feature to
add, but as the saying goes, "Security is inversely proportionate
to convenience."</p>
<p>-Scott</p></div>Scott Walters