Skip to content

Instantly share code, notes, and snippets.

View daniel-hartmann's full-sized avatar

Daniel Hartmann daniel-hartmann

View GitHub Profile
@daniel-hartmann
daniel-hartmann / get_certificate.py
Created September 23, 2014 14:33
Code to get private key and certificate from eCNPJ - smart card, certificado A3
#!/usr/bin/env python
# Copyright (C) 2014 Daniel Hartmann (daniel@simbio.com.br)
#
# This file is free software; you can redistribute it and/or modify it
# under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful, but
#!/usr/bin/env python
# Copyright (C) 2014 Daniel Hartmann (daniel@simbio.com.br)
#
# This file is free software; you can redistribute it and/or modify it
# under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful, but