Permalink
Commits on Feb 14, 2018
  1. Merge pull request #53 from sbadia/old_openssl_csr

    cchandler committed Feb 14, 2018
    spec: Fix openssl generated CSR with modern Ruby (2.5.0)
Commits on Feb 11, 2018
  1. spec: Fix openssl generated CSR with modern Ruby (2.5.0)

    sbadia committed Feb 11, 2018
    The CSR test doesn't work on modern platforms, It fails because the CSR
    generated for the test data was created using an ancient openssl. Modern
    openssl versions generate a different CSR than is expected in the tests.
    
    Similar to : #48
    References to : https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=888148
Commits on Jan 31, 2017
  1. Merge pull request #48 from micah/patch-1

    cchandler committed Jan 31, 2017
    Fix old openssl generated CSR
  2. Merge pull request #45 from sbadia/rspec3

    cchandler committed Jan 31, 2017
    Migrate to RSpec 3.x using transpec
Commits on Dec 20, 2016
  1. Fix old openssl generated CSR

    micah committed Dec 20, 2016
    CSR test doesn't work on modern platforms, It fails because the CSR generated for the test data was created using an ancient openssl. Modern openssl versions generate a different CSR than is expected in the tests.
Commits on Dec 1, 2016
  1. Migrate to RSpec 3.x using transpec and bump Gemfile

    sbadia committed Mar 1, 2016
    Convert Rspec syntax:
    
      * obj.should => expect(obj).to
      * == expected => eq(expected)
      * be_true => be_truthy
      * obj.should_not => expect(obj).not_to
      * lambda { }.should => expect { }.to
      * be_false => be_falsey
      * < expected => be < expected
      * =~ [1, 2] => match_array([1, 2])
      * > expected => be > expected
    
    Bump Rspec from 2.13.0 to 3.4.0
Commits on Nov 30, 2016
  1. Merge pull request #47 from elijh/noactivesupport

    cchandler committed Nov 30, 2016
    remove dependency on ActiveRecord and ActiveSupport
Commits on Jun 21, 2016
  1. Add proper Date calculations

    elijh committed Jun 21, 2016
  2. rerun rake gemspec:generate

    elijh committed Jun 21, 2016
  3. remove ActiveModel dependency

    elijh committed Jun 21, 2016
Commits on Jun 20, 2016
Commits on Aug 4, 2015
  1. Merge pull request #38 from databus23/patch-1

    cchandler committed Aug 4, 2015
    Add last_update time offset option to crls
  2. Merge pull request #42 from daanforever/master

    cchandler committed Aug 4, 2015
    Fixes to use OpenSSL::Digest.
Commits on Apr 17, 2014
  1. Add last_update time offset option to crls

    databus23 committed Apr 17, 2014
    Using `Time.now` for the `last_update` field of the crls is problematic when validating clients clocks are out of sync. At least openssl refuses to validate a certificate when crl checking is enabled and the locally cached crl is not yet valid.
    Therefore it is common practice to generate crls with a last_update timestamp that is slightly in the past.
Commits on Jan 13, 2014
  1. Merge pull request #35 from pmenglund/coveralls

    cchandler committed Jan 13, 2014
    add coveralls
  2. Merge pull request #34 from pmenglund/subject_alt_name

    cchandler committed Jan 13, 2014
    Subject alt name
Commits on Jan 11, 2014
  1. add coveralls

    pmenglund committed Jan 11, 2014
Commits on Jan 10, 2014
  1. Merge pull request #33 from pmenglund/travis

    cchandler committed Jan 10, 2014
    Travis
  2. add travis config file

    pmenglund committed Jan 8, 2014
  3. Extensions cleanup and support for subjectAltNames on SigningRequest.

    Chris Chandler
    Chris Chandler committed Jan 10, 2014
    These changes have been a *long* time coming.
    
    Extensions finally support object equality.
    
    Extensions will parse correctly from (highly limited) sample size
    so will likely need to be extended. Unfortunately, due to asymmetric
    set vs parse in OpenSSL you can't parse a cert with an extension you
    want and copy it to a new cert.
    
    Conveniences around creating subjectAltNames for CSRs.
  4. Merge branch 'subject_alt_name' of https://github.com/pmenglund/certi…

    Chris Chandler
    Chris Chandler committed Jan 10, 2014
    …ficate_authority into integration
    
    Conflicts:
    	lib/certificate_authority/extensions.rb
    	spec/units/extensions_spec.rb
Commits on Jan 9, 2014
  1. Merge branch 'fixes' of https://github.com/pmenglund/certificate_auth…

    Chris Chandler
    Chris Chandler committed Jan 9, 2014
    …ority into integration
    
    Conflicts:
    	lib/certificate_authority/certificate.rb
Commits on Dec 29, 2013
  1. add email to subjectAltName

    pmenglund committed Dec 29, 2013
Commits on Oct 1, 2013
  1. simplify load_extensions

    pmenglund committed Oct 1, 2013
  2. use https for rubygems

    pmenglund committed Oct 1, 2013
Commits on Jun 5, 2013
  1. Lots of random improvements to the certificate_authority gem

    Reed Loden
    Reed Loden committed Jun 4, 2013
    * 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
Commits on Jan 30, 2013
  1. Merge pull request #24 from jof/document_extensions

    cchandler committed Jan 30, 2013
    Lightly document X.509v3 extensions. Link out to relevant RFC sections.