The NetBSD Project

CVS log for pkgsrc/security/py-keyring/Makefile

[BACK] Up to [] / pkgsrc / security / py-keyring

Request diff between arbitrary revisions

Default branch: MAIN

Revision 1.32 / (download) - annotate - [select for diffs], Wed Mar 29 09:04:02 2023 UTC (2 months ago) by wiz
Branch: MAIN
Changes since 1.31: +3 -3 lines
Diff to previous 1.31 (colored)

*: use PYTHON_VERSION instead of comparing PYPKGPREFIX

Revision 1.31 / (download) - annotate - [select for diffs], Sun Mar 12 13:58:25 2023 UTC (2 months, 2 weeks ago) by wiz
Branch: MAIN
CVS Tags: pkgsrc-2023Q1-base, pkgsrc-2023Q1
Changes since 1.30: +15 -2 lines
Diff to previous 1.30 (colored)

py-keyring: add some dependencies, following its setup.cfg


Revision 1.30 / (download) - annotate - [select for diffs], Fri Mar 10 17:00:55 2023 UTC (2 months, 2 weeks ago) by adam
Branch: MAIN
Changes since 1.29: +12 -18 lines
Diff to previous 1.29 (colored)

py-keyring: updated to 23.13.1

* Fixed failure in macOS backend when attempting to set a
  password after previously setting a blank password, including a
  test applying to all backends.

* Added support for tab completion on the ``keyring`` command
  if the ``completion`` extra is installed (``keyring[completion]``).

* Prevent installation of ``pywin32-ctypes 0.1.2`` with broken
  ``use2to3`` directive.

* Removed PSF license as it was unused and confusing. Project
  remains MIT licensed as always.

* In ``libsecret``, check that the service is available before
  declaring viability.

* Bump requirement on ``importlib_metadata`` to pull in fix for
  improperly-normalized names on egg-info.

* Add workaround for devpi_client hook with wrapped implementation.

* Fixed wrong name in compatibility logic for ``properties``
  (masked by the compatibility fallback).

* Restore ```` with deprecation warning for
  backward compatibility.

* Project now depends on ``jaraco.classes`` for class property support.

* Corrected regression in ``libsecret`` tests (``.collection`` property).

* Fix regression in ``libsecret``.

* ``SecretService`` and ``libsecret`` backends now support a
  new ``SelectableScheme``, allowing the keys for "username" and
  "service" to be overridden for compatibility with other schemes
  such as KeePassXC.

* Introduced a new ``.with_properties`` method on backends to
  produce a new keyring with different properties. Use for example
  to get a keyring with a different ``keychain`` (macOS) or
  ``scheme`` (SecretService/libsecret). e.g.::

    keypass = keyring.get_keyring().with_properties(scheme='KeePassXC')

* ``.with_keychain`` method on macOS is superseded by ``.with_properties``
  and so is now deprecated.

* Suppress KeyringErrors for devpi client.

* Only require ``importlib_metadata`` on older Pythons.
* Add ``.with_keychain`` method on macOS for easy reference
  to alternate keychains.

* The correct config root is now used on Windows.

* Require Python 3.7 or later.

* Fixed docs warnings.

* EnvironCredential now allows for equality

* macOS backend is no longer viable if the API module
  cannot be loaded. Prevents "symbol not found" errors on
  macOS 11 (Big Sur) and later when a "universal2" binary
  is not used (available for Python 3.8.7 and later).

* Tests no longer attempt to run macOS backends even
  on macOS when the backend is non-viable.

* Change get_credential to return generic Credential.

* In libsecret tests, use a session collection to
  allow tests to pass on Debian.

* Add libsecret backend.

* macOS backend APIs updated to newer, non-legacy

* Better error with invalid parameter to init_keyring.
* Nicer documentation for headless Docker.

* Backends now all invoke ``set_properties_from_env`` on
  self in the initializer. Derived backends should be sure
  to invoke ``super().__init__()``.

Revision 1.29 / (download) - annotate - [select for diffs], Wed Jan 5 15:41:20 2022 UTC (16 months, 3 weeks ago) by wiz
Branch: MAIN
CVS Tags: pkgsrc-2022Q4-base, pkgsrc-2022Q4, pkgsrc-2022Q3-base, pkgsrc-2022Q3, pkgsrc-2022Q2-base, pkgsrc-2022Q2, pkgsrc-2022Q1-base, pkgsrc-2022Q1
Changes since 1.28: +4 -2 lines
Diff to previous 1.28 (colored)

