Re: external storage of SFTP public-key authentica (General questions)
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:
- external storage of SFTP public-key authentication - Dennis Griesser, 2005-02-04, 03:11
- Re: external storage of SFTP public-key authentica - Dennis Griesser, 2005-02-04, 19:30
- Re: external storage of SFTP public-key authentica - wodSupport, 2005-02-05, 11:08
- Re: external storage of SFTP public-key authentica - Dennis Griesser, 2005-02-04, 19:30