{"id":313,"date":"2011-09-29T13:52:39","date_gmt":"2011-09-29T20:52:39","guid":{"rendered":"http:\/\/infinitedisorder.com\/?p=313"},"modified":"2015-12-01T16:33:32","modified_gmt":"2015-12-01T23:33:32","slug":"using-gpg-to-send-an-encrypted-message","status":"publish","type":"post","link":"https:\/\/infinitedisorder.com\/?p=313","title":{"rendered":"using GPG to send an encrypted message"},"content":{"rendered":"<p>These steps will allow you to send a message to a user. Only that user will be able to decrypt it.<br \/>\nFirst acquire the users public key and create a text file with it.<br \/>\n<code>vi userName.pub<br \/>\ngpg --import userName.pub<br \/>\ngpg --list-keys<\/code><\/p>\n<p>Now create a text file with your message and encrypt it<br \/>\n<code>vi lab_creds.txt<br \/>\ngpg -se -a -r name@domain.com lab_creds.txt <\/code><br \/>\nenter your private key password<br \/>\nNow a file will be created called lab_creds.txt.asc, paste that into an email.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>These steps will allow you to send a message to a user. Only that user will be able to decrypt it. First acquire the users public key and create a text file with it. vi userName.pub gpg &#8211;import userName.pub gpg &#8211;list-keys Now create a text file with your message and encrypt it vi lab_creds.txt gpg [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-313","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/infinitedisorder.com\/index.php?rest_route=\/wp\/v2\/posts\/313","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/infinitedisorder.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/infinitedisorder.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/infinitedisorder.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/infinitedisorder.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=313"}],"version-history":[{"count":2,"href":"https:\/\/infinitedisorder.com\/index.php?rest_route=\/wp\/v2\/posts\/313\/revisions"}],"predecessor-version":[{"id":404,"href":"https:\/\/infinitedisorder.com\/index.php?rest_route=\/wp\/v2\/posts\/313\/revisions\/404"}],"wp:attachment":[{"href":"https:\/\/infinitedisorder.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=313"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/infinitedisorder.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=313"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/infinitedisorder.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=313"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}