python: add USE_PKG_RESOURCES flag

This flag should be set for packages that import pkg_resources
and thus need setuptools after the build step.

Set this flag for packages that need it and bump PKGREVISION.

Revision 1.28 / (download) - annotate - [select for diffs], Tue Jan 4 20:54:42 2022 UTC (16 months, 3 weeks ago) by wiz
Branch: MAIN
Changes since 1.27: +2 -1 lines
Diff to previous 1.27 (colored)

*: bump PKGREVISION for users

They now have a tool dependency on py-setuptools instead of a DEPENDS

Revision 1.27 / (download) - annotate - [select for diffs], Tue May 26 22:27:26 2020 UTC (3 years ago) by adam
Branch: MAIN
CVS Tags: pkgsrc-2021Q4-base, pkgsrc-2021Q4, pkgsrc-2021Q3-base, pkgsrc-2021Q3, pkgsrc-2021Q2-base, pkgsrc-2021Q2, pkgsrc-2021Q1-base, pkgsrc-2021Q1, pkgsrc-2020Q4-base, pkgsrc-2020Q4, pkgsrc-2020Q3-base, pkgsrc-2020Q3, pkgsrc-2020Q2-base, pkgsrc-2020Q2
Changes since 1.26: +3 -3 lines
Diff to previous 1.26 (colored)


Revision 1.26 / (download) - annotate - [select for diffs], Sun May 17 19:57:22 2020 UTC (3 years ago) by adam
Branch: MAIN
Changes since 1.25: +14 -6 lines
Diff to previous 1.25 (colored)

py-keyright: updated to 21.2.1

* Restored lenience on startup when entry point
  metadata is missing.
* Avoid RecursionError when initializing backends
  when a limit is supplied.

* Chainer now deterministically resolves at a lower
  priority than the Fail keyring (when there are no backends
  to chain).
* Fail keyring now raises a ``NoKeyringError`` for
  easier selectability.
* Keyring now logs at DEBUG rather than INFO during
  backend startup.

* Refreshed package metadata.

* In SecretService backend, close connections after
  using them.

* Require Python 3.6 or later.

* Fix TypeError when backend fails to initialize.

* Extracted ``keyring.testing`` package to contain supporting
  functionality for plugin backends. ``keyring.tests`` has been
  removed from the package.

