/usr/share/pyshared/M2Crypto/m2.py is in python-m2crypto 0.21.1-2ubuntu2.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 | """M2Crypto low level OpenSSL wrapper functions.
m2 is the low level wrapper for OpenSSL functions. Typically you would not
need to use these directly, since these will be called by the higher level
objects you should try to use instead.
Naming conventions: All functions wrapped by m2 are all lower case,
words separated by underscores.
Examples:
OpenSSL M2Crypto
X509_get_version m2.x509_get_version
X509_get_notBefore m2.x509_get_not_before
X509_REQ_verify m2.x509_req_verify
Exceptions to naming rules:
XXX TDB
Copyright (c) 1999-2004 Ng Pheng Siong. All rights reserved.
Portions created by Open Source Applications Foundation (OSAF) are
Copyright (C) 2004 OSAF. All Rights Reserved.
"""
from __m2crypto import *
lib_init()
|