Questions tagged [key-management]
93 questions
49
votes
2 answers
How to properly do private key management
Has anyone got practical experience or a reference for a scheme that implements a key management scheme that would comply with the PCI DSS security standard?
There are obviously quite a few implementations around given the number of companies…

sipsorcery
- 30,273
- 24
- 104
- 155
33
votes
2 answers
What is the appropriate way to manage API secrets within a Google Apps script?
If I write a google apps script, and within the script I need to invoke third party APIs or make database calls, what is the appropriate way of managing secret API keys and passwords?
Is there any risk in placing the secrets directly within the…

Master_Yoda
- 1,092
- 2
- 10
- 18
30
votes
1 answer
How to read a RSA public key in PEM + PKCS#1 format
I have a RSA public key in PEM format + PKCS#1(I guess):
-----BEGIN RSA PUBLIC…

Mr.Teen
- 591
- 1
- 6
- 17
23
votes
3 answers
Android Secure Storage
I want to store some small but critical piece of information such as AES keys in my Android application. What would be the recommended way to do this? I do not want to hardcode keys as part of my application.
I look at KeyStore but it does not…

Szere Dyeri
- 14,916
- 11
- 39
- 42
21
votes
2 answers
What is the point of using Azure Key Vault instead of only App Configuration?
Is there any point in using Azure Key Vault over App Configuration?
Yes, yes, I know - they are complimentary, key vault for secrets, app config for... well, app config.
But, considering they are both encrypted, basically for someone to see either a…

Tessaract
- 1,047
- 7
- 24
21
votes
5 answers
How to retrieve my public and private key from the keystore we created
My task is the following:
Retrieve my public and private key from the keystore I created.
Use these keys to encrypt a paragraph using my RSA 2048-bit public key.
Digitally sign the result using the DSA-SHA-1 signature algorithm.
Save the digital…

Zack Ef
- 313
- 1
- 2
- 5
18
votes
5 answers
How to extract private keys from an ssh-agent?
ssh-add -l displays that I have 3 RSA keys added to my SSH agent.
ssh-add -L displays those public keys.
How do I get the private keys as well, so that I can save them to a file? Or is it by design that this is impossible? How does it work then?
Can…

pts
- 80,836
- 20
- 110
- 183
16
votes
6 answers
Open Source Key Management Solution
I am researching Key Management Solutions in order to become PCI compliant. I have spoken to a number of vendors in the arena, and while I like their products, the cost is beyond my budget. Is anyone aware of any open source or low cost solutions…

Dave
- 397
- 3
- 4
- 16
15
votes
4 answers
data encryption and key management in c#
Which route to take, whats the pros and cons, which is more secure..
1) Generate AES key, encrypt the data with it and then encrypt the AES key with RSA, save the encrypted data and encrypted AES key to a file and RSA keypair to a KeyContainer.
2)…

hs2d
- 6,027
- 24
- 64
- 103
13
votes
2 answers
programmatically import .cer certificate into keystore
How can I import a .p12 certificate from the classpath into the java keystore? First I used the InstallCert https://code.google.com/p/java-use-examples/source/browse/trunk/src/com/aw/ad/util/InstallCert.java and did some changes so the server…

Pali
- 1,337
- 1
- 14
- 40
11
votes
2 answers
Is there an opensource library implementing DUKPT or ANSI X9.24
I'm tasked with implementing a decryption functionality against a device using the DUKPT protocol/scheme/algorithm.
The encryption algorithm itself is just DESede which is easy to work with and have good library support(JCE, BouncyCastle).
The…

Hyangelo
- 4,784
- 4
- 26
- 33
10
votes
5 answers
Where can I learn about proven methods for sharing cryptographic keys?
Suppose that a group wants to encrypt some information, then share the encryption key among the group members in a way that requires the consensus of the group to decrypt the information. I'm interested in a variety of scenarios where the breadth of…

erickson
- 265,237
- 58
- 395
- 493
9
votes
3 answers
What happens to OpenPGP-signed git commits after key expiration?
If I sign a git commit with an OpenPGP key that has an expiration date, what does that mean for people looking at that commit after the expiration date? Should all keys used for commit signing like this be permanent?
What if the verifying party have…

Captain Man
- 6,997
- 6
- 48
- 74
6
votes
3 answers
Why shouldn't a private key be stored verbatim or in plain text on the local computer?
I was reading this:
http://msdn.microsoft.com/en-us/library/tswxhw92(VS.80).aspx
The first sentence says: "Asymmetric private keys should never be stored verbatim or in plain text on the local computer."
What's the problem with this? And how…

Scott Langham
- 58,735
- 39
- 131
- 204
5
votes
1 answer
Are there any published extensions to PKCS#12?
PKCS#12 is a convenient way to lump together a private key with its corresponding X.509 certificate into a standardized single file format. However, the specification was published by RSALabs in 1999 and uses only RC4, RC2 and TripleDES for…

Henrick Hellström
- 2,556
- 16
- 18