Re: external storage of SFTP public-key authentica - WeOnlyDo Discussion board

Re: external storage of SFTP public-key authentica (General questions)

by Dennis Griesser, Friday, February 04, 2005, 19:30 (7029 days ago) @ Dennis Griesser

I might have part of the answer to my own questions.

PowerBuilder may be storing strings in memory with null termination. If so, the first time it hits a zero, it thinks the string is over. And the (binary) key is likely to have a zero sooner or later, making string manipulation useless.

I have tried the PrivateKeyData(KeyType) property, and it returns a blob with nonzero length.

If you agree, this leaves only a modified form of Question #1 - If I assign a value to PrivateKeyData, will the corresponding PublicKey be generated? If not, how are we supposed to persist keys across sessions (without writing to a file)?


Complete thread: