English 中文(简体)
访问. pem 文件, 该文件是由铬 Webstore 自动生成的 。
原标题:Access .pem file which has been automatically generated by the Chrome Webstore

I have the following problem: my Google Chrome extension has been submitted before the packaging mechanism (i.e. ship your own pem file to the webstore) was introduced. Now I d like to update the extension but since I don t have a pem file the webstore will automatically generate a new one, hence, my extension will have a new ID which causes the update mechanism to fail and I d loose my existing user base.

能否为旧的扩展名获取一个微粒文件, 或者我可以提供我自己的微粒文件 w//o 打破更新的机械模件 。

Thanks, Peter

问题回答

如果您的扩展名已经在 Chrome Web 仓库中, 那么您不需要有. pem 文件来提交更新。 如果您的扩展名不在 Web 仓库中, 但是您会喜欢移动它并保留相同的 ID, 那么您就可以上传您旧的. pem 文件. pem, 名为 < code>key. pem ( 详见 < a href=" http://code.google.com/chrome/extensions/ packageing. html#upload" rel= "no fol" > document , 详情见 < a > 。

这不是一个理想的解决办法,但你可以称之为B计划。更新的扩展名(加上新的id)可以通过寻找旧的 sid 自动禁用旧的扩展名。

chrome.management.getAll(function(ext){
    if(ext.length===1) return;

    for(var i=0; i<ext.length; i++){
        if(ext[i].id!=="ENTER_OLD_EXTENSION_ID_HERE") continue;
        chrome.management.setEnabled(ext[i].id,false);
    }
});




相关问题
How can I decrypt encrypted files using a PEM private key?

I have files which have either been encrypted with a public key and the Blowfish algorithm, or a public key and the AES-256 algorithm. I m looking to put together a Perl script that would be able ...

Details in hex of the certificate in .pem openssl

I have generated using openssl mycert.pem which contents the certificate. And I converted the base64 text into hex. I wonder if it s possible to extract the informations from the hex string in c (...

Import PEM into Java Key Store

I am trying to connect to an SSL server which requires me to authenticate myself. In order to use SSL over Apache MINA I need a suitable JKS file. However, I have only been given a .PEM file. How ...

How can I use user s certificate?

I can t understand general scheme using certificates. For example: I have account on the some website. I have name and password. What should I do to login to this site? - I should open _https://...

how to read a RSA public key from a pem file OR xml file

I have a simple thing to do : I want to encryt data using AES algorythm and a key contained in a pem file, like shown on the page : http://msdn.microsoft.com/en-us/library/sb7w85t6.aspx In this ...

热门标签