* Switch to `importlib.metadata
  for loading entry points. Removes one dependency on Python 3.8.
* Added new ``KeyringBackend.set_properties_from_env``.
* Add support for alternate persistence scopes for Windows
  backend. Set ``.persist`` to "local machine" or "session"
  to enable the alternate scopes or "enterprise" to use the
  default scope.
* Improve import times when a backend is specifically
  configured by lazily calling ``get_all_keyring``.

Revision 1.25 / (download) - annotate - [select for diffs], Wed Sep 25 13:06:12 2019 UTC (3 years, 8 months ago) by adam
Branch: MAIN
CVS Tags: pkgsrc-2020Q1-base, pkgsrc-2020Q1, pkgsrc-2019Q4-base, pkgsrc-2019Q4, pkgsrc-2019Q3-base, pkgsrc-2019Q3
Changes since 1.24: +3 -1 lines
Diff to previous 1.24 (colored)

py-keyring: mark as incompatible with Python 2.7

Revision 1.24 / (download) - annotate - [select for diffs], Fri Sep 20 16:39:31 2019 UTC (3 years, 8 months ago) by adam
Branch: MAIN
Changes since 1.23: +2 -2 lines
Diff to previous 1.23 (colored)

py-keyring: updated to 19.2.0

* Add support for get_credential() with the SecretService backend

Revision 1.23 / (download) - annotate - [select for diffs], Mon Sep 2 10:20:57 2019 UTC (3 years, 8 months ago) by adam
Branch: MAIN
Changes since 1.22: +3 -3 lines
Diff to previous 1.22 (colored)

py-keyring: updated to 19.1.0

* macOS Keyring now honors a ``KEYCHAIN_PATH``
  environment variable. If set, Keyring will use that
  keychain instead of the default.

* Refresh package skeleton.
* Adopt `black <>`_ code style.

* Merge with 18.0.1.

* ExceptionInfo no longer retains a reference to the

Revision 1.22 / (download) - annotate - [select for diffs], Wed Feb 27 13:27:22 2019 UTC (4 years, 3 months ago) by adam
Branch: MAIN
CVS Tags: pkgsrc-2019Q2-base, pkgsrc-2019Q2, pkgsrc-2019Q1-base, pkgsrc-2019Q1
Changes since 1.21: +7 -5 lines
Diff to previous 1.21 (colored)

py-keyring: updated to 18.0.0

* On macOS, the backend now raises a KeyringLocked
  when access to the keyring is denied (on get or set) instead
  of PasswordSetError or KeyringError. Any API users
  may need to account for this change, probably by catching
  the parent KeyringError.
  Additionally, the error message from the underying error is
  now included in any errors that occur.

* Update packaging technique to avoid 0.0.0 releases.

* When calling keyring.core.init_backend, if any
  limit function is supplied, it is saved and later honored by
  the ChainerBackend as well.

* Remove application attribute from stored passwords
  using SecretService, addressing regression introduced in
  10.5.0. Impacted Linux keyrings will once again
  prompt for a password for "Python program".

* Fix error on import due to circular imports
  on Python 3.4.

* Refactor ChainerBackend, introduced in 16.0 to function
  as any other backend, activating when relevant.

* In Windows backend, trap all exceptions when
  attempting to import pywin32.

* Once again allow all positive, non-zero priority
  keyrings to participate.

* Fix race condition in delete_password on Windows.
* All suitable backends (priority 1 and greater) are
  allowed to participate.

* Added new API for get_credentials, for backends
  that can resolve both a username and password for a service.

* Add the Null keyring, disabled by default.
* Added --disable option to command-line
  environment variable to select a backend. Environments
  may set to keyring.backends.null.Keyring to disable

Revision 1.21 / (download) - annotate - [select for diffs], Thu Dec 21 14:06:32 2017 UTC (5 years, 5 months ago) by adam
Branch: MAIN
CVS Tags: pkgsrc-2018Q4-base, pkgsrc-2018Q4, pkgsrc-2018Q3-base, pkgsrc-2018Q3, pkgsrc-2018Q2-base, pkgsrc-2018Q2, pkgsrc-2018Q1-base, pkgsrc-2018Q1, pkgsrc-2017Q4-base, pkgsrc-2017Q4
Changes since 1.20: +2 -2 lines
Diff to previous 1.20 (colored)

py-keyring: updated to 10.5.1

Prevent AttributeError on import when Debian has created broken dbus installs.

Revision 1.20 / (download) - annotate - [select for diffs], Mon Nov 27 13:05:44 2017 UTC (5 years, 6 months ago) by adam
Branch: MAIN
Changes since 1.19: +4 -2 lines
Diff to previous 1.19 (colored)

py-keyring: updated to 10.5.0

* Added ``--list-backends`` option to command-line interface.
* Removed ``logger`` from ``keyring``.
* Set the appid for SecretService & KWallet to something meaningful.

Revision 1.19 / (download) - annotate - [select for diffs], Wed Oct 18 07:22:53 2017 UTC (5 years, 7 months ago) by adam
Branch: MAIN
Changes since 1.18: +8 -8 lines
Diff to previous 1.18 (colored)

py-keyring: update to 10.4.0

In Kwallet, pass mainloop to SessionBus.
Unpin pywin32-ctypes, but blacklist known incompatible versions.

Revision 1.18 / (download) - annotate - [select for diffs], Tue Jan 3 13:23:03 2017 UTC (6 years, 4 months ago) by jperkin
Branch: MAIN
CVS Tags: pkgsrc-2017Q3-base, pkgsrc-2017Q3, pkgsrc-2017Q2-base, pkgsrc-2017Q2, pkgsrc-2017Q1-base, pkgsrc-2017Q1
Changes since 1.17: +2 -2 lines
Diff to previous 1.17 (colored)

Use "${MV} || ${TRUE}" and "${RM} -f" consistently in post-install targets.

Revision 1.17 / (download) - annotate - [select for diffs], Sun Aug 28 15:48:34 2016 UTC (6 years, 9 months ago) by wiz
Branch: MAIN
CVS Tags: pkgsrc-2016Q4-base, pkgsrc-2016Q4, pkgsrc-2016Q3-base, pkgsrc-2016Q3
Changes since 1.16: +1 -3 lines
Diff to previous 1.16 (colored)

Remove unnecessary PLIST_SUBST and FILES_SUBST that are now provided
by the infrastructure.

Mark a couple more packages as not ready for python-3.x.

Revision 1.16 / (download) - annotate - [select for diffs], Wed Jun 8 17:43:38 2016 UTC (6 years, 11 months ago) by wiz
Branch: MAIN
CVS Tags: pkgsrc-2016Q2-base, pkgsrc-2016Q2
Changes since 1.15: +2 -2 lines
Diff to previous 1.15 (colored)


Revision 1.15 / (download) - annotate - [select for diffs], Sat May 21 05:38:40 2016 UTC (7 years ago) by richard
Branch: MAIN
Changes since 1.14: +1 -4 lines
Diff to previous 1.14 (colored)

post-extract chmod no longer necessary

Revision 1.14 / (download) - annotate - [select for diffs], Fri Dec 11 11:36:44 2015 UTC (7 years, 5 months ago) by wiz
Branch: MAIN
CVS Tags: pkgsrc-2016Q1-base, pkgsrc-2016Q1, pkgsrc-2015Q4-base, pkgsrc-2015Q4
Changes since 1.13: +3 -1 lines
Diff to previous 1.13 (colored)


Revision 1.13 / (download) - annotate - [select for diffs], Sun May 24 06:27:00 2015 UTC (8 years ago) by richard
Branch: MAIN
CVS Tags: pkgsrc-2015Q3-base, pkgsrc-2015Q3, pkgsrc-2015Q2-base, pkgsrc-2015Q2
Changes since 1.12: +4 -1 lines
Diff to previous 1.12 (colored)

avoid install time 'world-writable file' errors

Revision 1.12 / (download) - annotate - [select for diffs], Sun Mar 1 15:09:07 2015 UTC (8 years, 3 months ago) by wiz
Branch: MAIN
CVS Tags: pkgsrc-2015Q1-base, pkgsrc-2015Q1
Changes since 1.11: +2 -2 lines
Diff to previous 1.11 (colored)

Update to 5.3:


* Prefer setuptools_scm to hgtools.


* Host project at Github (`repo <>`_).

Revision 1.11 / (download) - annotate - [select for diffs], Mon Feb 9 18:55:45 2015 UTC (8 years, 3 months ago) by wiz
Branch: MAIN
Changes since 1.10: +3 -1 lines
Diff to previous 1.10 (colored)

Add a build dependency on py-hgtools.
Seems to be needed, at least sometimes.

Revision 1.10 / (download) - annotate - [select for diffs], Sun Feb 8 16:38:18 2015 UTC (8 years, 3 months ago) by wiz
Branch: MAIN
Changes since 1.9: +2 -2 lines
Diff to previous 1.9 (colored)

Update to 5.0:


* Version numbering is now derived from the code repository tags via `hgtools
* Build and install now requires setuptools.

Revision 1.9 / (download) - annotate - [select for diffs], Sun Feb 1 19:51:37 2015 UTC (8 years, 3 months ago) by wiz
Branch: MAIN
Changes since 1.8: +2 -3 lines
Diff to previous 1.8 (colored)

Update to 4.1:


* Added preliminary support for loading keyring backends through ``setuptools
  entry points``, specifically "keyring backends".

Revision 1.8 / (download) - annotate - [select for diffs], Sun Jan 11 20:59:56 2015 UTC (8 years, 4 months ago) by wiz
Branch: MAIN
Changes since 1.7: +7 -2 lines
Diff to previous 1.7 (colored)

Convert to Rename additionally installed file so that multiple
python versions' packages don't conflict. Add ALTERNATIVES file.

Revision 1.7 / (download) - annotate - [select for diffs], Tue Aug 5 19:22:42 2014 UTC (8 years, 9 months ago) by wiz
Branch: MAIN
CVS Tags: pkgsrc-2014Q4-base, pkgsrc-2014Q4, pkgsrc-2014Q3-base, pkgsrc-2014Q3
Changes since 1.6: +2 -2 lines
Diff to previous 1.6 (colored)

Update to 4.0:


* Removed ``keyring_path`` parameter from ``load_keyring``. See release notes
  for 3.0.3 for more details.
* Issue #22: Removed support for loading the config from the current
  directory. The config file must now be located in the platform-specific
  config location.

Revision 1.6 / (download) - annotate - [select for diffs], Fri Jun 6 12:35:12 2014 UTC (8 years, 11 months ago) by wiz
Branch: MAIN
CVS Tags: pkgsrc-2014Q2-base, pkgsrc-2014Q2
Changes since 1.5: +2 -2 lines
Diff to previous 1.5 (colored)

Update to 3.8:


* Issue #22: Deprecated loading of config from current directory. Support for
  loading the config in this manner will be removed in a future version.
* Issue #131: Keyring now will prefer ``pywin32-ctypes
  <>``_ to pywin32 if available.

Revision 1.5 / (download) - annotate - [select for diffs], Mon Mar 31 08:29:11 2014 UTC (9 years, 2 months ago) by wiz
Branch: MAIN
Changes since 1.4: +7 -6 lines
Diff to previous 1.4 (colored)

Update to 3.7:


* Gnome keyring no longer relies on the GNOME_KEYRING_CONTROL environment
* Issue #140: Restore compatibility for older versions of PyWin32.


* `Pull Request #1 (github) <>`_:
  Add support for packages that wish to bundle keyring by using relative
  imports throughout.


* Issue #49: Give the backend priorities a 1.5 multiplier bump when an
  XDG_CURRENT_DESKTOP environment variable matches the keyring's target
* Issue #99: Clarified documentation on location of config and data files.
  Prepared the code base to treat the two differently on Unix-based systems.
  For now, the behavior is unchanged.


* Extracted FileBacked and Encrypted base classes.
* Add a pyinstaller hook to expose backend modules. Ref #124
* Pull request #41: Use errno module instead of hardcoding error codes.
* SecretService backend: correctly handle cases when user dismissed
  the collection creation or unlock prompt.


* Pull request #40: KWallet backend will now honor the ``KDE_FULL_SESSION``
  environment variable as found on openSUSE.


* SecretService backend: use a different function to check that the
  backend is functional. The default collection may not exist, but
  the collection will remain usable in that case.

  Also, make the error message more verbose.



* Issue #120: Invoke KeyringBackend.priority during load_keyring to ensure
  that any keyring loaded is actually viable (or raises an informative

* File keyring:

   - Issue #123: fix removing items.
   - Correctly escape item name when removing.
   - Use with statement when working with files.

* Add a test for removing one item in group.

* Issue #81: Added experimental support for third-party backends. See
  `keyring.core._load_library_extensions` for information on supplying
  a third-party backend.


* All code now runs natively on both Python 2 and Python 3, no 2to3 conversion
  is required.
* Testsuite: clean up, and make more use of unittest2 methods.


* Issue #114: Fix logic in pyfs detection.


* Issue #114: Fix detection of pyfs under Mercurial Demand Import.


* Simplified the implementation of ``keyring.core.load_keyring``. It now uses
  ``__import__`` instead of loading modules explicitly. The ``keyring_path``
  parameter to ``load_keyring`` is now deprecated. Callers should instead
  ensure their module is available on ``sys.path`` before calling
  ``load_keyring``. Keyring still honors ``keyring-path``. This change fixes
  Issue #113 in which the explicit module loading of keyring modules was
  breaking package-relative imports.


* Renamed ``keyring.util.platform`` to ``keyring.util.platform_``. As reported
  in Issue #112 and `mercurial_keyring #31
  <>`_ and in `Mercurial
  itself <>`_, Mercurial's Demand
  Import does not honor ``absolute_import`` directives, so it's not possible
  to have a module with the same name as another top-level module. A patch is
  in place to fix this issue upstream, but to support older Mercurial
  versions, this patch will remain for some time.


* Ensure that modules are actually imported even in Mercurial's Demand Import


* Removed support for Python 2.5.
* Removed names in ``keyring.backend`` moved in 1.1 and previously retained
  for compatibilty.


* Restored Python 2.5 compatibility (lost in 2.0).


*  Issue #10: Added a 'store' attribute to the OS X Keyring, enabling custom
   instances of the KeyringBackend to use another store, such as the
   'internet' store. For example::

       keys = keyring.backends.OS_X.Keyring() = 'internet'
       keys.set_password(system, user, password)
       keys.get_password(system, user)

   The default for all instances can be set in the class:: = 'internet'

*  GnomeKeyring: fix availability checks, and make sure the warning
   message from pygobject is not printed.

*  Fixes to GnomeKeyring and SecretService tests.


*  Issue #112: Backend viability/priority checks now are more aggressive about
   module presence checking, requesting ``__name__`` from imported modules to
   force the demand importer to actually attempt the import.


*  Issue #111: Windows backend isn't viable on non-Windows platforms.


*  Issue #110: Fix issues with ``Windows.RegistryKeyring``.


*  Issue #80: Prioritized backend support. The primary interface for Keyring
   backend classes has been refactored to now emit a 'priority' based on the
   current environment (operating system, libraries available, etc). These
   priorities provide an indication of the applicability of that backend for
   the current environment. Users are still welcome to specify a particular
   backend in configuration, but the default behavior should now be to select
   the most appropriate backend by default.


* Only include pytest-runner in 'setup requirements' when ptr invocation is
  indicated in the command-line (Issue #105).


*  GNOME Keyring backend:

   - Use the same attributes (``username`` / ``service``) as the SecretService
     backend uses, allow searching for old ones for compatibility.
   - Also set ``application`` attribute.
   - Correctly handle all types of errors, not only ``CANCELLED`` and ``NO_MATCH``.
   - Avoid printing warnings to stderr when GnomeKeyring is not available.

* Secret Service backend:

   - Use a better label for passwords, the same as GNOME Keyring backend uses.


*  SecretService: allow deleting items created using previous python-keyring

   Before the switch to secretstorage, python-keyring didn't set "application"
   attribute. Now in addition to supporting searching for items without that
   attribute, python-keyring also supports deleting them.

*  Use ``secretstorage.get_default_collection`` if it's available.

   On secretstorage 1.0 or later, python-keyring now tries to create the
   default collection if it doesn't exist, instead of just raising the error.

*  Improvements for tests, including fix for Issue #102.


* Switch GnomeKeyring backend to use native libgnome-keyring via
  GObject Introspection, not the obsolete python-gnomekeyring module.


* Use the `SecretStorage library <>`_
  to implement the Secret Service backend (instead of using dbus directly).
  Now the keyring supports prompting for and deleting passwords. Fixes #69,
  #77, and #93.
* Catch `gnomekeyring.IOError` per the issue `reported in Nova client
* Issue #92 Added support for delete_password on Mac OS X Keychain.


* Fix for Encrypted File backend on Python 3.
* Issue #97 Improved support for PyPy.


* Fixed handling situations when user cancels kwallet dialog or denies access
  for the app.


* Fix for kwallet delete.
* Fix for OS X backend on Python 3.
* Issue #84: Fix for Google backend on Python 3 (use of raw_input not caught
  by 2to3).


