<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: DB Connect App Encryption in Security</title>
    <link>https://community.splunk.com/t5/Security/What-password-encryption-scheme-does-DB-Connect-App-uses-for/m-p/601369#M16149</link>
    <description>&lt;P&gt;Hello Hans,&lt;BR /&gt;&lt;BR /&gt;I tried the below as suggested to decrypt the password, but i am getting errors are Invalid password argument and Error getting password, i am confused with -pass file argument, i am passing it as -pass /opt/splunk/etc/auth/splunk.secret, please suggest&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;$ echo -n 'thisIsMyEncryptedPassword' | openssl enc -aes-256-cbc -base64 -pass file:///$SPLUNK_HOME/etc/apps/splunk_app_db_connect/certs/identity.dat -d&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Fri, 10 Jun 2022 14:45:53 GMT</pubDate>
    <dc:creator>appidi_123</dc:creator>
    <dc:date>2022-06-10T14:45:53Z</dc:date>
    <item>
      <title>What password encryption scheme does DB Connect App uses for encrypting database passwords?</title>
      <link>https://community.splunk.com/t5/Security/What-password-encryption-scheme-does-DB-Connect-App-uses-for/m-p/47539#M11546</link>
      <description>&lt;P class="lia-align-justify"&gt;What password encryption scheme does DB Connect App uses for encrypting database passwords?&lt;/P&gt;</description>
      <pubDate>Fri, 10 Jun 2022 14:49:49 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Security/What-password-encryption-scheme-does-DB-Connect-App-uses-for/m-p/47539#M11546</guid>
      <dc:creator>rsimmons</dc:creator>
      <dc:date>2022-06-10T14:49:49Z</dc:date>
    </item>
    <item>
      <title>Re: DB Connect App Encryption</title>
      <link>https://community.splunk.com/t5/Security/What-password-encryption-scheme-does-DB-Connect-App-uses-for/m-p/47540#M11547</link>
      <description>&lt;P&gt;You can use AES encryption with a secret key derived from the splunk.secret file (which is unique per Splunk instance). At initial startup, Splunk creates the file $SPLUNK_HOME/etc/auth/splunk.secret. This file contains a key used to encrypt some of your authentication information.&lt;/P&gt;

&lt;P&gt;To manually change on the command line, see example below. It requires the java bridge to be running. &lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;$ splunk cmd python $SPLUNK_HOME/etc/apps/dbx/bin/jbridge_client.py com.splunk.config.crypt.Crypt encrypt thisIsMyPassword123 
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Tue, 27 Aug 2013 12:12:02 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Security/What-password-encryption-scheme-does-DB-Connect-App-uses-for/m-p/47540#M11547</guid>
      <dc:creator>rsimmons</dc:creator>
      <dc:date>2013-08-27T12:12:02Z</dc:date>
    </item>
    <item>
      <title>Re: DB Connect App Encryption</title>
      <link>https://community.splunk.com/t5/Security/What-password-encryption-scheme-does-DB-Connect-App-uses-for/m-p/47541#M11548</link>
      <description>&lt;P&gt;that is for version 1 of dbConnect - what about version 2 ?&lt;/P&gt;</description>
      <pubDate>Tue, 21 Feb 2017 22:29:56 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Security/What-password-encryption-scheme-does-DB-Connect-App-uses-for/m-p/47541#M11548</guid>
      <dc:creator>frankfowler</dc:creator>
      <dc:date>2017-02-21T22:29:56Z</dc:date>
    </item>
    <item>
      <title>Re: DB Connect App Encryption</title>
      <link>https://community.splunk.com/t5/Security/What-password-encryption-scheme-does-DB-Connect-App-uses-for/m-p/47542#M11549</link>
      <description>&lt;P&gt;I just wondered as well how you would decrypt Dbx2 passwords. Maybe you can update your answer?&lt;/P&gt;</description>
      <pubDate>Tue, 28 Feb 2017 13:51:00 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Security/What-password-encryption-scheme-does-DB-Connect-App-uses-for/m-p/47542#M11549</guid>
      <dc:creator>gschmitz</dc:creator>
      <dc:date>2017-02-28T13:51:00Z</dc:date>
    </item>
    <item>
      <title>Re: DB Connect App Encryption</title>
      <link>https://community.splunk.com/t5/Security/What-password-encryption-scheme-does-DB-Connect-App-uses-for/m-p/47543#M11550</link>
      <description>&lt;P&gt;For dbx v2/v3:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt; $ echo 'password' | base64 --decode | openssl aes-256-cbc -d -pass file:$SPLUNK_HOME/etc/apps/splunk_app_db_connect/certs/identity.dat
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Fri, 11 May 2018 00:14:21 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Security/What-password-encryption-scheme-does-DB-Connect-App-uses-for/m-p/47543#M11550</guid>
      <dc:creator>datasearchninja</dc:creator>
      <dc:date>2018-05-11T00:14:21Z</dc:date>
    </item>
    <item>
      <title>Re: DB Connect App Encryption</title>
      <link>https://community.splunk.com/t5/Security/What-password-encryption-scheme-does-DB-Connect-App-uses-for/m-p/47544#M11551</link>
      <description>&lt;P&gt;Previous command is for decrypting but question was about encrypting.&lt;/P&gt;

&lt;UL&gt;
&lt;LI&gt;&lt;P&gt;Encrypting:&lt;BR /&gt;
&lt;CODE&gt;$ echo 'thisIsMyPassword' | openssl enc -aes-256-cbc -base64 -pass file:///$SPLUNK_HOME/etc/apps/splunk_app_db_connect/certs/identity.dat  -e&lt;/CODE&gt;&lt;/P&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;P&gt;Decrypting:&lt;BR /&gt;
&lt;CODE&gt;$ echo 'thisIsMyEncryptedPassword' | openssl enc -aes-256-cbc -base64 -pass file:///$SPLUNK_HOME/etc/apps/splunk_app_db_connect/certs/identity.dat -d&lt;/CODE&gt;&lt;/P&gt;&lt;/LI&gt;
&lt;/UL&gt;</description>
      <pubDate>Fri, 27 Jul 2018 11:21:44 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Security/What-password-encryption-scheme-does-DB-Connect-App-uses-for/m-p/47544#M11551</guid>
      <dc:creator>aleoliva</dc:creator>
      <dc:date>2018-07-27T11:21:44Z</dc:date>
    </item>
    <item>
      <title>Re: DB Connect App Encryption</title>
      <link>https://community.splunk.com/t5/Security/What-password-encryption-scheme-does-DB-Connect-App-uses-for/m-p/47545#M11552</link>
      <description>&lt;P&gt;When using long passwords, you may have to use -A with openssl.&lt;BR /&gt;
So for us it was:&lt;/P&gt;

&lt;UL&gt;
&lt;LI&gt;&lt;P&gt;Encrypting:&lt;/P&gt;

&lt;P&gt;$ echo -n 'thisIsMyPassword' | openssl enc -aes-256-cbc -base64 -pass file:///$SPLUNK_HOME/etc/apps/splunk_app_db_connect/certs/identity.dat -e -A&lt;/P&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;P&gt;Decrypting:&lt;/P&gt;

&lt;P&gt;$ echo -n 'thisIsMyEncryptedPassword' | openssl enc -aes-256-cbc -base64 -pass file:///$SPLUNK_HOME/etc/apps/splunk_app_db_connect/certs/identity.dat -d&lt;/P&gt;&lt;/LI&gt;
&lt;/UL&gt;</description>
      <pubDate>Wed, 30 Sep 2020 04:45:49 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Security/What-password-encryption-scheme-does-DB-Connect-App-uses-for/m-p/47545#M11552</guid>
      <dc:creator>HansWurscht</dc:creator>
      <dc:date>2020-09-30T04:45:49Z</dc:date>
    </item>
    <item>
      <title>Re: DB Connect App Encryption</title>
      <link>https://community.splunk.com/t5/Security/What-password-encryption-scheme-does-DB-Connect-App-uses-for/m-p/601369#M16149</link>
      <description>&lt;P&gt;Hello Hans,&lt;BR /&gt;&lt;BR /&gt;I tried the below as suggested to decrypt the password, but i am getting errors are Invalid password argument and Error getting password, i am confused with -pass file argument, i am passing it as -pass /opt/splunk/etc/auth/splunk.secret, please suggest&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;$ echo -n 'thisIsMyEncryptedPassword' | openssl enc -aes-256-cbc -base64 -pass file:///$SPLUNK_HOME/etc/apps/splunk_app_db_connect/certs/identity.dat -d&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 10 Jun 2022 14:45:53 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Security/What-password-encryption-scheme-does-DB-Connect-App-uses-for/m-p/601369#M16149</guid>
      <dc:creator>appidi_123</dc:creator>
      <dc:date>2022-06-10T14:45:53Z</dc:date>
    </item>
    <item>
      <title>Re: DB Connect App Encryption</title>
      <link>https://community.splunk.com/t5/Security/What-password-encryption-scheme-does-DB-Connect-App-uses-for/m-p/601493#M16154</link>
      <description>&lt;P&gt;Hello the ser reading this,&lt;/P&gt;&lt;P&gt;if you get "bad decrypt"&lt;/P&gt;&lt;P&gt;try&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;echo 'U2FsdGVkX1/8/PnefMMBHA8f/IavzfMuBDyTjjNlZtg=' | base64 --decode | /opt/splunk/bin/splunk cmd openssl aes-256-cbc -d -pass file:/opt/splunk/etc/apps/splunk_app_db_connect/certs/identity.dat&lt;/LI-CODE&gt;&lt;P&gt;the version of the openssl should be the one Splunk uses, otherwise you might get "bad decrypt"&lt;/P&gt;</description>
      <pubDate>Mon, 13 Jun 2022 08:59:22 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Security/What-password-encryption-scheme-does-DB-Connect-App-uses-for/m-p/601493#M16154</guid>
      <dc:creator>nadcohen</dc:creator>
      <dc:date>2022-06-13T08:59:22Z</dc:date>
    </item>
    <item>
      <title>Re: DB Connect App Encryption</title>
      <link>https://community.splunk.com/t5/Security/What-password-encryption-scheme-does-DB-Connect-App-uses-for/m-p/676098#M17588</link>
      <description>&lt;P&gt;Thank YOU!!!&lt;/P&gt;&lt;P&gt;That worked after hours of searching!&lt;/P&gt;</description>
      <pubDate>Wed, 31 Jan 2024 15:42:27 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Security/What-password-encryption-scheme-does-DB-Connect-App-uses-for/m-p/676098#M17588</guid>
      <dc:creator>WurschtHans</dc:creator>
      <dc:date>2024-01-31T15:42:27Z</dc:date>
    </item>
  </channel>
</rss>

