<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Benjamin AIMONE</title>
    <description>The latest articles on DEV Community by Benjamin AIMONE (@benj69).</description>
    <link>https://dev.to/benj69</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F517214%2Fbcfe401b-dc10-4ce5-9368-d91418cb39f6.jpeg</url>
      <title>DEV Community: Benjamin AIMONE</title>
      <link>https://dev.to/benj69</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/benj69"/>
    <language>en</language>
    <item>
      <title>Gradle plugin to deeply hide secrets keys on Android</title>
      <dc:creator>Benjamin AIMONE</dc:creator>
      <pubDate>Thu, 19 Nov 2020 09:31:56 +0000</pubDate>
      <link>https://dev.to/benj69/gradle-plugin-to-deeply-hide-secrets-on-android-g38</link>
      <guid>https://dev.to/benj69/gradle-plugin-to-deeply-hide-secrets-on-android-g38</guid>
      <description>&lt;p&gt;Hello community! We are looking for feedbacks on the gradle plugin we have created : &lt;a href="https://github.com/klaxit/hidden-secrets-gradle-plugin"&gt;hidden-secrets-gradle-plugin&lt;/a&gt; 🙏&lt;/p&gt;

&lt;p&gt;This plugin allows any Android developer to deeply hide secrets in its project. It is an open source equivalent of what &lt;a href="https://www.guardsquare.com/en/products/dexguard"&gt;DexGuard&lt;/a&gt; can offer to prevent &lt;strong&gt;credentials harvesting&lt;/strong&gt;.&lt;/p&gt;

&lt;p&gt;It uses a combination of obfuscation techniques to do so :&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;secret is obfuscated using the reversible XOR operator so it never appears in plain sight,&lt;/li&gt;
&lt;li&gt;obfuscated secret is stored in a NDK binary as an hexadecimal array, so it is really hard to spot / put together from a disassembly,&lt;/li&gt;
&lt;li&gt;the obfuscating string is not persisted in the binary to force runtime evaluation (ie : prevent the compiler from disclosing the secret by optimizing the de-obfuscation logic),&lt;/li&gt;
&lt;li&gt;optionally, anyone can provide its own encoding / decoding algorithm when using the plugin to add an additional security layer.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;This plugin is &lt;strong&gt;used in production&lt;/strong&gt; at &lt;a href="https://play.google.com/store/apps/details?id=com.wayzup.wayzupapp"&gt;Klaxit - Covoiturage quotidien&lt;/a&gt;. Our engineering team at Klaxit will provide its best effort to maintain this project.&lt;/p&gt;

&lt;p&gt;⚠️ Nothing on the client-side is unbreakable. So generally speaking, &lt;strong&gt;keeping a secret in a mobile package is not a smart idea&lt;/strong&gt;. But when you absolutely need to, this is the best method we have found to hide it.&lt;/p&gt;

&lt;p&gt;For all implementation details, please visit the github repository : &lt;a href="https://github.com/klaxit/hidden-secrets-gradle-plugin"&gt;hidden-secrets-gradle-plugin&lt;/a&gt; 😇&lt;/p&gt;

</description>
      <category>android</category>
      <category>security</category>
      <category>gradle</category>
      <category>kotlin</category>
    </item>
  </channel>
</rss>