* Implemented delete_password on most keyrings. Keyring 2.0 will require
  delete_password to implement a Keyring. Fixes #79.


* Issue #78: pyfilesystem backend now works on Windows.


* Fixed so .rst files are included.


This is the last build that will support installation in a pure-distutils
mode. Subsequent releases will require setuptools/distribute to install.
Python 3 installs have always had this requirement (for 2to3 install support),
but starting with the next minor release (1.2+), setuptools will be required.

Additionally, this release has made some substantial refactoring in an
attempt to modularize the backends. An attempt has been made to maintain 100%
backward-compatibility, although if your library does anything fancy with
module structure or clasess, some tweaking may be necessary. The
backward-compatible references will be removed in 2.0, so the 1.1+ releases
represent a transitional implementation which should work with both legacy
and updated module structure.

* Added a console-script 'keyring' invoking the command-line interface.
* Deprecated _ExtensionKeyring.
* Moved PasswordSetError and InitError to an `errors` module (references kept
  for backward-compatibility).
* Moved concrete backend implementations into their own modules (references
  kept for backward compatibility):

  - OSXKeychain -> backends.OS_X.Keyring
  - GnomeKeyring -> backends.Gnome.Keyring
  - SecretServiceKeyring -> backends.SecretService.Keyring
  - KDEKWallet -> backends.kwallet.Keyring
  - BasicFileKeyring -> backends.file.BaseKeyring
  - CryptedFileKeyring -> backends.file.EncryptedKeyring
  - UncryptedFileKeyring -> backends.file.PlaintextKeyring
  - Win32CryptoKeyring -> backends.Windows.EncryptedKeyring
  - WinVaultKeyring -> backends.Windows.WinVaultKeyring
  - Win32CryptoRegistry -> backends.Windows.RegistryKeyring
  - select_windows_backend -> backends.Windows.select_windows_backend
  - GoogleDocsKeyring -> backends.Google.DocsKeyring
  - Credential -> keyring.credentials.Credential
  - BaseCredential -> keyring.credentials.SimpleCredential
  - EnvironCredential -> keyring.credentials.EnvironCredential
  - GoogleEnvironCredential -> backends.Google.EnvironCredential
  - BaseKeyczarCrypter -> backends.keyczar.BaseCrypter
  - KeyczarCrypter -> backends.keyczar.Crypter
  - EnvironKeyczarCrypter -> backends.keyczar.EnvironCrypter
  - EnvironGoogleDocsKeyring -> backends.Google.KeyczarDocsKeyring
  - BasicPyfilesystemKeyring -> backends.pyfs.BasicKeyring
  - UnencryptedPyfilesystemKeyring -> backends.pyfs.PlaintextKeyring
  - EncryptedPyfilesystemKeyring -> backends.pyfs.EncryptedKeyring
  - EnvironEncryptedPyfilesystemKeyring -> backends.pyfs.KeyczarKeyring
  - MultipartKeyringWrapper -> backends.multi.MultipartKeyringWrapper

