Does the CLI interface for ODK Briefcase include options for decrypting XML file?

Does anyone know if there's a switch that can be used in the ODK Briefcase
CLI to decrypt encrypted surveys?

Following the instructions at https://opendatakit.org/use/briefcase/, I've
been using the CLI for a couple of years to automate pulling and exporting
surveys from an ODK Aggregate server (used mainly when using repeat loops
to pull multiple .csv files with linking variables).

Recently, we began using the encrypted forms
(https://opendatakit.org/help/encrypted-forms/), but I haven't found a way
to incorporate asking for the private key (PEM file) in the CLI, so I'm
running the process manually. I would like to automate pulling, exporting
and decrypting if that's possible.

I was hoping for a --my_private_key type of switch for the CLI. Does
anyone know if that is possible?

java -jar ODK\ Briefcase\ v1.4.4\ Production.jar --form_id market_prices
--storage_directory ~/Desktop --aggregate_url
https://my_server.appspot.com --odk_username my_username --odk_password
my_password;

Thanks.
Tim

Our Linux admin and I have been searching for an answer to this question
unsuccessfully for a few months, which is why I decided to post the
question here.

In case anyone is interested in this topic, kudos to DAVID PERRIN (our
Linux admin), who was inspired by the question I posted to search the
source code on github and FOUND THE ANSWER:

Simply use

  --pem_file 

in the CLI and magic happens! Thanks, DP!

Tim

··· On Tuesday, March 1, 2016 at 3:19:39 PM UTC-5, Tim Van Acker wrote: > > Does anyone know if there's a switch that can be used in the ODK Briefcase > CLI to decrypt encrypted surveys? > > Following the instructions at https://opendatakit.org/use/briefcase/, > I've been using the CLI for a couple of years to automate pulling and > exporting surveys from an ODK Aggregate server (used mainly when using > repeat loops to pull multiple .csv files with linking variables). > > Recently, we began using the encrypted forms ( > https://opendatakit.org/help/encrypted-forms/), but I haven't found a way > to incorporate asking for the private key (PEM file) in the CLI, so I'm > running the process manually. I would like to automate pulling, exporting > and decrypting if that's possible. > > I was hoping for a *--my_private_key* type of switch for the CLI. Does > anyone know if that is possible? > > java -jar ODK\ Briefcase\ v1.4.4\ Production.jar *--form_id* > market_prices *--storage_directory* ~/Desktop *--aggregate_url* > https://my_server.appspot.com *--odk_username* my_username > *--odk_password* my_password; > > Thanks. > Tim >

Hi Tim,

Glad your admin figured it out!

Just as a reference, if you run "java -jar ODK-Briefcase.jar --help"
you'll get a list of all the potential switches. This tip is also in
the instructions at https://opendatakit.org/use/briefcase/.

Yaw

··· -- Need ODK consultants? Nafundi provides form design, server setup, in-field training, and software development for ODK. Go to https://nafundi.com to get started.

On Wed, Mar 2, 2016 at 12:54 AM, Tim Van Acker vanacker@gmail.com wrote:

Our Linux admin and I have been searching for an answer to this question
unsuccessfully for a few months, which is why I decided to post the question
here.

In case anyone is interested in this topic, kudos to DAVID PERRIN (our Linux
admin), who was inspired by the question I posted to search the source code
on github and FOUND THE ANSWER:

Simply use

  --pem_file

in the CLI and magic happens! Thanks, DP!

Tim

On Tuesday, March 1, 2016 at 3:19:39 PM UTC-5, Tim Van Acker wrote:

Does anyone know if there's a switch that can be used in the ODK Briefcase
CLI to decrypt encrypted surveys?

Following the instructions at https://opendatakit.org/use/briefcase/, I've
been using the CLI for a couple of years to automate pulling and exporting
surveys from an ODK Aggregate server (used mainly when using repeat loops to
pull multiple .csv files with linking variables).

Recently, we began using the encrypted forms
(https://opendatakit.org/help/encrypted-forms/), but I haven't found a way
to incorporate asking for the private key (PEM file) in the CLI, so I'm
running the process manually. I would like to automate pulling, exporting
and decrypting if that's possible.

I was hoping for a --my_private_key type of switch for the CLI. Does
anyone know if that is possible?

java -jar ODK\ Briefcase\ v1.4.4\ Production.jar --form_id market_prices
--storage_directory ~/Desktop --aggregate_url https://my_server.appspot.com
--odk_username my_username --odk_password my_password;

Thanks.
Tim

--

Post: opendatakit@googlegroups.com
Unsubscribe: opendatakit+unsubscribe@googlegroups.com
Options: http://groups.google.com/group/opendatakit?hl=en


You received this message because you are subscribed to the Google Groups
"ODK Community" group.
To unsubscribe from this group and stop receiving emails from it, send an
email to opendatakit+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Good to know, thanks. Not sure why neither of us thought to do that!

Tim
919-923-0316

··· > On Mar 7, 2016, at 1:12 AM, Yaw Anokwa wrote: > > Hi Tim, > > Glad your admin figured it out! > > Just as a reference, if you run "java -jar ODK-Briefcase.jar --help" > you'll get a list of all the potential switches. This tip is also in > the instructions at https://opendatakit.org/use/briefcase/. > > Yaw > -- > Need ODK consultants? Nafundi provides form design, server setup, > in-field training, and software development for ODK. Go to > https://nafundi.com to get started. > > >> On Wed, Mar 2, 2016 at 12:54 AM, Tim Van Acker wrote: >> Our Linux admin and I have been searching for an answer to this question >> unsuccessfully for a few months, which is why I decided to post the question >> here. >> >> In case anyone is interested in this topic, kudos to DAVID PERRIN (our Linux >> admin), who was inspired by the question I posted to search the source code >> on github and FOUND THE ANSWER: >> >> Simply use >> >> --pem_file >> >> in the CLI and magic happens! Thanks, DP! >> >> Tim >> >> >>> On Tuesday, March 1, 2016 at 3:19:39 PM UTC-5, Tim Van Acker wrote: >>> >>> Does anyone know if there's a switch that can be used in the ODK Briefcase >>> CLI to decrypt encrypted surveys? >>> >>> Following the instructions at https://opendatakit.org/use/briefcase/, I've >>> been using the CLI for a couple of years to automate pulling and exporting >>> surveys from an ODK Aggregate server (used mainly when using repeat loops to >>> pull multiple .csv files with linking variables). >>> >>> Recently, we began using the encrypted forms >>> (https://opendatakit.org/help/encrypted-forms/), but I haven't found a way >>> to incorporate asking for the private key (PEM file) in the CLI, so I'm >>> running the process manually. I would like to automate pulling, exporting >>> and decrypting if that's possible. >>> >>> I was hoping for a --my_private_key type of switch for the CLI. Does >>> anyone know if that is possible? >>> >>> java -jar ODK\ Briefcase\ v1.4.4\ Production.jar --form_id market_prices >>> --storage_directory ~/Desktop --aggregate_url https://my_server.appspot.com >>> --odk_username my_username --odk_password my_password; >>> >>> Thanks. >>> Tim >> >> -- >> -- >> Post: opendatakit@googlegroups.com >> Unsubscribe: opendatakit+unsubscribe@googlegroups.com >> Options: http://groups.google.com/group/opendatakit?hl=en >> >> --- >> You received this message because you are subscribed to the Google Groups >> "ODK Community" group. >> To unsubscribe from this group and stop receiving emails from it, send an >> email to opendatakit+unsubscribe@googlegroups.com. >> For more options, visit https://groups.google.com/d/optout. > > -- > -- > Post: opendatakit@googlegroups.com > Unsubscribe: opendatakit+unsubscribe@googlegroups.com > Options: http://groups.google.com/group/opendatakit?hl=en > > --- > You received this message because you are subscribed to a topic in the Google Groups "ODK Community" group. > To unsubscribe from this topic, visit https://groups.google.com/d/topic/opendatakit/A7V2wqRnhKY/unsubscribe. > To unsubscribe from this group and all its topics, send an email to opendatakit+unsubscribe@googlegroups.com. > For more options, visit https://groups.google.com/d/optout.