Questions tagged [private-key]

Private key that occurs in asymmetric cryptography algorithms such as RSA and Diffie-Hellman as the counterpart to a public key. The private key must never be divulged while the public key can be made available to everyone. If your question is not pertaining specifically to the private key (usage/encoding/etc.), you should use more appropriate tags such as [public-key-encryption], [digital-signature], [diffie-hellman] or even [cryptography].

1626 questions
0
votes
1 answer

The private key for is not installed on this mac

I wanted to use xcode for particular project in a machine other than usually i am working. I tried to archive the project and got an error "The private key for is not installed on this mac - distributing” Then i exported the developer profile and…
Susitha
  • 3,339
  • 5
  • 27
  • 41
0
votes
1 answer

Get RSA Private Key in RAW format

I was working on a Project which purely involves PROVEN Mathematical equations, One of step requires value of private key, not for decryption or encryption. In RSA we do have (e,n) as public key, (d,n) as private key. I am using phpseclib RSA…
Arun
  • 47
  • 1
  • 7
0
votes
1 answer

Cannot connect to AWS EC2 using private key sent to myself (Permission denied: public key)

I know this is an issue that is common but I believe the cause in my case is not the usual. I have an ubuntu AWS EC2 instance that I access using the private key on my mac. I wanted access whilst I'm at work so I put the key in my dropbox account…
harryg
  • 23,311
  • 45
  • 125
  • 198
0
votes
1 answer

how can I identify my SSL public key certificate?

Amazon Cloudfront is giving me errors, either my private key doesn't match my public key certificate or my public key certificate cannot be parsed as it's invalid. Using Godaddy for my SSL certificate middle man/provider, I got a: .pem whoose…
williamsandonz
  • 15,864
  • 23
  • 100
  • 186
0
votes
2 answers

Export openssl key to file

I generated a private key using commend: openssl genrsa -out privKey.pem Now I want to export this key to file with extension .p12, so I used commend: openssl pkcs12 -export -inkey privKey.pem -out key.p12 -name "MyPrivKey" but when I try to run…
Rop
  • 217
  • 2
  • 12
0
votes
1 answer

remote mysql connection using private key in php

I checked other threads but couldnt find an answer for this specific question. To make things easier, here is the setup I use to connect to db using mysqlworkbench ssh hostname :somehostname.com:22 ssh username: ec2-user ssh password : my private…
0
votes
1 answer

Private key for RSA decryption C++

I've tried to write a function to find the private key for RSA using the Extended Euclidean algorithm, I can't find the error but I really don't want to start again from scratch! For certain values it is correct but for others it isn't and I can't…
MichaelRad
  • 79
  • 1
  • 9
0
votes
1 answer

privateEncrypt equivalent in c#

Trying to connect to chef api from c# . documentation says, sign the header with the private pem key My Collegues working on node js use a library called ursa which lets them sign a string using the method privateEncrypt what is wierd though is that…
Rajat banerjee
  • 1,781
  • 3
  • 17
  • 35
0
votes
1 answer

How to calculate the public key (E) of an RSA private key (D)?

I want to create my own RSA Key Pair (Actually I want create pair key with my own Private Key) for some reason but I realized that I should use the keys that RSA Class generates for me cause the public (e) and private (d) keys are mathematically…
0
votes
1 answer

How to get private key with asn format from pfx?

How to get private key with asn format from pfx? I need to get the private key with asn format to put to Qt's variable QSslKey to connect https server. I have to use Win32 Api to do it, and I can't use OpenSSL to transform it. First I try to get the…
lvshuchengyin
  • 235
  • 1
  • 4
  • 19
0
votes
1 answer

Shared Key Authentication Simplification

SO- I have this question in my homework, and I have a lot of ideas about why its not true, but I can't put my finger on it precisely... Here we assume Alice and Bob have a secret key. Consider these 5 steps: Alice sends bob "ID_a" to start…
SetSlapShot
  • 1,298
  • 1
  • 21
  • 48
0
votes
4 answers

Connecting with SSH to Amazon EC2 requires pwd

I have just launched a new Amazon AWS EC2 instance. It is a Suse server. I am attempting to connect to it through SSH using my private key. It has been 'Permanently added' to my 'to the list of known hosts.' with my private key. However - I am not…
Lucy Weatherford
  • 5,452
  • 16
  • 50
  • 76
0
votes
1 answer

Resolve "valid signing identity not found in xcode" without import and export

i have only apple id and password And i need to upload the app Checklist of task which I have done: Download distribution certificate Download distribution provisioning profile itunes detail for application upload filled up and status is 'waiting…
Chitra Khatri
  • 1,260
  • 2
  • 14
  • 31
0
votes
1 answer

Restore passphrase rsa/dsa keys

I've installed new Ubuntu from scratch on my new machine and want to have an access to the remote host using ssh. The problem is that even if I have both public and private keys I forgot the passphrase used whilst creating keys because right after…
boldnik
  • 2,547
  • 2
  • 27
  • 32
0
votes
1 answer

Always use private key authentication for scp

I'm using scp in a script, which normally should always use private key authentication. If for some reason the private key is missing, I want the script to fail rather than display a password prompt. Is it possible to disable this prompt, or to…
laurent
  • 88,262
  • 77
  • 290
  • 428
1 2 3
99
100