aboutsummaryrefslogtreecommitdiffstats
path: root/sm/gpgsm.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Minor fixes; about to release 0.3.1NEWPG-0-3-1Werner Koch2002-03-041-1/+1
|
* * server.c (option_handler): Allow to use -2 for "send all certsWerner Koch2002-02-251-1/+1
| | | | | | | except the root cert". * sign.c (add_certificate_list): Implement it here. * certpath.c (gpgsm_is_root_cert): New.
* * certpath.c (check_cert_policy): New.Werner Koch2002-02-191-4/+27
| | | | | | | | (gpgsm_validate_path): And call it from here. * gpgsm.c (main): New options --policy-file, --disable-policy-checks and --enable-policy-checks. * gpgsm.h (opt): Added policy_file, no_policy_checks.
* * certlist.c (gpgsm_add_to_certlist): Check that the specifiedWerner Koch2002-02-071-3/+3
| | | | | | | | | | | | | | | | name identifies a certificate unambiguously. (gpgsm_find_cert): Ditto. * server.c (cmd_listkeys): Check that the data stream is available. (cmd_listsecretkeys): Ditto. (has_option): New. (cmd_sign): Fix ambiguousity in option recognition. * gpgsm.c (main): Enable --logger-fd. * encrypt.c (gpgsm_encrypt): Increased buffer size for better performance. * call-agent.c (gpgsm_agent_pksign): Check the S-Exp received from the agent. * keylist.c (list_cert_colon): Filter out control characters.
* * call-agent.c (gpgsm_agent_havekey): New.Werner Koch2002-01-291-4/+5
| | | | | | | | | | | * keylist.c (list_cert_colon): New arg HAVE_SECRET, print "crs" when we know that the secret key is available. (gpgsm_list_keys): New arg MODE, check whether a secret key is available. Changed all callers. * gpgsm.c (main): New command --list-secret-keys. * server.c (cmd_listsecretkeys): New. (cmd_listkeys): Return secret keys with "crs" record.
* * gpgsm.c (main): Disable core dumps.Werner Koch2002-01-251-3/+25
| | | | | | | | | | | | | * sign.c (add_certificate_list): New. (gpgsm_sign): Add the certificates to the CMS object. * certpath.c (gpgsm_walk_cert_chain): New. * gpgsm.h (server_control_s): Add included_certs. * gpgsm.c: Add option --include-certs. (gpgsm_init_default_ctrl): New. (main): Call it. * server.c (gpgsm_server): Ditto. (option_handler): Support --include-certs.
* * gpgsm.c: Add option --enable-crl-checks.Werner Koch2002-01-211-15/+20
| | | | | | * call-agent.c (start_agent): Implemented socket based access. * call-dirmngr.c (start_dirmngr): Ditto.
* * server.c (gpgsm_server): Use assuan_deinit_server and setupWerner Koch2002-01-191-1/+1
| | | | | | | | | assuan logging if enabled. * call-agent.c (inq_ciphertext_cb): Don't show the session key in an Assuan log file. * gpgsm.c (my_strusage): Take bugreport address from configure.ac
* * call-dirmngr.c: New.Werner Koch2002-01-111-2/+12
| | | | | | | * certpath.c (gpgsm_validate_path): Check the CRL here. * fingerprint.c (gpgsm_get_certid): New. * gpgsm.c: New options --dirmngr-program and --disable-crl-checks.
* * verify.c (gpgsm_verify): Implemented non-detached signatureWerner Koch2001-12-201-3/+3
| | | | | | | verification. Add OUT_FP arg, initialize a writer and changed all callers. * server.c (cmd_verify): Pass an out_fp if one has been set.
* * gpgsm.c (main): Renamed the default key database to "keyring.kbx".Werner Koch2001-12-151-1/+1
|
* * gpgsm.c (main): New option --debug-wait n, so that it isWerner Koch2001-12-141-9/+20
| | | | | possible to attach gdb when used in server mode.
* * keylist.c (list_cert_colon): Print alternative names of subjectWerner Koch2001-12-141-0/+6
| | | | | and a few other values.
* Made decryption work in --server mode, allow output of plain base64,Werner Koch2001-12-131-31/+46
| | | | | | allow --armor and --base64 arguments for INPUT and OUTPUT, new global option --base64, cleaned up the help page.
* * gpgsm.c (main): New options --assume-{armor,base64,binary}.Werner Koch2001-12-121-1/+40
| | | | | * base64.c (base64_reader_cb): Fixed non-autodetection mode.
* Implemented encryption in server mode.Werner Koch2001-12-111-13/+29
| | | | | | Allow to specify a recipient on the commandline There is still a default hardwired recipient if none has been set.
* Started with decryption stuffWerner Koch2001-12-051-12/+13
|
* --armor does now produce PEM format.Werner Koch2001-11-271-0/+4
|
* * base64.c: New. Changed all other functions to use this insteadWerner Koch2001-11-271-1/+5
| | | | | | | of direct creation of ksba_reader/writer. * gpgsm.c (main): Set ctrl.auto_encoding unless --no-armor is used. This way we can feed PEM encoded stuff to --verify.
* * gpgsm.c: New option --agent-programWerner Koch2001-11-261-1/+4
| | | | | | * call-agent.c (start_agent): Allow to override the default path to the agent.
* Just a Backup. We can now write out a basic signature which in turnWerner Koch2001-11-231-0/+10
| | | | | exhibits a bug in --verify.
* Added basic code for keylisting.Werner Koch2001-11-191-4/+3
| | | | | New Assuan command LISTKEYS.
* Write status output, make verify work in server mode.Werner Koch2001-11-191-6/+19
|
* gpgsm --verify does now work like gpg including theWerner Koch2001-11-191-3/+68
| | | | | --enable-special-filenames option.
* Base code for gpgsm --verify does workWerner Koch2001-11-161-0/+4
|
* We have reached a state where we are able to import certs andWerner Koch2001-11-131-7/+8
| | | | | check the certification path.
* we are now able to check self-signed certificatesWerner Koch2001-11-101-0/+1
|
* Implemented server main loop and started with import command.Werner Koch2001-11-071-1/+1
|
* gpgsm does now build and a dummy server can be started.Werner Koch2001-11-061-2/+1030
|
* Created configuration filesWerner Koch2001-10-311-0/+6