Loading doc/apps/ts.pod +17 −8 Original line number Diff line number Diff line Loading @@ -187,7 +187,6 @@ response. (Optional) This option specifies a previously created time stamp request in DER format that will be printed into the output file. Useful when you need to examine the content of a request in human-readable format. (Optional) =item B<-out> request.tsq Loading Loading @@ -609,25 +608,35 @@ You could also look at the 'test' directory for more examples. If you find any bugs or you have suggestions please write to Zoltan Glozik <zglozik@opentsa.org>. Known issues: =over 4 =over 2 =item * No support for time stamps over SMTP, though it is quite easy =item * No support for time stamps over SMTP, though it is quite easy to implement an automatic e-mail based TSA with L<procmail(1)> and L<perl(1)>. HTTP server support is provided in the form of a separate apache module. HTTP client support is provided by L<tsget(1)>. Pure TCP/IP protocol is not supported. =item * The file containing the last serial number of the TSA is not =item * The file containing the last serial number of the TSA is not locked when being read or written. This is a problem if more than one instance of L<openssl(1)> is trying to create a time stamp response at the same time. This is not an issue when using the apache server module, it does proper locking. =item * Look for the FIXME word in the source files. =item * Look for the FIXME word in the source files. =item * The source code should really be reviewed by somebody else, too. =item * The source code should really be reviewed by somebody else, too. =item * =item * More testing is needed, I have done only some basic tests (see More testing is needed, I have done only some basic tests (see test/testtsa). =back Loading @@ -640,7 +649,7 @@ L<config(5)> =head1 COPYRIGHT Copyright 2006-2016 The OpenSSL Project Authors. All Rights Reserved. Copyright 2006-2017 The OpenSSL Project Authors. All Rights Reserved. Licensed under the OpenSSL license (the "License"). You may not use this file except in compliance with the License. You can obtain a copy Loading doc/crypto/BN_copy.pod +1 −1 Original line number Diff line number Diff line Loading @@ -29,7 +29,7 @@ B<BN_FLG_CONSTTIME> flag set for constant time operations. The temporary copy in B<dest> will share some internal state with B<b>. For this reason the following restrictions apply to the use of B<dest>: =over 4 =over 2 =item * Loading doc/crypto/BN_generate_prime.pod +1 −1 Original line number Diff line number Diff line Loading @@ -55,7 +55,7 @@ If B<ret> is not B<NULL>, it will be used to store the number. If B<cb> is not B<NULL>, it is used as follows: =over 4 =over 2 =item * Loading doc/crypto/CRYPTO_THREAD_run_once.pod +9 −2 Original line number Diff line number Diff line Loading @@ -32,9 +32,10 @@ supported by OpenSSL. The following multi-threading function are provided: =over 4 =over 2 =item * CRYPTO_THREAD_run_once() can be used to perform one-time initialization. The B<once> argument must be a pointer to a static object of type B<CRYPTO_ONCE> that was statically initialized to the value Loading @@ -45,22 +46,28 @@ In particular, this can be used to allocate locks in a thread-safe manner, which can then be used with the locking functions below. =item * CRYPTO_THREAD_lock_new() allocates, initializes and returns a new read/write lock. =item * CRYPTO_THREAD_read_lock() locks the provided B<lock> for reading. =item * CRYPTO_THREAD_write_lock() locks the provided B<lock> for writing. =item * CRYPTO_THREAD_unlock() unlocks the previously locked B<lock>. =item * CRYPTO_THREAD_lock_frees() frees the provided B<lock>. =item * CRYPTO_atomic_add() atomically adds B<amount> to B<val> and returns the result of the operation in B<ret>. B<lock> will be locked, unless atomic operations are supported on the specific platform. Because of this, if a Loading Loading @@ -149,7 +156,7 @@ You can find out if OpenSSL was configured with thread support: =head1 SEE ALSO L<crypto(3)> L<crypto(7)> =head1 COPYRIGHT Loading doc/crypto/CT_POLICY_EVAL_CTX_new.pod +26 −10 Original line number Diff line number Diff line Loading @@ -32,15 +32,23 @@ This policy may be, for example, that at least one valid SCT is available. To determine this, an SCT's timestamp and signature must be verified. This requires: =over =over 2 =item * the public key of the log that issued the SCT =item * =item * the certificate that the SCT was issued for the public key of the log that issued the SCT =item * the issuer certificate (if the SCT was issued for a pre-certificate) =item * =item * the current time the certificate that the SCT was issued for =item * the issuer certificate (if the SCT was issued for a pre-certificate) =item * the current time =back Loading @@ -49,22 +57,30 @@ The above requirements are met using the setters described below. CT_POLICY_EVAL_CTX_new() creates an empty policy evaluation context. This should then be populated using: =over =over 2 =item * CT_POLICY_EVAL_CTX_set1_cert() to provide the certificate the SCTs were issued for =item * CT_POLICY_EVAL_CTX_set1_cert() to provide the certificate the SCTs were issued for Increments the reference count of the certificate. =item * CT_POLICY_EVAL_CTX_set1_issuer() to provide the issuer certificate =item * CT_POLICY_EVAL_CTX_set1_issuer() to provide the issuer certificate Increments the reference count of the certificate. =item * CT_POLICY_EVAL_CTX_set_shared_CTLOG_STORE() to provide a list of logs that are trusted as sources of SCTs =item * CT_POLICY_EVAL_CTX_set_shared_CTLOG_STORE() to provide a list of logs that are trusted as sources of SCTs Holds a pointer to the CTLOG_STORE, so the CTLOG_STORE must outlive the CT_POLICY_EVAL_CTX. =item * CT_POLICY_EVAL_CTX_set_time() to set the time SCTs should be compared with to determine if they are valid =item * CT_POLICY_EVAL_CTX_set_time() to set the time SCTs should be compared with to determine if they are valid The SCT timestamp will be compared to this time to check whether the SCT was issued in the future. RFC6962 states that "TLS clients MUST reject SCTs whose Loading Loading
doc/apps/ts.pod +17 −8 Original line number Diff line number Diff line Loading @@ -187,7 +187,6 @@ response. (Optional) This option specifies a previously created time stamp request in DER format that will be printed into the output file. Useful when you need to examine the content of a request in human-readable format. (Optional) =item B<-out> request.tsq Loading Loading @@ -609,25 +608,35 @@ You could also look at the 'test' directory for more examples. If you find any bugs or you have suggestions please write to Zoltan Glozik <zglozik@opentsa.org>. Known issues: =over 4 =over 2 =item * No support for time stamps over SMTP, though it is quite easy =item * No support for time stamps over SMTP, though it is quite easy to implement an automatic e-mail based TSA with L<procmail(1)> and L<perl(1)>. HTTP server support is provided in the form of a separate apache module. HTTP client support is provided by L<tsget(1)>. Pure TCP/IP protocol is not supported. =item * The file containing the last serial number of the TSA is not =item * The file containing the last serial number of the TSA is not locked when being read or written. This is a problem if more than one instance of L<openssl(1)> is trying to create a time stamp response at the same time. This is not an issue when using the apache server module, it does proper locking. =item * Look for the FIXME word in the source files. =item * Look for the FIXME word in the source files. =item * The source code should really be reviewed by somebody else, too. =item * The source code should really be reviewed by somebody else, too. =item * =item * More testing is needed, I have done only some basic tests (see More testing is needed, I have done only some basic tests (see test/testtsa). =back Loading @@ -640,7 +649,7 @@ L<config(5)> =head1 COPYRIGHT Copyright 2006-2016 The OpenSSL Project Authors. All Rights Reserved. Copyright 2006-2017 The OpenSSL Project Authors. All Rights Reserved. Licensed under the OpenSSL license (the "License"). You may not use this file except in compliance with the License. You can obtain a copy Loading
doc/crypto/BN_copy.pod +1 −1 Original line number Diff line number Diff line Loading @@ -29,7 +29,7 @@ B<BN_FLG_CONSTTIME> flag set for constant time operations. The temporary copy in B<dest> will share some internal state with B<b>. For this reason the following restrictions apply to the use of B<dest>: =over 4 =over 2 =item * Loading
doc/crypto/BN_generate_prime.pod +1 −1 Original line number Diff line number Diff line Loading @@ -55,7 +55,7 @@ If B<ret> is not B<NULL>, it will be used to store the number. If B<cb> is not B<NULL>, it is used as follows: =over 4 =over 2 =item * Loading
doc/crypto/CRYPTO_THREAD_run_once.pod +9 −2 Original line number Diff line number Diff line Loading @@ -32,9 +32,10 @@ supported by OpenSSL. The following multi-threading function are provided: =over 4 =over 2 =item * CRYPTO_THREAD_run_once() can be used to perform one-time initialization. The B<once> argument must be a pointer to a static object of type B<CRYPTO_ONCE> that was statically initialized to the value Loading @@ -45,22 +46,28 @@ In particular, this can be used to allocate locks in a thread-safe manner, which can then be used with the locking functions below. =item * CRYPTO_THREAD_lock_new() allocates, initializes and returns a new read/write lock. =item * CRYPTO_THREAD_read_lock() locks the provided B<lock> for reading. =item * CRYPTO_THREAD_write_lock() locks the provided B<lock> for writing. =item * CRYPTO_THREAD_unlock() unlocks the previously locked B<lock>. =item * CRYPTO_THREAD_lock_frees() frees the provided B<lock>. =item * CRYPTO_atomic_add() atomically adds B<amount> to B<val> and returns the result of the operation in B<ret>. B<lock> will be locked, unless atomic operations are supported on the specific platform. Because of this, if a Loading Loading @@ -149,7 +156,7 @@ You can find out if OpenSSL was configured with thread support: =head1 SEE ALSO L<crypto(3)> L<crypto(7)> =head1 COPYRIGHT Loading
doc/crypto/CT_POLICY_EVAL_CTX_new.pod +26 −10 Original line number Diff line number Diff line Loading @@ -32,15 +32,23 @@ This policy may be, for example, that at least one valid SCT is available. To determine this, an SCT's timestamp and signature must be verified. This requires: =over =over 2 =item * the public key of the log that issued the SCT =item * =item * the certificate that the SCT was issued for the public key of the log that issued the SCT =item * the issuer certificate (if the SCT was issued for a pre-certificate) =item * =item * the current time the certificate that the SCT was issued for =item * the issuer certificate (if the SCT was issued for a pre-certificate) =item * the current time =back Loading @@ -49,22 +57,30 @@ The above requirements are met using the setters described below. CT_POLICY_EVAL_CTX_new() creates an empty policy evaluation context. This should then be populated using: =over =over 2 =item * CT_POLICY_EVAL_CTX_set1_cert() to provide the certificate the SCTs were issued for =item * CT_POLICY_EVAL_CTX_set1_cert() to provide the certificate the SCTs were issued for Increments the reference count of the certificate. =item * CT_POLICY_EVAL_CTX_set1_issuer() to provide the issuer certificate =item * CT_POLICY_EVAL_CTX_set1_issuer() to provide the issuer certificate Increments the reference count of the certificate. =item * CT_POLICY_EVAL_CTX_set_shared_CTLOG_STORE() to provide a list of logs that are trusted as sources of SCTs =item * CT_POLICY_EVAL_CTX_set_shared_CTLOG_STORE() to provide a list of logs that are trusted as sources of SCTs Holds a pointer to the CTLOG_STORE, so the CTLOG_STORE must outlive the CT_POLICY_EVAL_CTX. =item * CT_POLICY_EVAL_CTX_set_time() to set the time SCTs should be compared with to determine if they are valid =item * CT_POLICY_EVAL_CTX_set_time() to set the time SCTs should be compared with to determine if they are valid The SCT timestamp will be compared to this time to check whether the SCT was issued in the future. RFC6962 states that "TLS clients MUST reject SCTs whose Loading