summaryrefslogtreecommitdiff
path: root/security
AgeCommit message (Collapse)AuthorFilesLines
2013-06-14+ py-itsdangerouskleink1-1/+2
2013-06-14Import itsdangerous-0.21 as security/py-itsdangerous.kleink4-0/+42
It's Dangerous ... so better sign this Various helpers to pass data to untrusted environments and to get it back safe and sound. This repository provides a module that is a port of the django signing module. It's not directly copied but some changes were applied to make it work better on its own.
2013-06-13Update ruby-twitter_oauth to 0.4.92, for twitter api V1.1.obache3-9/+10
2013-06-13Allow absolute paths arguments for Configure (e.g. -isysroot /path)adam3-9/+26
2013-06-12Update to 5.6.2ryoon13-172/+25
* Update buildlink3.mk. Changelog: 5.6.0 - added AuthenticatedSymmetricCipher interface class and Filter wrappers - added CCM, GCM (with SSE2 assembly), EAX, CMAC, XSalsa20, and SEED - added support for variable length IVs - added OIDs for Brainpool elliptic curve parameters - improved AES and SHA-256 speed on x86 and x64 - changed BlockTransformation interface to no longer assume data alignment - fixed incorrect VMAC computation on message lengths that are >64 mod 128 (x86 assembly version is not affected) - fixed compiler error in vmac.cpp on x86 with GCC -fPIC - fixed run-time validation error on x86-64 with GCC 4.3.2 -O2 - fixed HashFilter bug when putMessage=true - fixed AES-CTR data alignment bug that causes incorrect encryption on ARM - removed WORD64_AVAILABLE; compiler support for 64-bit int is now required - ported to GCC 4.3, C++Builder 2009, Sun CC 5.10, Intel C++ Compiler 11 5.6.1 - added support for AES-NI and CLMUL instruction sets in AES and GMAC/GCM - removed WAKE-CFB - fixed several bugs in the SHA-256 x86/x64 assembly code: * incorrect hash on non-SSE2 x86 machines on non-aligned input * incorrect hash on x86 machines when input crosses 0x80000000 * incorrect hash on x64 when compiled with GCC with optimizations enabled - fixed bugs in AES x86 and x64 assembly causing crashes in some MSVC build configurations - switched to a public domain implementation of MARS - ported to MSVC 2010, GCC 4.5.1, Sun Studio 12u1, C++Builder 2010, Intel C++ Compiler 11.1 - renamed the MSVC DLL project to "cryptopp" for compatibility with MSVC 2010 5.6.2 - changed license to Boost Software License 1.0 - added SHA-3 (Keccak) - updated DSA to FIPS 186-3 (see DSA2 class) - fixed Blowfish minimum keylength to be 4 bytes (32 bits) - fixed Salsa validation failure when compiling with GCC 4.6 - fixed infinite recursion when on x64, assembly disabled, and no AESNI - ported to MSVC 2012, GCC 4.7, Clang 3.2, Solaris Studio 12.3, Intel C++ Compiler 13.0
2013-06-11Hopefully fixes building on most platforms supportedkhorben1-1/+4
2013-06-09Update to 0.97ryoon3-14/+26
* Update HOMEPAGE and MASTER_SITES. * Convert custom do-install taget to patch to Makefile.in. Changelog: version 0.97 * Case insensitivity when responding to S/KEY challenges. RFC1760 does not mention case sensitivity, but I've received a report of a server implementation that is case sensitive. OTP behavior is unchanged.
2013-06-07require `fgrep' as a tool.obache1-2/+2
fixes build on Haiku, noticed by diger in pkgsrc-users@.
2013-06-06Bump PKGREVISION for libXft changes for NetBSD native X support onwiz37-74/+74
NetBSD 6, requested by tron.
2013-06-05Imported php-ssdeep as security/php-ssdeepkhorben1-1/+2
2013-06-05Imported php-ssdeep 1.0.2 as security/php-ssdeepkhorben4-0/+32
The ssdeep project page describes it as a library for "...computing context triggered piecewise hashes (CTPH). Also called fuzzy hashes, CTPH can match inputs that have homologies. Such inputs have sequences of identical bytes in the same order, although bytes in between these sequences may be different in both content and length".
2013-06-05Imported ssdeep 2.9 as security/ssdeepkhorben1-1/+2
2013-06-05Imported ssdeep 2.9 as security/ssdeepkhorben5-0/+45
ssdeep is a program for computing context triggered piecewise hashes (CTPH). Also called fuzzy hashes, CTPH can match inputs that have homologies. Such inputs have sequences of identical bytes in the same order, although bytes in between these sequences may be different in both content and length.
2013-06-04Try to fix the fallout caused by the fix for PR pkg/47882. Part 3:tron39-78/+78
Recursively bump package revisions again after the "freetype2" and "fontconfig" handling was fixed.
2013-06-04Control the dependency on p5-GSSAPI via the 'gssapi' option. Stillschmonz1-2/+8
on by default, so no PKGREVISION bump.
2013-06-03Bump freetype2 and fontconfig dependencies to current pkgsrc versions,wiz39-75/+78
to address issues with NetBSD-6(and earlier)'s fontconfig not being new enough for pango. While doing that, also bump freetype2 dependency to current pkgsrc version. Suggested by tron in PR 47882
2013-06-01Add paperkey.shattered1-1/+2
2013-06-01Import paperkey-1.3 as security/paperkey.shattered4-0/+26
Paperkey extracts secret bytes from GnuPG key and prints them. To reconstruct, you re-enter those bytes (whether by hand or via OCR) and paperkey can use them to transform your existing public key into a secret key.
2013-06-01Update to 0.9.1. Changes: unknown.shattered2-6/+7
2013-06-01fixes build with perl-5.18.obache2-1/+19
2013-06-01Fix openssl pod docs to work with the very picky pod2man from perl-5.18.0.sbd21-1/+412
2013-06-01Update to 0.46:wiz2-8/+6
0.46 Thu Oct 25 14:04:17 EDT 2012 Add a ->search_keys method Add a ->version method Remove dead code for finding gnupg2 binary
2013-06-01Fixes build failure with perl-5.18.obache2-1/+19
2013-06-01Update p5-Crypt-Twofish to 2.17 for perl-5.18 compatibility fix.obache2-7/+6
2.16 2013-04-10 Abhijit Menon-Sen <ams@toroid.org> * Another attempt to silence cpantesters. No functional changes.
2013-05-31Bump all packages for perl-5.18, thatwiz121-218/+242
a) refer 'perl' in their Makefile, or b) have a directory name of p5-*, or c) have any dependency on any p5-* package Like last time, where this caused no complaints.
2013-05-29Update to 2.0.20:wiz4-52/+8
Noteworthy changes in version 2.0.20 (2013-05-10) ------------------------------------------------- * Decryption using smartcards keys > 3072 bit does now work. * New meta option ignore-invalid-option to allow using the same option file by other GnuPG versions. * gpg: The hash algorithm is now printed for sig records in key listings. * gpg: Skip invalid keyblock packets during import to avoid a DoS. * gpg: Correctly handle ports from DNS SRV records. * keyserver: Improve use of SRV records * gpg-agent: Avoid tty corruption when killing pinentry. * scdaemon: Improve detection of card insertion and removal. * scdaemon: Rename option --disable-keypad to --disable-pinpad. * scdaemon: Better support for CCID readers. Now, the internal CCID driver supports readers without the auto configuration feature. * scdaemon: Add pinpad input for PC/SC, if your reader has pinpad and it supports variable length PIN input, and you specify --enable-pinpad-varlen option. * scdaemon: New option --enable-pinpad-varlen. * scdaemon: Install into libexecdir to avoid accidental execution from the command line. * Support building using w64-mingw32. * Assorted bug fixes.
2013-05-29Changes 2.7.1:adam2-6/+6
This is a bugfix release. Bug fixes: * Fixed a bug in the new ECC code. The ecc_j_to_a function called GMP:s mpn_mul_n (via ecc_modp_mul) with overlapping input and output arguments, which is not supported. * The assembly files for SHA1, SHA256 and AES depend on ARMv6 instructions, breaking nettle-2.7 for pre-v6 ARM processors. The configure script now enables those assembly files only when building for ARMv6 or later. * Use a more portable C expression for rotations. The previous version used the following "standard" expression for 32-bit rotation: (x << n) | (x >> (32 - n)) But this gives undefined behavior (according to the C specification) for n = 0. The rotate expression is replaced by the more portable: (x << n) | (x >> ((-n)&31)) This change affects only CAST128, which uses non-constant rotation counts. Unfortunately, the new expression is poorly optimized by released versions of gcc, making CAST128 a bit slower. This is being fixed by the gcc hackers, see http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57157. The following problems have been reported, but are *not* fixed in this release: * ARM assembly files use instruction syntax which is not supported by all assemblers. Workaround: Use a current version of GNU as, or configure with --disable-assembler. * Configuring with --disable-static doesn't work on windows. The libraries are intended to be binary compatible with nettle-2.2 and later. The shared library names are libnettle.so.4.7 and libhogweed.so.2.5, with sonames still libnettle.so.4 and libhogweed.so.2.
2013-05-26+sshpassrodent1-1/+2
2013-05-26Import sshpass-1.05 as security/sshpass.rodent4-0/+26
Sshpass is a tool for non-interactively performing password authentication with SSH's so called "interactive keyboard password authentication". Most users should use SSH's more secure public key authentication instead.
2013-05-24Bump PKGREVISION for libproxy shlib major bump.wiz2-4/+4
2013-05-24Add compatability define for u_int16_t on SunOS.jperkin1-1/+3
2013-05-23and commit the actual patchchristos1-0/+78
2013-05-23use the proper libevent signal interfacechristos2-3/+4
2013-05-23avoid deprecated event_gotsig and friends.christos3-11/+75
2013-05-21Support C++11 STL implementations.joerg4-1/+102
2013-05-21Update to KDE SC 4.10.3markd4-12/+10
bugfixes.
2013-05-18Add and enable security/HElibagc1-1/+2
2013-05-18Initial import of HElib, a library to perform homomorphic encryption,agc5-0/+99
into the Packages Collection. HElib is a software library that implements homomorphic encryption (HE). Currently available is an implementation of the Brakerski-Gentry-Vaikuntanathan (BGV) scheme, along with many optimizations to make homomorphic evaluation run faster, focusing mostly on effective use of the Smart-Vercauteren ciphertext packing techniques and the Gentry-Halevi-Smart optimizations.
2013-05-18Update to 0.15ryoon4-10/+22
* Patches from Patrick Welche, thank you. * Fix buildlink3.mk Changelog: 0.15 * Tweak predefined schemas [#695791] * Updated translations 0.14 * Add a 'search' command to the tool for looking up items [#693881] * Try to unlock locked collection when storing an item [#693723] * Improve validation of the attributes table [#694107] * Allow empty SecretValue contents [#694787] * Introspection fixes [#694448] * Updated translations 0.13 * Updated translations * Build fixes
2013-05-16- delete liboauth2 which does not exist (anymore)jnemeth1-2/+2
- add and enable py-oauth2
2013-05-15Update to 0.1.7:wiz3-8/+21
Revision 0.1.7 -------------- - License updated to vanilla BSD 2-Clause to ease package use (http://opensource.org/licenses/BSD-2-Clause). - Test suite made discoverable by unittest/unittest2 discovery feature. - Fix to decoder working on indefinite length substrate -- end-of-octets marker is now detected by both tag and value. Otherwise zero values may interfere with end-of-octets marker. - Fix to decoder to fail in cases where tagFormat indicates inappropriate format for the type (e.g. BOOLEAN is always PRIMITIVE, SET is always CONSTRUCTED and OCTET STRING is either of the two) - Fix to REAL type encoder to force primitive encoding form encoding. - Fix to CHOICE decoder to handle explicitly tagged, indefinite length mode encoding - Fix to REAL type decoder to handle negative REAL values correctly. Test case added. Revision 0.1.6 -------------- - The compact (valueless) way of encoding zero INTEGERs introduced in 0.1.5 seems to fail miserably as the world is filled with broken BER decoders. So we had to back off the *encoder* for a while. There's still the IntegerEncoder.supportCompactZero flag which enables compact encoding form whenever it evaluates to True. - Report package version on debugging code initialization. Revision 0.1.5 -------------- - Documentation updated and split into chapters to better match web-site contents. - Make prettyPrint() working for non-initialized pyasn1 data objects. It used to throw an exception. - Fix to encoder to produce empty-payload INTEGER values for zeros - Fix to decoder to support empty-payload INTEGER and REAL values - Fix to unit test suites imports to be able to run each from their current directory Revision 0.1.4 -------------- - Built-in codec debugging facility added - Added some more checks to ObjectIdentifier BER encoder catching posible 2^8 overflow condition by two leading sub-OIDs - Implementations overriding the AbstractDecoder.valueDecoder method changed to return the rest of substrate behind the item being processed rather than the unprocessed substrate within the item (which is usually empty). - Decoder's recursiveFlag feature generalized as a user callback function which is passed an uninitialized object recovered from substrate and its uninterpreted payload. - Catch inappropriate substrate type passed to decoder. - Expose tagMap/typeMap/Decoder objects at DER decoder to uniform API. - Obsolete __init__.MajorVersionId replaced with __init__.__version__ which is now in-sync with distutils. - Package classifiers updated. - The __init__.py's made non-empty (rumors are that they may be optimized out by package managers). - Bail out gracefully whenever Python version is older than 2.4. - Fix to Real codec exponent encoding (should be in 2's complement form), some more test cases added. - Fix in Boolean truth testing built-in methods - Fix to substrate underrun error handling at ObjectIdentifier BER decoder - Fix to BER Boolean decoder that allows other pre-computed values besides 0 and 1 - Fix to leading 0x80 octet handling in DER/CER/DER ObjectIdentifier decoder. See http://www.cosic.esat.kuleuven.be/publications/article-1432.pdf Revision 0.1.3 -------------- - Include class name into asn1 value constraint violation exception. - Fix to OctetString.prettyOut() method that looses leading zero when building hex string. Revision 0.1.2 -------------- - Fix to __long__() to actually return longs on py2k - Fix to OctetString.__str__() workings of a non-initialized object. - Fix to quote initializer of OctetString.__repr__() - Minor fix towards ObjectIdentifier.prettyIn() reliability - ObjectIdentifier.__str__() is aliased to prettyPrint() - Exlicit repr() calls replaced with '%r' Revision 0.1.1 -------------- - Hex/bin string initializer to OctetString object reworked (in a backward-incompatible manner) - Fixed float() infinity compatibility issue (affects 2.5 and earlier) - Fixed a bug/typo at Boolean CER encoder. - Major overhawl for Python 2.4 -- 3.2 compatibility: + get rid of old-style types + drop string module usage + switch to rich comparation + drop explicit long integer type use + map()/filter() replaced with list comprehension + apply() replaced with */**args + switched to use 'key' sort() callback function + support both __nonzero__() and __bool__() methods + modified not to use py3k-incompatible exception syntax + getslice() operator fully replaced with getitem() + dictionary operations made 2K/3K compatible + base type for encoding substrate and OctetString-based types is now 'bytes' when running py3k and 'str' otherwise + OctetString and derivatives now unicode compliant. + OctetString now supports two python-neutral getters: asOcts() & asInts() + print OctetString content in hex whenever it is not printable otherwise + in test suite, implicit relative import replaced with the absolute one + in test suite, string constants replaced with numerics Revision 0.0.13 --------------- - Fix to base10 normalization function that loops on univ.Real(0) Revision 0.0.13b ---------------- - ASN.1 Real type is now supported properly. - Objects of Constructed types now support __setitem__() - Set/Sequence objects can now be addressed by their field names (string index) and position (integer index). - Typo fix to ber.SetDecoder code that prevented guided decoding operation. - Fix to explicitly tagged items decoding support. - Fix to OctetString.prettyPrint() to better handle non-printable content. - Fix to repr() workings of Choice objects. Revision 0.0.13a ---------------- - Major codec re-design. - Documentation significantly improved. - ASN.1 Any type is now supported. - All example ASN.1 modules moved to separate pyasn1-modules package. - Fix to initial sub-OID overflow condition detection an encoder. - BitString initialization value verification improved. - The Set/Sequence.getNameByPosition() method implemented. - Fix to proper behaviour of PermittedAlphabetConstraint object. - Fix to improper Boolean substrate handling at CER/DER decoders. - Changes towards performance improvement: + all dict.has_key() & dict.get() invocations replaced with modern syntax (this breaks compatibility with Python 2.1 and older). + tag and tagset caches introduced to decoder + decoder code improved to prevent unnecessary pyasn1 objects creation + allow disabling components verification when setting components to structured types, this is used by decoder whilst running in guided mode. + BER decoder for integer values now looks up a small set of pre-computed substrate values to save on decoding. + a few pre-computed values configured to ObjectIdentifier BER encoder. + ChoiceDecoder split-off SequenceOf one to save on unnecessary checks. + replace slow hasattr()/getattr() calls with isinstance() introspection. + track the number of initialized components of Constructed types to save on default/optional components initialization. + added a shortcut ObjectIdentifier.asTuple() to be used instead of __getitem__() in hotspots. + use Tag.asTuple() and pure integers at tag encoder. + introduce and use in decoder the baseTagSet attribute of the built-in ASN.1 types. Revision 0.0.12a ---------------- - The individual tag/length/value processing methods of encoder.AbstractItemEncoder renamed (leading underscore stripped) to promote overloading in cases where partial substrate processing is required. - The ocsp.py, ldap.py example scripts added. - Fix to univ.ObjectIdentifier input value handler to disallow negative sub-IDs.
2013-05-13The kpasswd service provided by kadmind was vulnerable to a UDPtez3-2/+57
"ping-pong" attack [CVE-2002-2443]. Don't respond to packets unless they pass some basic validation, and don't respond to our own error packets. Some authors use CVE-1999-0103 to refer to the kpasswd UDP ping-pong attack or UDP ping-pong attacks in general, but there is discussion leading toward narrowing the definition of CVE-1999-0103 to the echo, chargen, or other similar built-in inetd services. https://github.com/krb5/krb5/commit/cf1a0c411b2668c57c41e9c4efd15ba17b6b322ccvs
2013-05-12New package py-oauth2cheusov5-1/+70
2013-05-12Fix recent change to security/libksba for cross-compilation.riastradh1-1/+3
Need to include bsd.prefs.mk before testing USE_CROSS_COMPILE. Not sure how this slipped through -- could've sworn I tested this.
2013-05-11Allow this package to be cross-built too - take the compiler fromagc2-1/+17
the environment if it's there.
2013-05-11Fix cross-build of security/nettle by setting CC_FOR_BUILD.riastradh1-1/+7
2013-05-10Fix cross-build of libksba with CC_FOR_BUILD=NATIVE_CC.riastradh1-1/+5
2013-05-10Fix cross-build of gnupg with CC_FOR_BUILD=NATIVE_CC.riastradh1-1/+5
2013-05-10Fix cross-build of security/libgpg-error with CC_FOR_BUILD=NATIVE_CC.riastradh1-2/+7
ok agc
2013-05-09Changes 1.10.5:adam3-35/+6
This is a bugfix release. The krb5-1.10 release series is in maintenance, and for new deployments, installers should prefer the krb5-1.11 release series or later. * Fix KDC null pointer dereference in TGS-REQ handling [CVE-2013-1416] * Incremental propagation could erroneously act as if a slave's database were current after the slave received a full dump that failed to load.