diff options
| author | Rob Crittenden <rcritten@redhat.com> | 2011-09-13 14:25:16 -0400 |
|---|---|---|
| committer | Martin Kosek <mkosek@redhat.com> | 2011-09-14 18:27:05 +0200 |
| commit | 29ec63c3813cee5fa8d8b1e9ad032a89992791eb (patch) | |
| tree | 4f6f3eee85b1ffd538f0aea262dcbad517a19eb5 /API.txt | |
| parent | ba1bdda25f1345fe015b3ba0abc6996bee223d35 (diff) | |
| download | freeipa-29ec63c3813cee5fa8d8b1e9ad032a89992791eb.tar.gz freeipa-29ec63c3813cee5fa8d8b1e9ad032a89992791eb.tar.xz freeipa-29ec63c3813cee5fa8d8b1e9ad032a89992791eb.zip | |
Skip the cert validator if the csr we are passed in is a valid filename
The validator will still fire, just after the load_files() call. Basically
it will hit the validator twice. The first time it will exit because the
value of csr is a filename. The second time it will run the validator against
the contents of the file.
ticket https://fedorahosted.org/freeipa/ticket/1777
Diffstat (limited to 'API.txt')
| -rw-r--r-- | API.txt | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -420,7 +420,7 @@ arg: Str('serial_number', validate_serial_number, label=Gettext('Serial number', output: Output('result', None, None) command: cert_request args: 1,3,1 -arg: File('csr', validate_csr, cli_name='csr_file', normalizer=normalize_csr) +arg: File('csr', validate_csr, cli_name='csr_file', label=Gettext('CSR', domain='ipa', localedir=None), normalizer=normalize_csr) option: Str('principal', label=Gettext('Principal', domain='ipa', localedir=None)) option: Str('request_type', autofill=True, default=u'pkcs10') option: Flag('add', autofill=True, default=False) |