* Officially require Python 2.5 or greater (although unofficially, this
  requirement has been in place since 0.10).


This backward-incompatible release attempts to remove some cruft from the
codebase that's accumulated over the versions.

* Removed legacy file relocation support. `keyring` no longer supports loading
  configuration or file-based backends from ~. If upgrading from 0.8 or later,
  the files should already have been migrated to their new proper locations.
  If upgrading from 0.7.x or earlier, the files will have to be migrated
* Removed CryptedFileKeyring migration support. To maintain an existing
  CryptedFileKeyring, one must first upgrade to 0.9.2 or later and access the
  keyring before upgrading to 1.0 to retain the existing keyring.
* File System backends now create files without group and world permissions.
  Fixes #67.


* Merged 0.9.3 to include fix for #75.


* Add support for using `Keyczar <>`_ to encrypt
  keyrings. Keyczar is "an open source cryptographic toolkit designed to make
  it easier and safer for developers to use cryptography in their
* Added support for storing keyrings on Google Docs or any other filesystem
  supported by pyfilesystem.
* Fixed issue in Gnome Keyring when unicode is passed as the service name,
  username, or password.
* Tweaked SecretService code to pass unicode to DBus, as unicode is the
  preferred format.
* Issue #71 - Fixed logic in CryptedFileKeyring.
* Unencrypted keyring file will be saved with user read/write (and not group
  or world read/write).


* Ensure migration is run when get_password is called. Fixes #75. Thanks to
  Marc Deslauriers for reporting the bug and supplying the patch.


* Keyring 0.9.1 introduced a whole different storage format for the
  CryptedFileKeyring, but this introduced some potential compatibility issues.
  This release incorporates the security updates but reverts to the INI file
  format for storage, only encrypting the passwords and leaving the service
  and usernames in plaintext. Subsequent releases may incorporate a new
  keyring to implement a whole-file encrypted version. Fixes #64.
* The CryptedFileKeyring now requires simplejson for Python 2.5 clients.


* Fix for issue where SecretServiceBackend.set_password would raise a
  UnicodeError on Python 3 or when a unicode password was provided on Python
* CryptedFileKeyring now uses PBKDF2 to derive the key from the user's
  password and a random hash. The IV is chosen randomly as well. All the
  stored passwords are encrypted at once. Any keyrings using the old format
  will be automatically converted to the new format (but will no longer be
  compatible with 0.9 and earlier). The user's password is no longer limited
  to 32 characters. PyCrypto 2.5 or greater is now required for this keyring.


* Add support for GTK 3 and secret service D-Bus. Fixes #52.
* Issue #60 - Use correct method for decoding.


* Fix regression in keyring lib on Windows XP where the LOCALAPPDATA
  environment variable is not present.


* Mac OS X keyring backend now uses subprocess calls to the `security`
  command instead of calling the API, which with the latest updates, no
  longer allows Python to invoke from a virtualenv. Fixes issue #13.
* When using file-based storage, the keyring files are no longer stored
  in the user's home directory, but are instead stored in platform-friendly
  locations (`%localappdata%\Python Keyring` on Windows and according to
  the Base Dir Specification
  (`$XDG_DATA_HOME/python_keyring` or `$HOME/.local/share/python_keyring`)
  on other operating systems). This fixes #21.

*Backward Compatibility Notice*

