-
Notifications
You must be signed in to change notification settings - Fork 44
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Lots of random improvements to the certificate_authority gem
* Use https:// for rubygems.org gem source * Add activesupport gem for useful helper functions * Cap not_before and not_after to the hour * Use UTC for not_before and not_after * Add support for setting the criticality of extensions * Add support for producing a CSR based from an extension * Add support for importing data from X.509 certificate * Instead of having to list each extension manually, use ObjectSpace magic to dynamically find them * Add support for parsing extension information from existing certificates * Add new serialNumber option to the distinguished name * Convert openssl_identifier method to use a constant * Correct documentation for AuthorityKeyIdentifier * Add support for caIssuers in AuthorityInfoAccess extension * Remove clientAuth from default extendedKeyUsage extension usage * Add support for deprecated nsComment and nsCertType extensions * Initialize the serial_number to be a random number (2^128) * Add support for parsing extension information from existing CSRs * Require a private key before trying to produce a valid CSR * Add/update some tests TODO: Tests for all my changes
- Loading branch information
Showing
13 changed files
with
441 additions
and
109 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,39 +1,40 @@ | ||
GEM | ||
remote: http://rubygems.org/ | ||
remote: https://rubygems.org/ | ||
specs: | ||
activemodel (3.2.8) | ||
activesupport (= 3.2.8) | ||
activemodel (3.2.13) | ||
activesupport (= 3.2.13) | ||
builder (~> 3.0.0) | ||
activesupport (3.2.8) | ||
i18n (~> 0.6) | ||
activesupport (3.2.13) | ||
i18n (= 0.6.1) | ||
multi_json (~> 1.0) | ||
builder (3.0.0) | ||
diff-lcs (1.1.3) | ||
builder (3.0.4) | ||
diff-lcs (1.2.4) | ||
git (1.2.5) | ||
i18n (0.6.0) | ||
i18n (0.6.1) | ||
jeweler (1.8.4) | ||
bundler (~> 1.0) | ||
git (>= 1.2.5) | ||
rake | ||
rdoc | ||
json (1.7.4) | ||
multi_json (1.3.6) | ||
rake (0.9.2.2) | ||
rdoc (3.12) | ||
json (1.8.0) | ||
multi_json (1.7.4) | ||
rake (10.0.4) | ||
rdoc (4.0.1) | ||
json (~> 1.4) | ||
rspec (2.11.0) | ||
rspec-core (~> 2.11.0) | ||
rspec-expectations (~> 2.11.0) | ||
rspec-mocks (~> 2.11.0) | ||
rspec-core (2.11.1) | ||
rspec-expectations (2.11.2) | ||
diff-lcs (~> 1.1.3) | ||
rspec-mocks (2.11.2) | ||
rspec (2.13.0) | ||
rspec-core (~> 2.13.0) | ||
rspec-expectations (~> 2.13.0) | ||
rspec-mocks (~> 2.13.0) | ||
rspec-core (2.13.1) | ||
rspec-expectations (2.13.0) | ||
diff-lcs (>= 1.1.3, < 2.0) | ||
rspec-mocks (2.13.1) | ||
|
||
PLATFORMS | ||
ruby | ||
|
||
DEPENDENCIES | ||
activemodel (>= 3.0.6) | ||
activesupport (>= 3.0.6) | ||
jeweler (>= 1.5.2) | ||
rspec |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.