Code Monkey home page Code Monkey logo

Comments (3)

Lagovas avatar Lagovas commented on July 21, 2024

I propose to discuss here all the parameters at once, that everyone could offer their own versions
Below is the current state of all parameters
Obviously i will add --verbose, --debug and other popular shortcuts but what about else?
In current implementation each flag can be used as -flag and --flag (-v and --v)

acra

long short default value description
db_host Host to db
db_port 5432 Port to db
host 0.0.0.0 Host for AcraServer
port 9393 Port for AcraServer
commands_port 9090 Port for AcraServer for http api
keys_dir .acrakeys Folder from which will be loaded key
poison_key .acrakeys/poison_key Path to file with poison key
hex_bytea True Hex format for Postgresql bytea data (default)
escape_bytea False Escape format for Postgresql bytea data
server_id acra_server Id that will be sent in secure session
v False Log to stdout
wholecell True Acrastruct will stored in whole data cell
d False Turn on debug logging
ds False Turn on httop debug server
poisonshutdown False Stop on detecting poison record
poisonscript Execute script on detecting poison record
zonemode False Turn on zone mode
disable_zone_api False Disable zone http api

acraproxy

long short default value description
keys_dir .acrakeys Folder from which will be loaded keys
client_id Client id
acra_host IP or domain to acra daemon
acra_commands_port 9090 Port of acra http api
acra_port 9393 Port of acra daemon
acra_id acra_server Expected id from acraserver for Secure Session
v False Log to stdout
port 9494 Port of acraproxy
command_port 9191 Port for acraproxy http api
zonemode False Turn on zone mode
disable_user_check False Disable checking that connections from app running from another user

acra_rollback

long short default value description
keys_dir .acrakeys Folder from which will be loaded keys
client_id Client id should be name of file with private key
connection_string Connection string for db
select Query to fetch data for decryption
insert Query for insert decrypted data with placeholders (pg: $n)
zonemode False Turn on zon emode
output_file decrypted.sql File for store inserts queries
execute False Execute inserts
escape False Escape bytea format

acra_genpoisonrecord

long short default value description
poison_key .acrakeys/poison_key Path to file with poison key
acra_public Path to acra public key to use
data_length -1 Length of random data for data block in acrastruct. -1 is random in range 1..100

acra_genkeys

long short default value description
client_id client Client id
acraproxy False Create keypair only for acraproxy
acraserver False Create keypair only for acraserver
output .acrakeys Folder where will be saved keys

acra_addzone

long short default value description
output_dir .acrakeys Folder where will be saved generated zone keys
fs True Use filesystem key store

from acra.

Lagovas avatar Lagovas commented on July 21, 2024

i dont think that adding <-s> flag for shutdown is a good way because it's important option and better if such options will be set explicitly. The same for <-p> because it's popular option for and may be set by mistake

from acra.

Lagovas avatar Lagovas commented on July 21, 2024

as we discussed and decided, enough to display in documentation using unix-way option format
updated wiki

from acra.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.