Permalink
Commits on Dec 19, 2012
  1. Updated travis hook

    drahosp committed Dec 19, 2012
Commits on Aug 25, 2012
  1. Updated version in dist.info

    drahosp committed Aug 25, 2012
  2. Updated cmake macros

    drahosp committed Aug 25, 2012
Commits on Apr 24, 2012
  1. cmake: update dist.cmake

    davidm committed Apr 24, 2012
Commits on Apr 20, 2012
  1. Merge pull request #16 from racker/x509_cert-fix-windows

    mkottman committed Apr 20, 2012
    x509_cert_pubkey: windows build fix
  2. Merge pull request #19 from hasufell/master

    mkottman committed Apr 20, 2012
    Revised build system - autotools
  3. autoreconf

    hasufell
    hasufell committed Apr 20, 2012
  4. add pkgconfig file

    hasufell
    hasufell committed Apr 20, 2012
    luvit needs the header file being installed when not using bundled sources
    this makes it easier for us to patch the luvit build system and point it
    to the correct lib/header
  5. fix test.lua

    hasufell
    hasufell committed Apr 20, 2012
  6. add autotools generated files

    hasufell
    hasufell committed Apr 20, 2012
    libtoolize --copy --force --install --automake && aclocal -I m4 && autoconf && autoheader && automake --add-missing --copy
  7. add autotools build system

    hasufell
    hasufell committed Apr 20, 2012
    base files added
  8. add docs

    hasufell
    hasufell committed Apr 20, 2012
  9. add cmake build system from LuaDist

    hasufell
    hasufell committed Apr 20, 2012
    dist.cmake patched to work with autotools
    added EXCLUDE patterns for Makefile* in install-rules
  10. remove old build systems

    hasufell
    hasufell committed Apr 20, 2012
Commits on Apr 3, 2012
  1. Adding travis build

    drahosp committed Apr 3, 2012
Commits on Mar 21, 2012
  1. x509_cert_pubkey: windows build fix

    philips committed Mar 21, 2012
    move declaration to the top to fix windows
Commits on Mar 20, 2012
  1. Merge pull request #15 from racker/fix-rsa-openssl-mismatch

    mkottman committed Mar 20, 2012
    Fix rsa openssl mismatch
  2. pkey: to_pem: check return codes

    Brandon Philips
    Brandon Philips committed Mar 20, 2012
    check the return codes of wrote_bio_PrivateKey for any error.
  3. pkey: use DSA and RSA PrivateKey functions in to_pem

    Brandon Philips
    Brandon Philips committed Mar 19, 2012
    Detect what type of key we are dealing with and use the right to_pem
    function. This way we match the enconding that the openssl dsa|rsa apps
    use for certificates.
Commits on Mar 14, 2012
  1. docs: add x509_cert and x509_ca

    Brandon Philips
    Brandon Philips committed Mar 14, 2012
    add docs for the x509_cert and x509_ca objects.
  2. x509_cert: add x509_cert to read out pubkey

    Brandon Philips
    Brandon Philips committed Mar 8, 2012
    With this patch we can now do things like verify a x509 cert against a x509_ca
    then extract its pubkey and test a message signature.
    
        cert = crypto.x509_cert()
        cert:from_pem(server_cert)
        kpub = cert:pubkey()
        message = 'Hello world'
        verified = crypto.verify('md5', message, signature, kpub)
Commits on Mar 6, 2012
Commits on Mar 1, 2012
  1. Bump version to 0.3.0

    mkottman committed Mar 1, 2012
Commits on Feb 29, 2012
Commits on Feb 8, 2012
  1. lcrypto: make it build under windows

    Brandon Philips
    Brandon Philips committed Feb 8, 2012
    Move all of the variable definitions to the top.
Commits on Feb 4, 2012
  1. lcrypto.c: return true if x509_ca:add_pem is OK

    Brandon Philips
    Brandon Philips committed Feb 4, 2012
    return a boolean instead of nothing on success
  2. lcrypto.c: remove inlines

    Brandon Philips
    Brandon Philips committed Feb 4, 2012
    inlines at best are a micro optimization and all modern compilers figure
    it out. On GCC 4.4 the exact same code is output with and without the
    inline. And as a bonus this all should compile under Windows now.
Commits on Feb 3, 2012
  1. Merge pull request #2 from racker/add-x509-ca-verify

    philips committed Feb 3, 2012
    Add x509 ca verify
  2. x509_ca: initial commit

    Brandon Philips
    Brandon Philips committed Feb 3, 2012
    Initial commit of code to verify an x509 cert against a CA.
    
    Here is an example usage of the API:
    
    ca = assert(crypto.x509_ca())
    ca:add_pem(ca_cert)
    assert(ca:verify_pem(cert_to_verify) == true, "failed to verify good cert")
  3. tests: generate a CA and a server cert

    Brandon Philips
    Brandon Philips committed Jan 26, 2012
    Generate some certs to test x509 functionality.