Secure file encryption since 2001
Help & support

Command Line Parameters

9 replies 2 participants Started Active

Actions

Reply
Matt Guest
Report spam

Hi,

Is there are command line interface for AxCrypt? I'd like to pass files through AxCrypt from a portal.

Thanks,
Matt

9 replies
AxCrypt Support AxCrypt Team
· 1,810 posts
Report spam

Hello Matt,

Sorry! No, we have not yet implemented a full command line API. Since the new AxCrypt is much easier to develop, we'll probably do this via a separate command line version. It's on the agenda!

Or, if you're a C# developer, it's not that hard to roll your own. The source is available after all!

AxCrypt Support AxCrypt Team
· 1,810 posts
Report spam

Great Matt,

The most simple API for a simple command line version is probably found in the classs 'AxCryptFile'. See Program.cs for support in parsing a command line, and how to register the necessary dependencies in the dependency injection container with 'TypeMap.Register'.

If you find you need or would like to make any changes to the core code to facilitate things, let me know or submit a pull request.

Good luck!

Matt Guest Topic starter
Report spam

Hi Svante,

I just got the latest source code and am having trouble compiling. Seems BERSequenceGenerator.cs is missing from BouncyCastle.AxCrypt.Asn1

Thanks,

Matt

Matt Guest Topic starter
Report spam

Weird, I just downloaded the ZIP and extracted it; then I opened VS and compiled and got the missing file error.

Doesn't matter for me now anyway, I pasted the code and created the file so it is now compiling.

 

Matt

AxCrypt Support AxCrypt Team
· 1,810 posts
Report spam

Matt, your screen shot did not make it, but as long as you've got it working. Still, it concerns me if there are problems with the source code downloads.

Reply to this topic

Posting as a guest. Log in or sign up to get reply notifications and edit your posts.

Tip: describe your AxCrypt version, operating system and the exact error message. Never post your password or license key.