Due to the new storage location for file-based keyrings, keyring 0.8
supports backward compatibility by automatically moving the password
files to the updated location. In general, users can upgrade to 0.8 and
continue to operate normally. Any applications that customize the storage
location or make assumptions about the storage location will need to take
this change into consideration. Additionally, after upgrading to 0.8,
it is not possible to downgrade to 0.7 without manually moving
configuration files. In 1.0, the backward compatibilty
will be removed.


* Removed non-ASCII characters from README and CHANGES docs (required by
  distutils if we're to include them in the long_description). Fixes #55.


* Python 3 is now supported. All tests now pass under Python 3.2 on
  Windows and Linux (although Linux backend support is limited). Fixes #28.
* Extension modules on Mac and Windows replaced by pure-Python ctypes
  implementations. Thanks to Jerome Laheurte.
* WinVaultKeyring now supports multiple passwords for the same service. Fixes
* Most of the tests don't require user interaction anymore.
* Entries stored in Gnome Keyring appears now with a meaningful name if you try
  to browser your keyring (for ex. with Seahorse)
* Tests from Gnome Keyring no longer pollute the user own keyring.
* `keyring.util.escape` now accepts only unicode strings. Don't try to encode
  strings passed to it.


* fix compiling on OSX with XCode 4.0


* Gnome keyring should not be used if there is no DISPLAY or if the dbus is
  not around (


* Added `keyring.http` for facilitating HTTP Auth using keyring.

* Add a utility to access the keyring from the command line.

Revision 1.4 / (download) - annotate - [select for diffs], Wed Mar 26 10:28:49 2014 UTC (9 years, 2 months ago) by wiz
Branch: MAIN
CVS Tags: pkgsrc-2014Q1-base, pkgsrc-2014Q1
Changes since 1.3: +2 -2 lines
Diff to previous 1.3 (colored)


Revision 1.3 / (download) - annotate - [select for diffs], Sat Jan 25 10:30:20 2014 UTC (9 years, 4 months ago) by wiz
Branch: MAIN
Changes since 1.2: +2 -2 lines
Diff to previous 1.2 (colored)

Mark packages as not ready for python-3.x where applicable;
either because they themselves are not ready or because a
dependency isn't. This is annotated by
PYTHON_VERSIONS_INCOMPATIBLE=  33 # not yet ported as of x.y.z
respectively, please use the same style for other packages,
and check during updates.

Use where applicable.
Use REPLACE_PYTHON instead of handcoded alternatives, where applicable.
Reorder Makefile sections into standard order, where applicable.

Remove PYTHON_VERSIONS_INCLUDE_3X lines since that will be default
with the next commit.

Whitespace cleanups and other nits corrected, where necessary.

Revision 1.2 / (download) - annotate - [select for diffs], Tue Oct 23 18:16:53 2012 UTC (10 years, 7 months ago) by asau
Branch: MAIN
CVS Tags: pkgsrc-2013Q4-base, pkgsrc-2013Q4, pkgsrc-2013Q3-base, pkgsrc-2013Q3, pkgsrc-2013Q2-base, pkgsrc-2013Q2, pkgsrc-2013Q1-base, pkgsrc-2013Q1, pkgsrc-2012Q4-base, pkgsrc-2012Q4
Changes since 1.1: +1 -3 lines
Diff to previous 1.1 (colored)

Drop superfluous PKG_DESTDIR_SUPPORT, "user-destdir" is default these days.

Revision / (download) - annotate - [select for diffs] (vendor branch), Thu Apr 14 17:27:04 2011 UTC (12 years, 1 month ago) by drochner
Branch: TNF
CVS Tags: pkgsrc-base, pkgsrc-2012Q3-base, pkgsrc-2012Q3, pkgsrc-2012Q2-base, pkgsrc-2012Q2, pkgsrc-2012Q1-base, pkgsrc-2012Q1, pkgsrc-2011Q4-base, pkgsrc-2011Q4, pkgsrc-2011Q3-base, pkgsrc-2011Q3, pkgsrc-2011Q2-base, pkgsrc-2011Q2
Changes since 1.1: +0 -0 lines
Diff to previous 1.1 (colored)

add py-keyring-0.5.1, from Kamel Derouiche per pkgsrc-wip

Revision 1.1 / (download) - annotate - [select for diffs], Thu Apr 14 17:27:04 2011 UTC (12 years, 1 month ago) by drochner
Branch: MAIN

Initial revision

This form allows you to request diff's between any two revisions of a file. You may select a symbolic revision name using the selection box or you may type in a numeric name using the type-in text box.

CVSweb <>