[aerogear-dev] Passphrase encryption - REST API discussion

Karel Piwko kpiwko at redhat.com
Fri Mar 14 04:30:42 EDT 2014


On Thu, 13 Mar 2014 17:52:48 +0100
Matthias Wessendorf <matzew at apache.org> wrote:

> On Thu, Mar 13, 2014 at 5:48 PM, Karel Piwko <kpiwko at redhat.com> wrote:
> 
> > I believe that command line based client is important. Either Java Sender
> > or Node.js Sender could be enhanced with non-sending functionality and
> > wrapped
> > to provide CLI though via airline
> 
> 
> :-))))) I totally agree - let's create a JIRA for a Java-based CLI via
> airline

https://issues.jboss.org/browse/AGPUSH-561
> 
> 
> 
> > and nodejs libs.
> >
> > We already have similar stuff internally for sampling random data on
> > OpenShift
> > carts, it is based on RestAssured/Spacelift though. It will not be that
> > difficult to make it available upstream if use case are clear ;-)
> >
> > Current functionality listed at [1]
> >
> > > AeroGear Clients
> > >
> > > - cURL
> > >
> > > Yesterday I had the amusing experience of dig into the sources of
> > OpenSSL and
> > > their documentation, to see how people could encrypt it from the command
> > > line. If I recommend that people would remember my name for the eternity
> > in a
> > > bad way. Another insane idea was to provide encoders for GPG. The
> > simplest
> > > idea, I think, would be provide code for people encrypt their passphrase
> > and
> > > certificate, instead of trust in some software.
> > >
> > [1]
> > usage: perf-test-env <command> [<args>]
> >
> > The most commonly used perf-test-env commands are:
> >     cart-create    Create OpenShift Cartridge based on latest commit in
> > given
> > organization, repository and branch. Requires rhc tools installed
> > help           Display help information ups-delete     Deletes data from
> > an UPS
> > instance ups-dump       Dumps all data from UPS so they are usable by
> > performance tests ups-generate   Generates data for an UPS instance
> >
> > See 'perf-test-env help <command>' for more information on a specific
> > command.
> >
> > NAME
> >         perf-test-env ups-generate - Generates data for an UPS instance
> >
> > SYNOPSIS
> >         perf-test-env ups-generate (-a <app-name> | --app-name <app-name>)
> >                 [--cert-pass <certificate-passphrase>] [--cert-path
> > <certificate-path>] [--google-key <google-key>] [(-n <namespace> |
> > --namespace
> > <namespace>)] [--no-https] [--old-password <old-password>]
> >                 (-p <password> | --password <password>) [--port <port>]
> > [--production] [--project-no <project-number>] --push-app-name
> > <push-app-name>
> >                 [--simple-push] [(-u <username> | --username <username>)]
> >
> > OPTIONS
> >         -a <app-name>, --app-name <app-name>
> >             Name of the application on OpenShift
> >
> >         --cert-pass <certificate-passphrase>
> >             Certificate passphrase
> >
> >         --cert-path <certificate-path>
> >             Path to iOS certificate. If set, --cert-pass is required and
> > iOS
> >             variant is created.
> >
> >         --google-key <google-key>
> >             Google API key for Android application variant. If set,
> > --project-no
> >             is required and Android variant is created.
> >
> >         -n <namespace>, --namespace <namespace>
> >             Namespace on OpenShift, default value: mobileqa
> >
> >         --no-https
> >             Use HTTP protocol instead of HTTPS
> >
> >         --old-password <old-password>
> >             Previous password. Default value: 123
> >
> >         -p <password>, --password <password>
> >             Password to be used for Unified Push Server login. If
> > old-password
> >             matches, this one replaces the old one
> >
> >         --port <port>
> >             Port to be used for REST calls, default value: 80 or 443,
> > depending
> >             on --no-https
> >
> >         --production
> >             If set, certificate is marked as production one
> >
> >         --project-no <project-number>
> >             Google Project Number for Android application variant. If
> > present,
> >             Android variant is created.
> >
> >         --push-app-name <push-app-name>
> >             Push application name
> >
> >         --simple-push
> >             If set, SimplePush application variant is generated
> >
> >         -u <username>, --username <username>
> >             Username to be used for Unified Push Server login, default
> > value:
> >             admin
> >
> >
> >
> > _______________________________________________
> > aerogear-dev mailing list
> > aerogear-dev at lists.jboss.org
> > https://lists.jboss.org/mailman/listinfo/aerogear-dev
> >
> 
> 
> 



More information about the aerogear-dev mailing list