01-07-2009
Yes I mistyped. I am using gpg, gnu privacy guard, exclusively. There are many ways to use it and I showed only one. To get rid of the warning you must establish trust for the key and signing it yourself is the easiest way. So create your own keys and sign the key.
10 More Discussions You Might Find Interesting
1. UNIX for Advanced & Expert Users
When should one have to generate a public key on a Server when the public key is already created and used by other clients?
Thanks,
Rahul. (6 Replies)
Discussion started by: rahulrathod
6 Replies
2. AIX
If I use SSh Secure File Transfer tool on Windows, I want to transfer file from windows to AIX without password, how to do it? (6 Replies)
Discussion started by: rainbow_bean
6 Replies
3. Cybersecurity
Hi guys,
I would like to transfer files from UNIX machine to Mainframe system (using UNIX machine as client). The transfer process needs to be secure (i.e. data sent thro network should be encrypted using 128-bit encryption algorithm). I came to know that SFTP server is not available for Mainframe... (3 Replies)
Discussion started by: sydneymoon
3 Replies
4. Shell Programming and Scripting
Hi all, I am running a large scale business and some time I have to transfer large and very important data files to my business partner. I fear about my data because there are many of my business competitors who will definitely try to steal my important data. So there is huge amount of risk... (0 Replies)
Discussion started by: camden
0 Replies
5. Shell Programming and Scripting
Hi,
Is there any protocol other than SFTP to transfer the file using secured connection SSH. ?
Regards,
Arthik (2 Replies)
Discussion started by: arthikbabu
2 Replies
6. Shell Programming and Scripting
Hi,
i was provided with
1. Server IP (Remote)
2. Username and Password (worked when tested basic FTP)
3. Their Public key (GnuPG v1.0.6)
They refuse when i upload using basic FTP and insists for encryption.
I have Solaris 10 and Linux in my environment.
How can i encrypt and upload... (0 Replies)
Discussion started by: prvnrk
0 Replies
7. UNIX for Dummies Questions & Answers
Hi all
Ive setup a VSFTPD server and im forcing SSL encryption. I have made a key and it works perfectly.
I have a client who wants to connect but is using software that needs the key to be added before he can connect.
Does he need me to send the key i created and that the VSFTPD.conf... (0 Replies)
Discussion started by: mokachoka
0 Replies
8. UNIX and Linux Applications
I am developing an application that submits command line file transfers using ssh (Sun to Sun) and Tectia ssh (Sun to Windows Server) embedded in the code. Potentially many different trusted people will start the programs. Is there a way to have all the settings and keys localized so that there is... (0 Replies)
Discussion started by: PowersThatB
0 Replies
9. Solaris
Hi, I've used the following way to set ssh public key authentication and it is working fine on Solaris 10, RedHat Linux and SuSE Linux servers without any problem. But I got error 'Server refused our key' on Solaris 8 system. Solaris 8 uses SSH2 too. Why? Please help. Thanks.
... (1 Reply)
Discussion started by: aixlover
1 Replies
10. UNIX for Advanced & Expert Users
Using RCP command we can transfer file from one server to another server.
While transferring we can rename the file also e.g.
File name = FILE123.txt (lying on Source server = oldserver)
Target Server Name = newyour
Renamed File = FILE456.txt
rcp FILE123.txt newyour:./FILE456.txt... (1 Reply)
Discussion started by: Pash
1 Replies
LEARN ABOUT PHP
openssl_public_encrypt
OPENSSL_PUBLIC_ENCRYPT(3) 1 OPENSSL_PUBLIC_ENCRYPT(3)
openssl_public_encrypt - Encrypts data with public key
SYNOPSIS
bool openssl_public_encrypt (string $data, string &$crypted, mixed $key, [int $padding = OPENSSL_PKCS1_PADDING])
DESCRIPTION
openssl_public_encrypt(3) encrypts $data with public $key and stores the result into $crypted. Encrypted data can be decrypted via
openssl_private_decrypt(3).
This function can be used e.g. to encrypt message which can be then read only by owner of the private key. It can be also used to store
secure data in database.
PARAMETERS
o $data
-
o $crypted
- This will hold the result of the encryption.
o $key
- The public key.
o $padding
-$padding can be one of OPENSSL_PKCS1_PADDING, OPENSSL_SSLV23_PADDING, OPENSSL_PKCS1_OAEP_PADDING, OPENSSL_NO_PADDING.
RETURN VALUES
Returns TRUE on success or FALSE on failure.
SEE ALSO
openssl_private_encrypt(3), openssl_private_decrypt(3).
PHP Documentation Group OPENSSL_PUBLIC_ENCRYPT(3)