How is a public key used that is generated when a Microsoft Edge extension is submitted on Partner Center? - microsoft-edge

While uploading my extension to Microsoft Partner Centre, I have got a "Public key" for my extension along with CRX ID and Store ID.
I could not find any documentation on the use of this Public key in Microsoft Edge Add-ons. Can I know the use of this key?

The only thing I can find about public key in Microsoft doc is this:
The extension ID is generated based on a hash of the public key.
So I think the use of the public key is to generate extension ID.

Related

can't get Consumer ID after uploading RSA keys

This is my first time trying to access the Walmart API. I created my account and followed the onboarding steps but I can't get the Dashboard to generate "consumer ID" for me.
I have created my application, and click on “Upload/Update public key”. I copy-pasted two RSA public keys into the field; one for Staging, and one for Production. However it never creates the “Consumer ID” for my application. Can you see my dashboard entry in your system?
Why am I not issued a consumer ID after uploading my public keys?
Usually the issue will be either
the public key is invalid (or)
if you already have consumer id and trying to update with the same public key then there will be an issue (or)
if you have copied public key along with any white spaces (or)
if you are trying to upload private key by mistake
Regards,
Firdos
IO Support

RSA Public/Private Key SecRefKey Necessary in iOS?

I have generated an RSA Key Pair, a public and a private key. They are both Strings.
I see sources showing that, the private key are always saved in the keychain and then retrieved as SecKeyRef/KeyRef.
After it is saved, it is then retrieved, used and then deleted.
My question is, is it possible to use the RSA Private Key as an NSString to decrypt, without saving it in the keychain first?
Yes, if you use another library. I use OpenSSL in my app to circumvent using the Security framework for simple stuff like this. OpenSSL provides its own API: PEM_read_bio_PrivateKey, EVP_PKEY_get1_RSA, RSA_private_decrypt

Any expiry for Public and Private key created from SecKeyGeneratePair? (iOS - Swift)

Writing pertaining the development on iOS-Swift platform.
I have created a public and private key in the usage of biometric authentication between server and my device. However, I do not see any library or keyword to check or configure the expiry.
The Public and Private key are created from SecKeyGeneratePair.
Are there any date expiry?

Why does download captions return Login Required?

I tried show captions in the video via URL but It's tell me login required
My attempt
https://www.googleapis.com/youtube/v3/captions/BoaAKQZq5TEG3wdKFklJrnQZ3_7OayFqRJtSUDTo9Ck=?tfmt=ttml&tlang=en&key=I_Hid_My_Key
The result is Login Required
The source
Captions: download
What you need to understand is the diffidence between private and public user data. Public data is just that public anyone can access it. Youtube Video search for example searches for public youtube videos.
Videos captions download Downloads a caption track. The caption track is returned in its original format unless the request specifies a value for the tfmt parameter and in its original language unless the request specifies a value for the tlang parameter.
This data is private data. It can only be accessed by the captions on a video with the permission and Authorization of the owner of the video.. In you are currently using an api key denoted by key= which is only used for accessing public data. You will need to be authenticated using one of the below scopes in order to access this information.
This request requires authorization with at least one of the following scopes (read more about authentication and authorization).
Scope
https://www.googleapis.com/auth/youtube.force-ssl
https://www.googleapis.com/auth/youtubepartner

Where to find the youtube API Key?

I followed all the steps. I selected my desired API (YouTube Data API) and created a project.
I am searching now for about 20 minutes but I can't find the API Key?
My user interface is in german, is it possible that it is named to something else than API Key? Maybe Clientschlüssel (Client Key) ?
This is all I found:
There is also a JSON object, but no API Key:
var myInfos = {
"web":{
"client_id":"censored",
"project_id":"censored",
"auth_uri":"https://accounts.google.com/o/oauth2/auth",
"token_uri":"https://accounts.google.com/o/oauth2/token",
"auth_provider_x509_cert_url":"censored",
"client_secret":"censored",
"redirect_uris":["https://localhost/ex/YouTube/index.html"],
"javascript_origins":["http://localhost"]
}
}
Just to walk through this again to make sure you have done it properly.
Make sure you have a Google account.
Log into the developer console at: https://console.developers.google.com/
Create a project
THEN, select YouTube data API
Click create credentials on the right hand side of the screen.
Choose where you will call the API from
Pick public or User.
Obtain your API Key.
Optional: restrict your key.
I just walked though all of this and have been given a key myself.
sign into https://developers.google.com
https://console.developers.google.com/project - Create Project - enter Project Name - Create
select newly created project
Go to APIs Overview
click + Enable APIS AND SERVICES
type "YouTube" - select Youtube API v3 - click Enable
click Credentials - "Create Credentials" - API key
Copy and paste API key to text editor, e.g. notepad (save)
I finally found it!
You have to go to Zugangsdaten (Credentials) and then click on Anmeldedaten erstellen (create credentials), now you can select API Key!

Resources