{"id":168,"date":"2013-03-14T13:54:07","date_gmt":"2013-03-14T21:54:07","guid":{"rendered":"http:\/\/jthurber.com\/blog\/?p=168"},"modified":"2013-03-14T13:54:07","modified_gmt":"2013-03-14T21:54:07","slug":"using-encrypt-sh-for-salesforce-data-loader-on-the-mac-or-linuxunix","status":"publish","type":"post","link":"https:\/\/jthurber.com\/blog\/?p=168","title":{"rendered":"Using encrypt.sh for Salesforce Data Loader on the Mac or Linux\/Unix"},"content":{"rendered":"<p>From the same directory as DataLoader.jar<\/p>\n<ol>\n<li>java -cp DataLoader.jar com.salesforce.dataloader.security.EncryptionUtil -g <em>SOMEGARBAGESTRINGFOLLOWS<\/em><\/li>\n<li>copy that value to key.txt<\/li>\n<li>java -cp DataLoader.jar com.salesforce.dataloader.security.EncryptionUtil -e &#8220;MYPASSWORD&#8221; &#8220;\/full\/path\/to\/key.txt&#8221;<\/li>\n<li>copy that value to process-config.xml&#8217;s sfdc.password<\/li>\n<li>Add &lt;entry key=&#8221;process.encryptionKeyFile&#8221; value=&#8221;\/full\/path\/to\/key.txt&#8221;&gt;&lt;\/entry&gt; to process-config.xml<\/li>\n<\/ol>\n<p>Alternately, add sfdc.password, sfdc.username and process.encryptionKeyFile to config.properties (in the same directory).<\/p>\n","protected":false},"excerpt":{"rendered":"<p>From the same directory as DataLoader.jar java -cp DataLoader.jar com.salesforce.dataloader.security.EncryptionUtil -g SOMEGARBAGESTRINGFOLLOWS copy that value to key.txt java -cp DataLoader.jar com.salesforce.dataloader.security.EncryptionUtil -e &#8220;MYPASSWORD&#8221; &#8220;\/full\/path\/to\/key.txt&#8221; copy that value to process-config.xml&#8217;s sfdc.password Add &lt;entry key=&#8221;process.encryptionKeyFile&#8221; value=&#8221;\/full\/path\/to\/key.txt&#8221;&gt;&lt;\/entry&gt; to process-config.xml Alternately, add sfdc.password, sfdc.username and process.encryptionKeyFile to config.properties (in the same directory).<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[17],"tags":[],"class_list":["post-168","post","type-post","status-publish","format-standard","hentry","category-salesforce-com"],"_links":{"self":[{"href":"https:\/\/jthurber.com\/blog\/index.php?rest_route=\/wp\/v2\/posts\/168","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/jthurber.com\/blog\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/jthurber.com\/blog\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/jthurber.com\/blog\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/jthurber.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=168"}],"version-history":[{"count":9,"href":"https:\/\/jthurber.com\/blog\/index.php?rest_route=\/wp\/v2\/posts\/168\/revisions"}],"predecessor-version":[{"id":177,"href":"https:\/\/jthurber.com\/blog\/index.php?rest_route=\/wp\/v2\/posts\/168\/revisions\/177"}],"wp:attachment":[{"href":"https:\/\/jthurber.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=168"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/jthurber.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=168"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/jthurber.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=168"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}