Commit graph

10586 commits

Author SHA1 Message Date
nia
406aed1243 lua-arc4random: Fix HOMEPAGE 2020-07-02 17:50:38 +00:00
nia
faffed5f59 security: Add lua-arc4random
The arc4random family of functions provides a cryptographic pseudorandom
number generator automatically seeded from the system entropy pool and
safe to use from multiple threads.  arc4random is designed to prevent an
adversary from guessing outputs, unlike rand(3) and random(3), and is
faster and more convenient than reading from /dev/urandom directly.

This is a Lua wrapper for arc4random(3), portable to systems that
do and don't have it natively in libc. On systems where arc4random
may be insecure it provides a replacement.
2020-07-02 17:46:26 +00:00
nia
d595f17abc security: Add lua-argon2
Lua C binding for the Argon2 password hashing algorithm
2020-07-02 14:02:36 +00:00
nia
ce231128fe ap-modsecurity2: Uses lua51. 2020-06-30 17:38:02 +00:00
schmonz
a345269c2f Modernize patch filenames. NFCI. 2020-06-30 13:35:37 +00:00
adam
5e34ace445 py-cryptodome: updated to 3.9.8
3.9.8:

Resolved issues
* The Shamir's secret sharing implementation is not actually compatible with ``ssss``.
  Added an optional parameter to enable interoperability.
* Skip altogether loading of ``gmp.dll`` on Windows.
* Fix incorrect CFB decryption when the input and the output are the same buffer.
2020-06-29 13:36:51 +00:00
nia
a87608e63d mbedtls: Add KERN_ARND support.
Motivation: the default behaviour of reopening /dev/urandom repeatedly
for every 128 bytes of entropy required is _exceedingly_ slow on NetBSD.
Not helped is using fread(), which assumes a long-lived file and buffers
excessively. This change makes the standard gen_entropy tool run in
milliseconds instead of seconds when it generates 48K of randomness.

Not only that, but sysctl is a lot more robust in e.g. chroots, resource
limited processes, etc.

Risk: On NetBSD, the security properties of the previous and current
behaviour are identical.

Upstreamed: https://github.com/ARMmbed/mbedtls/pull/3423

Bump PKGREVISION.
2020-06-29 12:39:36 +00:00
ryoon
c389f7db21 putty: Update to 0.74
Changelog:
This release fixes the following security issues:

 - In some situations an SSH server could cause PuTTY to access freed
   mdmory by pretending to accept an SSH key and then refusing the
   actual signature. It can only happen if you're using an SSH agent.

 - New configuration option to disable PuTTY's default policy of
   changing its host key algorithm preferences to prefer keys it
   already knows. (There is a theoretical information leak in this
   policy.)

