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

test if a specific key was used to sign an .apk file

I have a .key file and a signed .apk file (android phongap application built using phonegap build). How can I check if the .apk was signed using that key?
epeleg
  • 10,347
  • 17
  • 101
  • 151
0
votes
1 answer

Missing private key

I add my ios developer account to xCode and I got this: I installed all certificates and provision profiles on my mac. What does it mean and how can I solve it.
aakpro
  • 1,538
  • 2
  • 19
  • 53
0
votes
1 answer

track every system and external library call on an OS X app

I want to examine every system and external library call of a given application, together with the data structures that are passed around. (The application in question is some kind of packaged software based on OpenSSL and around OS X keychain, and…
cnst
  • 25,870
  • 6
  • 90
  • 122
0
votes
1 answer

BouncyCastle Error

I am developing an android application. In this application I create my own private key by passing pass phrase, user id and keys. When creating the private key, it says "Error: org.bouncycastle.openpgp.PGPException: cannot create cipher:…
Devesh Garg
  • 83
  • 1
  • 1
  • 9
0
votes
2 answers

Encryption and Decryption in and out of codeigniter

I am creating an application based on codeigniter and will work as a API Centric application, i want to implement security , so that the user accessing the API from their own portal should get a public and private key from my portal and then every…
0
votes
1 answer

RSA encryption from java and decryption using php

I am trying do RSA encrypt of user email id using java and trying to decrypt using php. But i was not successful below are the details Source in java: package ia; import java.io.File; import java.io.FileInputStream; import…
Crons
  • 31
  • 1
  • 7
0
votes
1 answer

retrieving the public key from keystore

I have created a keystore and it includes private key and public key. I need to retrieve my public key and private key using java codes. I found a method to retrieve the private key from here. But I cannot find a way to retrieve the public key. Can…
0
votes
2 answers

Clarification on public key decryption

I have a key pair and I use private key to encrypt the data, public key for decryption. Is it possible to provide confidentiality in this setup ?
suzee
  • 29
  • 1
  • 3
0
votes
1 answer

Rapid SSL private key in to setup https with my apache sever

I bought SSL certificate to apply it to my site which is hosted in Digitalocean VPS, When I bought SSL , Rapid SSL emailed the keys with that email. In that mail they mentioned public.crt and intermediate.crt but they did not provide me any…
user2088432
  • 375
  • 1
  • 4
  • 17
0
votes
1 answer

How to do decryption of a file in Java/Android which is encrypted using RSACertificate.der and RSAPrivatekey.p12

I am working on Android application for Encryption and decryption using RSA algorithm. My intention is to decry-pt a file which is encrypted by server using RSACertificate.der and RSAPrivatekey.p12 files. Now I have a Example.encriptedfile,…
Ganesh
  • 924
  • 2
  • 12
  • 34
0
votes
1 answer

How do I convert from an OpenSSH key to PuTTY format in C#?

I have a key generated by SharpSSH in OpenSSH format. How do I convert it to PuTTY format in C#?
Greg Finzer
  • 6,714
  • 21
  • 80
  • 125
0
votes
1 answer

Using Keytool in a java program?

I am trying to write a program to generate RSA keys private.der, and public.der in PKCS#8, DER format. I can do it in OpenSSL manually easily, but I have no idea how to do it in java. I read about Keytool that you can also use manually. But I want…
Tevor
  • 316
  • 2
  • 4
  • 15
0
votes
2 answers

SSL certificate install on hosting, generating key

I have SSL certificate, which i upload on my hosting. I need to generate private key, how i can generate it without ssh access. Thanks.
styopdev
  • 2,604
  • 4
  • 34
  • 55
0
votes
1 answer

Generate key files to connect to Bitbucket in Vagrant boxes

We use Vagrant boxes for development. For every project or small snippet we simply start a new box and provision it with Ansible. This is working fantastic; however, we do get into trouble when connecting to a private Bitbucket repository within a…
Jurian Sluiman
  • 13,498
  • 3
  • 67
  • 99
0
votes
1 answer

Phpseclib Private key in Vb.net

I am trying to decrypt a RSA encrypted string, which i encrypted with phpseclib, with vb.net. The problem: I generated a keypair (public and private) with phpseclib and enrcypted the string with php and publickey. Now i want to decrypt this with a…
Herlex
  • 43
  • 9