Skip to content
Commits on Apr 10, 2013
  1. @jmazzi

    Merge pull request #33 from jmazzi/feature/dirty_tracking

    Dirty tracking fix
    jmazzi committed Apr 10, 2013
Commits on Mar 19, 2013
  1. @jmazzi

    Mark as pre-release

    jmazzi committed Mar 19, 2013
  2. @jmazzi

    Refactor specs, fix spacing

    jmazzi committed Mar 19, 2013
  3. @itspriddle @jmazzi

    Clear dirty attrs on encrypt too

    When we call `#encrypt_callback`, we need to account for "re-encrypting"
    attributes. This occurs when we save a record with encrypted attributes, and
    none of the encrypted attributes have actually been changed (dirty). If this
    is not done, ActiveModel thinks that these attributes are dirty and will
    attempt to update them even if it is not necessary.
    itspriddle committed with jmazzi Mar 19, 2013
  4. @jmazzi

    Add dirty tracking

    jmazzi committed Mar 15, 2013
Commits on Jan 7, 2013
  1. @jmazzi

    Merge pull request #27 from rwc9u/iv_randomness

    Fix for OpenSSL::Cipher::CipherError: iv length too short
    jmazzi committed Jan 7, 2013
Commits on Jan 5, 2013
  1. @rwc9u

    Changed encryption to user the OpenSSL random_iv instead of rand.to_s

    because sometimes that is not long enough.
    rwc9u committed Jan 5, 2013
Commits on Dec 24, 2012
  1. @jmazzi

    Merge pull request #23 from jmazzi/gemupdates

    Update gems
    jmazzi committed Dec 24, 2012
  2. @jmazzi

    Merge pull request #22 from jmazzi/refactor/cleanup_specs

    Spec cleanups
    jmazzi committed Dec 24, 2012
  3. @jmazzi

    Gem updates

    jmazzi committed Dec 24, 2012
  4. @jmazzi

    Ignore bin

    jmazzi committed Dec 24, 2012
  5. @jmazzi

    Spec cleanups

    jmazzi committed Dec 24, 2012
Commits on Dec 23, 2012
  1. @jmazzi

    Merge pull request #20 from jmazzi/refactor/log_subscribers

    Attach log subscribers on-demand
    jmazzi committed Dec 23, 2012
  2. @jmazzi

    Merge pull request #21 from jmazzi/bugfix/missing_encryptor

    Provide a clear error when you forgot to specify an encryptor
    jmazzi committed Dec 23, 2012
  3. @jmazzi
  4. @jmazzi

    Load LogSubscribers on demand.

    Prior to this change, all LogSubscribers were loaded and used. Now, only
    the needed LogSubscribers are loaded
    jmazzi committed Dec 23, 2012
Commits on Dec 7, 2012
  1. @jmazzi

    Bump

    jmazzi committed Dec 7, 2012
  2. @jmazzi

    Merge pull request #17 from jmazzi/refactor/enforce_column_type

    Refactor/enforce column type
    jmazzi committed Dec 7, 2012
  3. @jmazzi

    Update appraisal

    jmazzi committed Dec 7, 2012
  4. @jmazzi
  5. @jmazzi

    Bump version

    jmazzi committed Dec 7, 2012
  6. @jmazzi

    Merge pull request #18 from fabiokr/feature/check_field_presence

    Checks if field exist
    jmazzi committed Dec 7, 2012
  7. @fabiokr

    Checks if field exist

    fabiokr committed Dec 7, 2012
Commits on Oct 11, 2012
  1. @jmazzi

    Merge pull request #15 from jmazzi/bugfix/force_strings

    PostgreSQL expects strings when using pgp_sym_encrypt/decrypt functions.
    jmazzi committed Oct 11, 2012
  2. @jmazzi

    PostgreSQL expects strings when using pgp_sym_encrypt/decrypt functions.

    Passing an integer to an encrypted attribute causes this error to be
    raised:
    
      ActiveRecord::StatementInvalid: PG::Error: ERROR:  function
      pgp_sym_encrypt(integer, unknown) does not exist
      LINE 1: SELECT pgp_sym_encrypt(1, '...
    
    Since encrypt= is the only method that deals with user provided data, I
    am only patching it in the encrypt= method. decrypt= reads values from
    the db which are strings at that point.
    jmazzi committed Oct 11, 2012
Commits on Oct 6, 2012
  1. @jmazzi

    Bump

    jmazzi committed Oct 6, 2012
  2. @jmazzi

    Merge pull request #14 from jmazzi/refactor/helper

    Move common SQL methods to a helper
    jmazzi committed Oct 6, 2012
  3. @jmazzi

    Move this into the model

    jmazzi committed Oct 6, 2012
  4. @jmazzi
Commits on Sep 14, 2012
  1. @itspriddle

    Merge pull request #10 from jmazzi/bugfix/mysql_aes_base64

    Use Base64.encode/decode after/befor encrypting
    itspriddle committed Sep 14, 2012
  2. @jmazzi

    Use Base64.encode/decode after/befor encrypting

    Some versions of ruby do not deal with with the binary that MySQL's
    AES_ENCRYPT() returns. This fixes that issue by encoding encrypted
    strings before storing them in the DB. It also takes care of decoding as
    well.
    jmazzi committed Sep 14, 2012
  3. @itspriddle

    Merge pull request #9 from jmazzi/bugfix/mysql_aes

    Fix specs that were not running
    itspriddle committed Sep 14, 2012
  4. @jmazzi

    Update appraisal

    jmazzi committed Sep 14, 2012
  5. @jmazzi

    Fix specs that were not running

    jmazzi committed Sep 14, 2012
Commits on Sep 3, 2012
  1. @jmazzi

    Update README.md

    jmazzi committed Sep 3, 2012
Something went wrong with that request. Please try again.