05-27-2014
This is suggesting that the file is not valid. Was it perhaps FTPed in binary, possibly adding the dreaded ^M on each line?
As a test, can you do a checksum on the source and the file you are trying to import?
It might be (looking at the message) that it has just warned you, but actually completed the operation. Can you list the keys back to check?
Robin
10 More Discussions You Might Find Interesting
1. UNIX for Advanced & Expert Users
Firstly, i apologise if i have posted in a wrong section of the forum. Please let me know which is the correct section my post should go to.
I have to SCP a file from one server(server A) to another (server B). I read around that a secure way is to use public and private keys.
Assuming my... (2 Replies)
Discussion started by: new2ss
2 Replies
2. UNIX for Dummies Questions & Answers
Hello*! I have problems with public keys. On one side i have Solaris 10, and on other side is HP UNIX. I created public keys on Solaris with "ssh-keygen -t rsa", append id_rsa.pub key to ~user/.ssh/authorized_keys on remote machine, and tried to connect with ssh without password. But for some... (1 Reply)
Discussion started by: ghost01
1 Replies
3. Shell Programming and Scripting
do we need root access for the remote server to ssh without a password(i.e by using id_rsa.pub method)??? (1 Reply)
Discussion started by: roshanjain2
1 Replies
4. UNIX for Advanced & Expert Users
I'm hoping someone can help get me moving in the right direction here, so bear with me.
I've got 2 RedHat Linux servers, let's call them A & B.
- A receives "sensitive" files, which are PGP encrypted, and immediately sends them off to B for decryption/processing/deletion
- B needs to make... (1 Reply)
Discussion started by: peteroc
1 Replies
5. Cybersecurity
Hello here is what I've seen
inside some public pgp keys.
gAIAAAAAAAkBAAAAAAoAAAAFAAoArwFI/gkAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA... (1 Reply)
Discussion started by: morten44
1 Replies
6. Shell Programming and Scripting
Hi All,
I am having knowledge on some basics of ssh and wanted to know what are the public keys and how can we create and implement it in connecting server.
Please provide the information for the above, it would be helpful for me.
Thanks,
Ravindra (1 Reply)
Discussion started by: ravi3cha
1 Replies
7. Cybersecurity
Hi,
I need to export an existing PGP key and import it into GnuPG on a different machine.
This is how I did the export:
pgp -kx myuser _myuser_public
pgp -kx myuser _myuser_private secring.skr
(this is from the pgp installation directory that contains secring.skr).
This produced two... (0 Replies)
Discussion started by: imchi
0 Replies
8. UNIX for Dummies Questions & Answers
Hi,
I need to export an existing PGP key and import it into GnuPG on a different machine.
This is how I did the export:
pgp -kx myuser _myuser_public
pgp -kx myuser _myuser_private secring.skr
(this is from the pgp installation directory that contains secring.skr).
This produced two... (0 Replies)
Discussion started by: imchi
0 Replies
9. Shell Programming and Scripting
Hi Guys,
Am facing issue in generating PGP keys. Can you please help me to figure this out??
I fired the below command to generate keys. The log say keys successfully created. But when i tried to list it doesnt shows me the keys created.
pgp --gen-key "pgptest<ram@gmail.com>"... (3 Replies)
Discussion started by: Vinoth Kumar G
3 Replies
10. AIX
Hi Guys,
I am trying to import the public of vendor to my system. I am getting below error while importing public key. can anyone please help me with this??
laranakejt4:/u/raja/.pgp $ pgp --import secure.asc
0x1545A56A52:import key (4007:key failed signature check)
secure.asc:import key... (0 Replies)
Discussion started by: Vinoth Kumar G
0 Replies
LEARN ABOUT PHP
arrayiterator
ARRAYITERATOR(3) 1 ARRAYITERATOR(3)
The ArrayIterator class
INTRODUCTION
This iterator allows to unset and modify values and keys while iterating over Arrays and Objects.
When you want to iterate over the same array multiple times you need to instantiate ArrayObject and let it create ArrayIterator instances
that refer to it either by using foreach or by calling its getIterator() method manually.
CLASS SYNOPSIS
ArrayIterator
ArrayIteratorArrayAccessSeekableIteratorCountableSerializable
Methods
o public void ArrayIterator::append (mixed $value)
o public void ArrayIterator::asort (void )
o public ArrayIterator::__construct ([mixed $array = array()], [int $flags])
o public int ArrayIterator::count (void )
o public mixed ArrayIterator::current (void )
o public array ArrayIterator::getArrayCopy (void )
o public void ArrayIterator::getFlags (void )
o public mixed ArrayIterator::key (void )
o public void ArrayIterator::ksort (void )
o public void ArrayIterator::natcasesort (void )
o public void ArrayIterator::natsort (void )
o public void ArrayIterator::next (void )
o public void ArrayIterator::offsetExists (string $index)
o public mixed ArrayIterator::offsetGet (string $index)
o public void ArrayIterator::offsetSet (string $index, string $newval)
o public void ArrayIterator::offsetUnset (string $index)
o public void ArrayIterator::rewind (void )
o public void ArrayIterator::seek (int $position)
o public string ArrayIterator::serialize (void )
o public void ArrayIterator::setFlags (string $flags)
o public void ArrayIterator::uasort (string $cmp_function)
o public void ArrayIterator::uksort (string $cmp_function)
o public string ArrayIterator::unserialize (string $serialized)
o public bool ArrayIterator::valid (void )
PHP Documentation Group ARRAYITERATOR(3)