EldoS | Feel safer!

Software components for data protection, secure storage and transfer

(error code is 103429)

Posted: 04/19/2012 09:48:02
by Kevin Whalley (Basic support level)
Joined: 04/18/2012
Posts: 1

When calling TElPGPWriter.EncryptFile I am catching an exception

SBCustomFSAdapter.EElVFSAdapterError: File system operation failed with error (error code is 103429)

The encrypter initialization and method execution is

encrypter.EncryptionType = TSBPGPEncryptionType.etPublicKey;
encrypter.Armor = true;
encrypter.ArmorHeaders.Add("Version: EldoS OpenPGPBlackbox");
encrypter.ArmorBoundary = "PGP MESSAGE";
encrypter.EncryptingKeys = keyring;

encrypter.EncryptFile(pathOfFileToEncrypt, pathOfEncryptedFile);

Can I please have more information about this error so I can resolve it.
Posted: 04/19/2012 15:17:02
by Eugene Mayevski (Team)

I suppose that you are trying to use Mono assemblies of SecureBlackbox on Windows.

Mono assemblies were not intended to be used on Windows and they are missing some Windows-specific functionality such as Windows Certificate Storage, PKCS#11 and NTLM authentication support.

Now back to your question. As Mono assemblies primarily target Unix-based systems, the assembly thinks that path separator is slash ("/"), and not backslash. This is why you get this error. The error will happen on any call to *File() or *Files() method.

There are two immediate solutions for the problem:
a) use .NET assemblies on Windows
b) don't use *File*() methods - they are supplementary to main methods such as Encrypt() in your case.

In the next build (which would be beta 2 of SecureBlackbox 10) we will add detection of the platform in order to determine correct path separator.

Sincerely yours
Eugene Mayevski



Topic viewed 3593 times

Number of guests: 1, registered members: 0, in total hidden: 0


Back to top

As of July 15, 2016 EldoS business operates as a division of /n software, inc. For more information, please read the announcement.

Got it!