Other bug fixes include:

 - Windows installer: the text in the installer UI is now visible in
   Windows high-contrast mode. (Previously it was white on white by
   mistake.)

 - Windows 7: fixed spurious OS out-of-memory error when reading
   passwords from a Windows console (e.g. psftp).

 - Terminal crash: the dreaded "line==NULL" error could happen if an
   application switched between the main and alternate screens while
   the user was looking at the scrollback.

 - Terminal crash: the terminal could fail an assertion when sending
   an empty answerback string, and when pasting text none of whose
   characters exist in the selected character set.

 - SSH: fixed endless memory-allocating loop that could be triggered
   by the combination of a misbehaving SSH agent and PuTTY's bug
   compatibility mode for padded RSA signatures.

 - File transfer: when uploading files to some SFTP servers (e.g. the
   one in proftpd's mod_sftp), PSFTP would consume up to 4GB of local
   memory before sending anything to the server.

 - Terminal behaviour: sometimes the cursor was put in the wrong place
   after restoring from the alternate screen.

 - GTK: fixed font size calculation when using newer Pango libraries
   (e.g. the one on Ubuntu 20.04).

 - GTK: scroll wheel events now work in unusual environments like VNC.
2020-06-29 11:49:50 +00:00
schmonz
3948870bde Retire 'djbware-errno-hack' and associated options.mk cleverness.
Instead:

1. Package makefiles including their own options.mk
2. Packages say "SUBST_CLASSES+=djberrno" to get the hack, if needed
3. Packages adjust SUBST_FILES.djberrno, if needed

Should fix bulk build failures due to multiple inclusions of options.mk
and/or incorrect definitions of DJB_ERRNO_HACK.

Approved during the freeze by wiz@.
2020-06-25 05:42:36 +00:00
taca
b6a4c023f3 security/ruby-metasploit-model: update to 3.0.0
Update ruby-metasploit-model to 3.0.0, this is a leaf package and is
curently marked as broken.

3.0.0

* Switch to use Ruby on Rails 5.2.
2020-06-24 11:09:29 +00:00
taca
f39710ea7e security/ruby-sshkey: update to 2.0.0
Update ruby-sshkey to 2.0.0.

pkgsrc change: add "USE_LANGUAGES=	# none".


2.0.0 (2019-02-11)

* Breaking Change: Drop support for Ruby 1.9
* Feature: Accept valid ed25519 keys with leading zero byte (#37)
* Feature: Support sshfp (#30)
2020-06-21 15:52:12 +00:00
taca
a1a4d46750 Add "USE_LANGUAGES= # noen"
Add "USE_LANGUAGES=	# noen" for pure Ruby packages.
2020-06-21 14:54:50 +00:00
taca
53928c87f6 security/ruby-metasploit_payloads-mettle: update to 1.0.1
Update ruby-metasploit_payloads-mettle to 1.0.1.

No releasenote nor changelog is available.  Quote from
<https://github.com/rapid7/mettle/compare/v1.0.0...v1.0.1>:

1.0.1 (2020-06-18)

* Use DER instead of PEM for TLV encryption.
2020-06-21 14:52:14 +00:00
taca
a2c0d860b3 security/ruby-metasploit-payloads: update to 2.0.5
Update ruby-metasploit-payloads to 2.0.5.

No releasenote nor changelog is available.  Please refer commit log
in details:
<https://github.com/rapid7/metasploit-payloads/compare/v2.0.3...v2.0.5>.
2020-06-21 14:41:03 +00:00
plunky
224eff888e Look for nginx.conf in PKG_SYSCONFDIR.nginx 2020-06-21 08:00:03 +00:00
adam
2dc1201308 opensc: make it build again 2020-06-20 19:08:19 +00:00
adam
d7957d3666 pcsc-lite: updated to 1.9.0:
1.9.0:
- SCardEndTransaction(): greatly improve performances (x300)
- tokenparser: accept any Unicode character in a reader name
- Use /run instead of /var/run by default
- Fix a memory leak from a polkit call
- Some other minor improvements

1.8.26:
- Use poll() instead of select() to allow file descriptor higher than FD_SETSIZE
- Enable reader filtering by default
- pcsc-spy:
  . Do not read output buffer after error
  . Adjust code to handle autoallocated buffers
  . fix year-2038 issue by using long instead of int
- Android: fix compilation
- if client/server protocol mismatch:
  . log an explicit message
  . SCardEstablishContext() returns SCARD_E_SERVICE_STOPPED
- polkit: log the error message if polkit_authority_get_sync() fails
- Exit with EXIT_SUCCESS on shutdown to please systemd
- Doxygen: fix minor issues in the documentation
- Add --disable-documentation option
- Fix a minor memory leak

1.8.25:
- Fix a socket issue when pcscd is used inside LXC container
- pcsc-spy: always provide a total time of execution
- Fix resource leak if SCardEstablishContext() fails
- Fix realloc(3) error handling (possible memory leak)
- Remove usage of function chmod(2) to use fchmod(2) (fix race condition)

1.8.24:
- the project moved to https://pcsclite.apdu.fr/
- SCardGetStatusChange(): Fix a rare race condition
- SCardReleaseContext(): do not release a lock owned by another context
- SCardReconnect(): suspend card auto power off
- Allow "=" in serial driver filenames
- Add the thread id in the pcscd log lines
- pcsc-spy: correctly handle incomplete log file
- Simclist: avoid to divide by zero in list_findpos()
- Some other minor improvements
2020-06-20 19:03:37 +00:00
adam
a04f73b225 py-google-auth: updated to 1.18.0
1.18.0:
Features
make load_credentials_from_file a public method

Bug Fixes
no warning if quota_project_id is given
2020-06-20 16:28:08 +00:00
adam
c85ae4e281 py-certifi: updated to 2020.4.5.2
2020.4.5.2:
Unknown changes
2020-06-19 20:40:11 +00:00
wiz
201cabf342 tor-browser: merge multiprocess changes from firefox68
Bump PKGREVISION.
2020-06-18 12:56:40 +00:00
nia
f6c3d16fb2 tor-browser: Remove patches for NetBSD 7, rust dropped support for NetBSD 7 2020-06-17 18:02:53 +00:00
bsiegert
121a05e61b Revbump Go packages after Go 1.14.4 update. 2020-06-17 09:54:00 +00:00
adam
7700ae91bb py-google-auth: updated to 1.17.2
1.17.2:
Bug Fixes
dependencies: Further restrict RSA versions
2020-06-16 16:53:38 +00:00
nikita
fc57a20373 pyversion 2020-06-16 11:46:57 +00:00
nikita
123cdba4cc py-pyutil, passphrase: Add CONFLICTS entry. 2020-06-16 11:34:40 +00:00
nikita
f6dc9f2fa6 security/passphrase: simplify, use application.mk 2020-06-16 11:02:44 +00:00
nikita
03b3dc3233 Add security/passphrase version 1.0.0
Passphrase is a zero-dependency passphrase generator.

It is pretty fast (over 6000 times faster than
bitwarden's "bw generate -p",) and you can use any wordlist.
An English wordlist is included, and is the default.
2020-06-16 10:30:32 +00:00
taca
ed19faa76a security/ruby-metasploit_payloads-mettel: update to 1.0.0
Update ruby-metasploit_payloads-mettel to 1.0.0.


No releasenote nor changelog is available.  Please refer commit log
in details: <https://github.com/rapid7/mettle/compare/v0.5.20...v1.0.0>.
2020-06-15 14:39:57 +00:00
taca
4d33a78b4e security/ruby-metasploit-payloads: update to 2.0.3
Update ruby-metasploit-payloads to 2.0.3.


No releasenote nor changelog is available.  Please refer commit log
in details:
<https://github.com/rapid7/metasploit-payloads/compare/v1.4.3...v2.0.3>.
2020-06-15 14:26:23 +00:00
ryoon
cff1a04229 security: Enable cyrus-sasl-xoauth2 2020-06-12 13:42:45 +00:00
ryoon
e95c84ceb2 security/cyrus-sasl-xoauth2: import cyrus-sasl-xoauth2-0.0.0.20200428
XOAUTH2 mechanism plugin for security/cyrus-sasl
2020-06-12 13:41:41 +00:00
maya
64d7e64a83 mozilla-rootcerts: explain that this package isn't all the mozilla rootcerts 2020-06-12 10:37:18 +00:00
maya
7cdf6f4ced mozilla-rootcerts*: remove Kamu SM from the list of certificates.
Mozilla only trusts this for Turkish domains, see:
https://wiki.mozilla.org/CA/Additional_Trust_Changes

And users of mozilla-rootcerts likely don't implement the same fine-grained
trust.

Proposed on tech-pkg
2020-06-12 10:35:11 +00:00
adam
5d771092e8 py-google-auth: updated to 1.17.1
1.17.1:

Bug Fixes
narrow acceptable RSA versions to maintain Python 2 compatability

1.17.0:

Features
add quota_project_id to service accounts; add with_quota_project methods

1.16.1:

Bug Fixes
fix impersonated cred exception doc
replace environment variable GCE_METADATA_ROOT with GCE_METADATA_HOST

1.16.0:

Features
add helper func to for default encrypted cert

Bug Fixes
fix impersonated cred for gcloud

1.15.0:

Features
encrypted mtls private key support

Bug Fixes
signBytes for impersonated credentials
2020-06-12 05:58:42 +00:00
leot
8efc4baa76 sqlmap: Update to 1.4.6
Unfortunately no changelog is provided by upstream, main changes between 1.4.2
are added support for CrateDB, Cubid, Drizzle, Apache Ignite, Amazon Aurora
forks, InterSystems cache, eXtremeDB.
2020-06-11 20:55:10 +00:00
adam
b46c6b43f2 py-authlib: added version 0.9.1
OAuth often seems complicated and difficult-to-implement. There are several
prominent libraries for handling OAuth requests, but they all suffer from one
or both of the following:

  *  They predate the OAuth 1.0 spec, AKA RFC 5849.
  *  They predate the OAuth 2.0 spec, AKA RFC 6749.
  *  They assume the usage of a specific HTTP request library.

OAuthLib is a generic utility which implements the logic of OAuth without
assuming a specific HTTP request object or web framework. Use it to graft OAuth
client support onto your favorite HTTP library, or provider support onto your
favourite web framework. If you're a maintainer of such a library, write a thin
veneer on top of OAuthLib and get OAuth support for very little effort.
2020-06-11 14:24:49 +00:00
adam
fc0e873211 libgpg-error: updated to 1.38
Noteworthy changes in version 1.38
----------------------------------
 * New option parser features to implement system wide configuration
   files.
 * New functions to build file names.
 * New function to help reallocating arrays.
 * Protect gpgrt_inc_errorcount against counter overflow.
 * Improve cross-building for new platforms.
 * Support 64-bit big-endian MIPS architecture.
 * Support static link for Windows with -lws2_32.
 * Interface changes relative to the 1.37 release:
 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 gpgrt_fnameconcat                NEW.
 gpgrt_absfnameconcat             NEW.
 gpgrt_reallocarray               NEW.
 gpgrt_set_confdir                NEW.
 gpgrt_argparser                  NEW.
 ARGPARSE_FLAG_SYS                NEW.
 ARGPARSE_FLAG_USER               NEW.
 ARGPARSE_FLAG_VERBOSE            NEW.
 ARGPARSE_FLAG_USERVERS           NEW.
 ARGPARSE_FLAG_WITHATTR           NEW.
 ARGPARSE_NO_CONFFILE             NEW.
 ARGPARSE_CONFFILE                NEW.
 ARGPARSE_OPT_CONFFILE            NEW.
 ARGPARSE_ATTR_FORCE              NEW.
 ARGPARSE_ATTR_IGNORE             NEW.
 ARGPARSE_TYPE_MASK               NEW.
 ARGPARSE_PERMISSION_ERROR        NEW.
 ARGPARSE_INVALID_META            NEW.
 ARGPARSE_UNKNOWN_META            NEW.
 ARGPARSE_UNEXPECTED_META         NEW.
 ARGPARSE_conffile                NEW.
 ARGPARSE_noconffile              NEW.
 ARGPARSE_verbatim                NEW.
 ARGPARSE_header                  NEW.
 GPGRT_CONFDIR_USER               NEW.
 GPGRT_CONFDIR_SYS                NEW.
2020-06-11 12:14:54 +00:00
nia
e7deb23981 mbedtls: Update patches. Add links to PRs. 2020-06-11 11:43:50 +00:00
fcambus
ae3383cc76 minisign: fix the build by adding missing build dependency on pkg-config.
Pointed out by mef@, thanks!
2020-06-11 11:10:22 +00:00
he
50d492c47b Commit overlooked distinfo update after the previous addition
of patches.
2020-06-11 09:41:56 +00:00
nia
55d87afb0d Back out gnome-online-accounts, already present in net/
I can update that version...
2020-06-10 19:54:41 +00:00
nia
fe8bf09ca0 gnome-online-accounts: remove reference to wip 2020-06-10 19:50:42 +00:00
nia
a49f4cb06d security: Add gnome-online-accounts
Single sign-on framework for GNOME. It aims to provide a way for users to
setup online accounts to be used by the core system and core applications
only. Calendar entries show up in GNOME Shell, e-mail in Evolution, online
storages are exposed as GVolumes, and so on.
2020-06-10 19:48:26 +00:00
taca
b7a5fab816 security/ruby-net-ssh: update to 6.1.0
Update to ruby-net-ssh 6.1.0.


=== 6.1.0

  * adapt to ssh's default bahaviors when no username is provided.
    When Net::SSH.start user is nil and config has no entry
    we default to Etc.getpwuid.name() instead of Etc.getlogin(). [#749]

=== 6.1.0.rc1

  * Make sha2-{256,512}-etm@openssh.com MAC default again [#761]
  * Support algorithm subtraction syntax from ssh_config [#751]
2020-06-10 14:51:07 +00:00
taca
71572d1bda security/Makefile: ad and enable ruby-openssl-cmac 2020-06-10 14:33:17 +00:00
taca
821ccba918 security/ruby-openssl-cmac: add package version 2.0.1
Add openssl-cmac package version 2.0.1.


Ruby Gem for
* RFC 4493 - The AES-CMAC Algorithm (http://tools.ietf.org/html/rfc4493)
* RFC 4494 - The AES-CMAC-96 Algorithm and Its Use with IPsec
  (http://tools.ietf.org/html/rfc4494)

* RFC 4615 - The Advanced Encryption Standard-Cipher-based Message
  Authentication Code-Pseudo-Random Function-128 (AES-CMAC-PRF-128)
  Algorithm for the Internet Key Exchange Protocol (IKE)
  (http://tools.ietf.org/html/rfc4615)
2020-06-10 14:32:26 +00:00
markd
0a2ab79e7d gpgme: dont accidentally try to build python language bindings 2020-06-10 11:32:06 +00:00
mef
129c0ac7ab (security/py-certbot-*) regen distinfo 2020-06-09 12:47:36 +00:00
markd
29920a1c12 kde: update kde release service to 20.04.1
changes unknown
2020-06-09 11:56:05 +00:00
nia
f332e11838 gnutls: fix detection of build options 2020-06-09 09:53:11 +00:00