{"id":30374,"date":"2017-03-14T12:41:29","date_gmt":"2017-03-14T19:41:29","guid":{"rendered":"https:\/\/blog.xamarin.com\/?p=30374"},"modified":"2019-03-25T19:35:22","modified_gmt":"2019-03-26T03:35:22","slug":"simplified-android-keystore-signature-disovery","status":"publish","type":"post","link":"https:\/\/devblogs.microsoft.com\/xamarin\/simplified-android-keystore-signature-disovery\/","title":{"rendered":"Simplified Android Keystore Signature Discovery"},"content":{"rendered":"<p>\t\t\t\tThe Android Keystore is at the heart of every Android application. It enables us to sign our applications and ship them to the app store securely, but also holds additional signature information needed for Google Play services and other APIs, such as Facebook. Traditionally, we would have <a href=\"https:\/\/developer.xamarin.com\/guides\/android\/platform_features\/maps_and_location\/maps\/obtaining_a_google_maps_api_key\/\" target=\"_blank\">manually run commands<\/a> via the command prompt against Java keytool to find the MD5 and SHA signatures for your debug and release keystores, but no more! We&#8217;re now able to use the our very own <a href=\"http:\/\/twitter.com\/redth\" target=\"_blank\">Jon Dick<\/a>&#8216;s new Android Keystore Signature Tool Extension for <a href=\"https:\/\/marketplace.visualstudio.com\/items?itemName=Redth.AndroidKeystoreSignatureTool\" target=\"_blank\">Visual Studio<\/a> and <a href=\"https:\/\/github.com\/redth\/AndroidSignatureToolAddin\" target=\"_blank\">Xamarin Studio<\/a>.<\/p>\n<h2>Installation<\/h2>\n<p>It couldn&#8217;t be easier to get started with this new tool. In Visual Studio 2017 (coming soon to VS 2015), simply go to Tools -&gt; Extensions and Updates and search for &#8220;keystore&#8221; to find the extension.<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/devblogs.microsoft.com\/wp-content\/uploads\/sites\/44\/2019\/03\/Capture.png\" alt=\"Capture\" width=\"600\" class=\"aligncenter size-full wp-image-30375\" \/><\/p>\n<p>After downloading, just re-start Visual Studio and you&#8217;ll see it in the Tools menu.<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/devblogs.microsoft.com\/wp-content\/uploads\/sites\/44\/2019\/03\/Tool.png\" alt=\"Tool\" width=\"358\" height=\"180\" class=\"aligncenter size-full wp-image-30376\" \/><\/p>\n<p>On the Xamarin Studio side, open the Add-ins dialog under the Xamarin Studio menu, and under Gallery and Mobile Development, you&#8217;ll find &#8220;Android Signature Tool.&#8221;<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/devblogs.microsoft.com\/wp-content\/uploads\/sites\/44\/2019\/03\/Pasted-image-at-2017_03_08-10_02-AM.png\" alt=\"Pasted image at 2017_03_08 10_02 AM\" width=\"600\" class=\"aligncenter size-full wp-image-30377\" \/><\/p>\n<p>You&#8217;ll see it under the Tools menu after installation.<\/p>\n<h2>Finding The Signatures<\/h2>\n<p>After installing the tool and launching it, we have the option to find the signatures of the default keystore or specify the path to our own custom created keystore. If we select our own, we&#8217;ll have to enter the alias and passwords associated with the keystore and then tap Generate Signature.<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/devblogs.microsoft.com\/wp-content\/uploads\/sites\/44\/2019\/03\/FindKey.png\" alt=\"FindKey\" width=\"470\" height=\"488\" class=\"aligncenter size-full wp-image-30378\" \/><\/p>\n<h2>Learn More<\/h2>\n<p>You can learn more about the Android keystore files on the <a href=\"https:\/\/developer.xamarin.com\/guides\/android\/deployment,_testing,_and_metrics\/publishing_an_application\/part_2_-_signing_the_android_application_package\/\" target=\"_blank\">official documentation<\/a> and browse the source code to the Signature Tool on Jon&#8217;s <a href=\"https:\/\/github.com\/redth\/AndroidSignatureToolAddin\" target=\"_blank\">GitHub<\/a>. Be on the lookout for full support for Visual Studio 2015 soon!\t\t<\/p>\n","protected":false},"excerpt":{"rendered":"<p>The Android Keystore is at the heart of every Android application. It enables us to sign our applications and ship them to the app store securely, but also holds additional signature information needed for Google Play services and other APIs, such as Facebook. This new extension makes it super simple to get access to everything you need to sign your app!<\/p>\n","protected":false},"author":544,"featured_media":41039,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[313,2,556],"tags":[398,1335,1336,397,4],"class_list":["post-30374","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-android","category-developers","category-integrations","tag-extensions","tag-keystore","tag-signing","tag-visual-studio","tag-xamarin-platform"],"acf":[],"blog_post_summary":"<p>The Android Keystore is at the heart of every Android application. It enables us to sign our applications and ship them to the app store securely, but also holds additional signature information needed for Google Play services and other APIs, such as Facebook. This new extension makes it super simple to get access to everything you need to sign your app!<\/p>\n","_links":{"self":[{"href":"https:\/\/devblogs.microsoft.com\/xamarin\/wp-json\/wp\/v2\/posts\/30374","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/devblogs.microsoft.com\/xamarin\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/devblogs.microsoft.com\/xamarin\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/xamarin\/wp-json\/wp\/v2\/users\/544"}],"replies":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/xamarin\/wp-json\/wp\/v2\/comments?post=30374"}],"version-history":[{"count":0,"href":"https:\/\/devblogs.microsoft.com\/xamarin\/wp-json\/wp\/v2\/posts\/30374\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/xamarin\/wp-json\/wp\/v2\/media\/41039"}],"wp:attachment":[{"href":"https:\/\/devblogs.microsoft.com\/xamarin\/wp-json\/wp\/v2\/media?parent=30374"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/xamarin\/wp-json\/wp\/v2\/categories?post=30374"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/xamarin\/wp-json\/wp\/v2\/tags?post=30374"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}