If you leverage the Private Key generated above to package your extension the resulting Extension ID will be "gimgeafkohnmpdeopfnpankklbllicfn". The Microsoft Edge (Chromium) Extension ID: > openssl rsa -in key.pem -pubout -outform DER | shasum -a 256 | head -c32 | tr 0-9a-f a-p MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAxVF/+SPvFky9yYjTUeXbKJj6r1ZdDxoS+GGnVtYIoRCtwM3Lt1QuIWoG/t8bCNq+J5GJKm9+y5U/keDRtoDPghbCzuysJxMSmkJzb85CK1KFkxBfNAG8oAM3p1d4+jR4tudp0s9Re97OiQOqZNXhiFqQ30g1EJr/+KBe6Wyh+hKr+/9O88YMtnvUzc6595aBHRkhqvsE9x8pNKf29FBppivh/PlEDqyBeCSWYCiJNFHM0gsVIrkUaSE9RPNVSlxn2tZH8pMH1A+dpUT4d6y+nDE9SeAxBCZrG8KMQHGyZR9I6ylnar52M259Y+LUQ/U5LZWhsUsryqd4i5wuWeq5RQIDAQAB Generate the public key: > openssl rsa -in key.pem -pubout -outform DER | openssl base64 -A Generating RSA private key, 2048 bit long modulus (2 primes) Generate the private key: > openssl genrsa 2048 | openssl pkcs8 -topk8 -nocrypt -out key.pem Once we have this keypair, we are also able to generate the extension's id this is an important identifier which we will use later in the post.įor our scenario we can create a self-signed certificate with the following steps: This certificate will be used to digitally sign the extensions deployment package (CRX), we would also use this keypair for packaging subsequent extension updates. If we do not plan to distribute our extension via the Microsoft Edge Web Store, we will need a certificate. The high-level steps for building & packaging a simple extension are as follows: Before we can continue, we need a simple extension to deploy. There are multiple steps to building a Microsoft Edge Extension, in this post I will focus on extension distribution & deployment. In this blog post I would like to explore how we can distribute our custom Microsoft Edge extensions within the Enterprise. Chromium brings with it an excellent extensibility model for customers and 3rd parties to extend the browsing experience, these extensions can also be published to the public Microsoft Edge Web Store. Microsoft decided to base the latest version of Microsoft Edge on Chromium, this results in a much more standards-based browsing experience where Microsoft can innovate in other areas like UI etc.
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |