i'm very new with firebase. I need private key to accessing firebase admin sdk for my backend. Actually, my company had used firebase for long time but no one know where is the private key or had been generate it.
So, here my questions :
1. what will happen with the old private key when i click generate ? can we still use it ? or the key will be obsolete and caused some services didn't work ?
2. can the private key used by any platform in parallel ?
thank you
np : sorry for my bad english
Your old private key is stored, so you can still use it if you decide to generate a new private key.
Yes, you can use both keys at the same time for different purposes.
You can manage your keys here.
Select your project and look under Key Id to find all the keys you have generated. You can also delete old or unused keys.
Related
I am facing issue with running DBMS_CLOUD.send_request to invoke a function via Autonomous DB.In the credential I am giving the right API signing key but it doesn’t seem to work and keeps trowing “Authorization failed for URI” not sure what am I missing as I am able to invoke the same function with the same credentials using SDK and same invoke endpoint. Also, in the private_key parameter of DBMS_CLOUD.CREATE_CREDENTIAL i am providing the private key content without the line breaks and excluding the BEGIN and END RSA PRIVATE KEY, would like to know if this is the right way to provide the key content.
Also, Please note that my Autonomous DB workload type is "APEX" and I have given EXECUTE GRANT on DBMS_CLOUD to my APEX Principal using ADMIN
Is your private key protected with a passphrase ...? AFAIK these are not supported, so you might work without a passphrase.
Also, you might try creating an APEX Web Credential (Use the OCI type), and then use APEX_WEB_SERVICE.MAKE_REST_REQUEST to call the REST API. This would at least help to verify the credential.
In yodlee deveopment environment, I can't see the private key I need to signed the generated jwt, i see the private key in sandbox, but can't see it in development
Someway I have a private key that isn't working (can't remember how i have this private key, as this is a development that i started time ago, and it stop and now i'm getting it again)
In the yodlee sandbox, you are issued your RSA keypair. This is to speed things along for you.
Once you get out of the sandbox environment, you need to generate your own RSA key pair, and upload your public key with Yodlee while keeping your private key secure, confidential, secret, and not in any mobile devices.
Google "How do I generate an RSA keypair" for info on the command line tools and other sources.
I have a usecase where I have to encrypt data using a participant's public key before adding the data to the chain.
I have already implemented issuing identity and creating cards through following the example here.
https://github.com/hyperledger/composer-knowledge-wiki/blob/latest/knowledge.md#card-api-errors--resolutions
The problem is the example only returns certificate and private key.
However, I need public key to encrypt data before adding to the chain so I can decrypt it with the private key later (when retrieving).
Can anyone please help me out? Am I missing something here?
Thanks!
I am working on a project and using MembershipReboot as the membership manager. I am using Guids for the keys instead of the ints used in the Single Tenant demo. My application can add UserClaims but I get an error when trying to remove or delete them. Some error about not being able to set a foreign key to null. There is only one foreign key in UserClaim, the ParentKey. I don't think the framework should be setting it to null anyway, it should be simply deleting the UserClaim, not modifying it. I can fix this by scanning the repository for modified UserClaims and deleting them, but this is a horrible kludge. I was just wondering if anyone else has used UserClaim and if they worked for them?
MembershipReboot Version 7.2.
I am using both the Private Message module and the Encrypt modules. I can of course create a field which is encrypted, but it looks like I must alter the PM module since its storage in the database is not encrypted. Isn't exactly private then is it. Permissions are not enough to make it a Private Message.
I assume I will need to add the Encrypt code directly to the module itself. Does anyone have any idea where I would add it and how?
Thanks
The module is named "private messages" because the messages are private between the sender & recipient, no one else can see the messages.
If you want to encrypt the database, then you can directly use the database API hooks. You will also have to alter the schema of private messages module I believe.
For HTTPS you can use https://drupal.org/project/securepages
And for encrypting the form submitted data, you can go with http://www.jcryption.org/ or even more interesting http://crypto.stanford.edu/sjcl/
I've done something similar before to store encrypted images directly in the DB (for passport photos).
I've just had a quick look at the private messages module and it looks like you'll need to modify the main .module file. Search though it for db_insert. At around line 1836 is the bit that saves the message to the db.
If you add:
$message->body = encrypt($message->body);
before the line:
$args['body'] = $message->body;
Then that will handle the encryption.
Then you need to find where it gets back out the DB and put the decryption function in there.