Commit Graph

42 Commits

Author SHA256 Message Date
Tomáš Chvátal
c9caa62960 - Version update to 13.0.0:
* #327: In kwallet backend, if the collection or item is
    locked, a ``KeyringLocked`` exception is raised. Clients
    expecting a None response from ``get_password`` under
    this condition will need to catch this exception.
    Additionally, an ``InitError`` is now raised if the
    connection cannot be established to the DBus.
  * #298: In kwallet backend, when checking an existing
    handle, verify that it is still valid or create a new
    connection.
  * Fixed issue in SecretService. Ref #226.
  * #322: Fix AttributeError when ``escape.__builtins__``
    is a dict.
  * Deprecated ``keyring.util.escape`` module. If you use
    this module or encounter the warning (on the latest
    release of your packages), please `file a ticket
    <https://github.com/jaraco/keyring/issues/new>`_.
  * Unpin SecretStorage on Python 3.5+. Requires that
    Setuptools 17.1 be used. Note that the special
    handling will be unnecessary once Pip 9 can be
    assumed (as it will exclude SecretStorage 3 in
    non-viable environments).
  * #310: Keyring now loads all backends through entry
    points.
  * #312: Use ``entrypoints`` instead of pkg_resources to
    avoid performance hit loading pkg_resources. Adds
    a dependency on ``entrypoints``.
  * #294: No longer expose ``keyring.__version__`` (added
    in 8.1) to avoid performance hit loading pkg_resources.
  * #299: Keyring exceptions are now derived from a base

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-keyring?expand=0&rev=65
2018-06-23 07:38:04 +00:00
Tomáš Chvátal
303db75e2a - Fix building in py3 only enviroment
- Remove the test conditional which was always on anyway

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-keyring?expand=0&rev=63
2018-01-24 10:27:56 +00:00
a68c6ed176 Accepting request 546226 from home:mimi_vx:branches:devel:languages:python
- update 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

OBS-URL: https://build.opensuse.org/request/show/546226
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-keyring?expand=0&rev=61
2017-11-28 17:08:29 +00:00
Thomas Bechtold
f4b3a466ce Accepting request 518325 from home:tbechtold:branches:devel:languages:python
- update to 10.4.0:
  * #279: In Kwallet, pass mainloop to SessionBus.
  * #278: Unpin pywin32-ctypes, but blacklist known
    incompatible versions.
  * #278: Pin to pywin32-ctypes 0.0.1 to avoid apparent
    breakage introduced in 0.1.0.

OBS-URL: https://build.opensuse.org/request/show/518325
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-keyring?expand=0&rev=59
2017-08-23 05:22:48 +00:00
Todd R
b9525e7583 Accepting request 492692 from home:TheBlackCat:branches:devel:languages:python
- Implement single-spec version.
- Fix source URL.
- Update to version 10.3.2

OBS-URL: https://build.opensuse.org/request/show/492692
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-keyring?expand=0&rev=57
2017-05-03 16:04:18 +00:00
7de08d7b11 Accepting request 450920 from home:stroeder:branches:devel:languages:python
update to 10.2

requires python-setuptools_scm>=1.15.0, see request #450874

OBS-URL: https://build.opensuse.org/request/show/450920
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-keyring?expand=0&rev=55
2017-01-18 13:46:53 +00:00
Jan Matejek
8f867e864c Accepting request 440041 from home:stroeder:branches:devel:languages:python
update to 10.0.2

OBS-URL: https://build.opensuse.org/request/show/440041
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-keyring?expand=0&rev=53
2016-11-15 15:22:45 +00:00
Thomas Bechtold
101a37dc2c Accepting request 419109 from home:stroeder:branches:devel:languages:python
update to 9.3.1

OBS-URL: https://build.opensuse.org/request/show/419109
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-keyring?expand=0&rev=51
2016-08-15 05:34:30 +00:00
180c2e2ada Accepting request 405489 from home:tbechtold:branches:devel:languages:python
- update to 9.3:
9.3
---
* Pull Request #226: In SecretService backend, unlock
  individual entries.
9.2.1
-----
* Issue #230: Don't rely on dbus-python and instead
  defer to SecretStorage to describe the installation
  requirements.
9.2
---
* Issue #231 via #233: On Linux, ``secretstorage``
  is now a declared dependency, allowing recommended
  keyring to work simply after installation.
9.1
---
* Issue #83 via #229: ``kwallet`` backend now stores
  the service name as a folder name in the backend rather
  than storing all passwords in a Python folder.
- Adjust Requires
- Use pypi.io for Source url

OBS-URL: https://build.opensuse.org/request/show/405489
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-keyring?expand=0&rev=50
2016-07-04 08:17:41 +00:00
0d9b66d728 - require python-setuptools (see bsc#983147)
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-keyring?expand=0&rev=48
2016-06-06 11:21:29 +00:00
eef17d0f59 Accepting request 400053 from home:stroeder:branches:devel:languages:python
require python-setuptools (see #983147)

OBS-URL: https://build.opensuse.org/request/show/400053
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-keyring?expand=0&rev=47
2016-06-06 11:21:02 +00:00
1ca2547ded Accepting request 393936 from home:stroeder:branches:devel:languages:python
update to 9.0

OBS-URL: https://build.opensuse.org/request/show/393936
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-keyring?expand=0&rev=45
2016-05-06 07:29:42 +00:00
f2803dc73d Accepting request 354379 from home:stroeder:branches:devel:languages:python
update to 7.1.2

OBS-URL: https://build.opensuse.org/request/show/354379
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-keyring?expand=0&rev=43
2016-01-25 09:17:25 +00:00
c2093ea544 - Update to version 5.7
- Removed CONTRIBUTORS.txt because not available in upstream
  source anymore.
- dropped patches keyring-import-gi.patch and keyring-gnome-3.18.patch
  because they were obsoleted by fixes in upstream source
5.7
---
* Issue #177: Resolve default keyring name on Gnome using the API.
* Issue #145: Add workaround for password exposure through
  process status for most passwords containing simple
  characters.
5.6
---
* Allow keyring to be invoked from command-line with
  ``python -m keyring``.
5.5.1
-----
* Issue #156: Fixed test failures in ``pyfs`` keyring related to
  0.5 release.
5.5
---
* Pull Request #176: Use recommended mechanism for checking
  GnomeKeyring version.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-keyring?expand=0&rev=41
2015-12-17 13:43:06 +00:00
1843d4087d - drop keyring-import-gi.patch, and update keyring-gnome-3.18.patch,
which introduces the regression

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-keyring?expand=0&rev=40
2015-12-17 12:59:53 +00:00
Denisart Benjamin
c6f3fb5e9f Accepting request 331682 from home:M0ses:branches:devel:languages:python
Added patch to import gi module and added to changes file

OBS-URL: https://build.opensuse.org/request/show/331682
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-keyring?expand=0&rev=38
2015-09-17 11:51:45 +00:00
Denisart Benjamin
fd533b464a Accepting request 329452 from home:dimstar:Factory
- Update to version 5.4:
  + Prefer setuptools_scm to hgtools.
- Replace python-hgtools BuildRequires with python-setuptools_scm,
  following upstreams change back to setuptools_scm.
- Add keyring-gnome-3.18.patch: Silence a warning: on GNOME 3.18,
  it is mandatory to specify the version to be imported.

OBS-URL: https://build.opensuse.org/request/show/329452
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-keyring?expand=0&rev=36
2015-09-07 09:08:34 +00:00
Jan Matejek
546f6bfbb7 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-keyring?expand=0&rev=35 2015-05-18 12:06:20 +00:00
d588bbdd6d Accepting request 304500 from home:mimi_vx:branches:devel:languages:python
- update to version 5.3
+ changed licence to Python-2.0 and MIT
 * Prefer setuptools_scm to hgtools.
 * Version numbering is now derived from the code repository tags via hgtools.
 * Build and install now requires setuptools.
 * The entry point group must look like a module name, so the group is now “keyring.backends”.
 * Added preliminary support for loading keyring backends through setuptools entry points, specifically “keyring backends”.

OBS-URL: https://build.opensuse.org/request/show/304500
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-keyring?expand=0&rev=34
2015-04-29 08:04:52 +00:00
Denisart Benjamin
0b0aac9fe8 Accepting request 260929 from home:MargueriteSu:branches:devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/260929
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-keyring?expand=0&rev=32
2014-11-11 18:18:27 +00:00
Todd R
6d3f3ad271 Accepting request 256238 from home:KGronlund:branches:devel:languages:python
- Update to version 4.0 (boo#901066):
  * 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.
- Changes from version 3.7:
  * 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
    <https://pypi.python.org/pypi/pywin32-ctypes>``_ to pywin32 if available.
- Changes from version 3.6:
  * Gnome keyring no longer relies on the GNOME_KEYRING_CONTROL environment
    variable.
  * Issue #140: Restore compatibility for older versions of PyWin32.
- Switch to pytest since nose doesn't support test fixtures and fails:
  - Add BuildRequires: python-pytest
  - Remove BuildRequires: python-nose

OBS-URL: https://build.opensuse.org/request/show/256238
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-keyring?expand=0&rev=30
2014-10-15 09:19:34 +00:00
19fa91f423 Accepting request 248129 from Cloud:OpenStack:Master
- reduce/fix build requires

OBS-URL: https://build.opensuse.org/request/show/248129
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-keyring?expand=0&rev=28
2014-09-09 09:11:56 +00:00
Sascha Peilicke
e5316fcb58 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-keyring?expand=0&rev=26 2014-03-17 10:21:15 +00:00
Sascha Peilicke
27617e3f00 - Update to version 3.6:
* Add support for packages that wish to bundle keyring by using relative
    imports throughout.
- Changes from version 3.5:
  * Issue #49: Give the backend priorities a 1.5 multiplier bump when an
    XDG_CURRENT_DESKTOP environment variable matches the keyring's target
    environment.
  * 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.
- Changes from version 3.4:
  * 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.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-keyring?expand=0&rev=25
2014-03-17 10:19:46 +00:00
Denisart Benjamin
0e8731f6db Accepting request 209858 from home:posophe:branches:devel:languages:python
- Update to version 3.3
  * KWallet backend will now honor the KDE_FULL_SESSION environment
    variable as found on openSUSE.
- Changes from 3.2.1
  * 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.
    Resolves https://bugs.launchpad.net/bugs/1242412.
- Changes from 3.2
  * Issue #120: Invoke KeyringBackend.priority during load_keyring
    to ensure that any keyring loaded is actually viable (or raises
    an informative exception).
  * 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.
- Changes from 3.1
  * 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.

OBS-URL: https://build.opensuse.org/request/show/209858
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-keyring?expand=0&rev=23
2013-12-08 18:53:19 +00:00
Sascha Peilicke
e60ff2f28a Accepting request 201031 from home:dirkmueller:branches:devel:languages:python
- update to 3.0.5:
  * Simplified the implementation of ``keyring.core.load_keyring``. It now uses
  ``__import__`` instead of loading modules explicitly.
  * Renamed ``keyring.util.platform`` to ``keyring.util.platform_``. 
  * Ensure that modules are actually imported even in Mercurial's Demand Import
  environment.
  * Removed support for Python 2.5.
  * Removed names in ``keyring.backend`` moved in 1.1 and previously retained
  for compatibilty.
  *  GnomeKeyring: fix availability checks, and make sure the warning
  message from pygobject is not printed.
  *  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.

OBS-URL: https://build.opensuse.org/request/show/201031
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-keyring?expand=0&rev=21
2013-09-27 10:44:08 +00:00
Sascha Peilicke
9c853b941b - Update to version 1.6.1:
+ Only include pytest-runner in 'setup requirements' when ptr invocation is
    indicated in the command-line (Issue #105).

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-keyring?expand=0&rev=20
2013-09-04 13:40:44 +00:00
Sascha Peilicke
6239a59d74 Accepting request 183721 from home:dirkmueller:branches:devel:languages:python
- update to 1.6:
  - 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.
  - Use a better label for passwords, the same as GNOME Keyring backend uses.

OBS-URL: https://build.opensuse.org/request/show/183721
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-keyring?expand=0&rev=18
2013-07-22 06:17:23 +00:00
Alexandre Rogoski
bac59a4e59 Accepting request 181903 from home:dirkmueller:branches:devel:languages:python
- update to 1.5:
  * SecretService: allow deleting items created using previous python-keyring versions.
  * Use secretstorage.get_default_collection if it's available.
  * 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
- do not unconditionally recommend python-kde4
- python-gnomekeyring is not needed anymore

OBS-URL: https://build.opensuse.org/request/show/181903
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-keyring?expand=0&rev=16
2013-07-03 15:59:22 +00:00
Sascha Peilicke
2ae9394168 - Recommend both python-gnomekeyring and python-kde4 needed for
Gnome and KDE keyring implementations.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-keyring?expand=0&rev=14
2013-03-22 14:30:45 +00:00
Sascha Peilicke
33202255b6 - Require python-gnomekeyring to have a working keyring on both
Gnome and KDE.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-keyring?expand=0&rev=13
2013-03-22 14:11:29 +00:00
Sascha Peilicke
edb16aae4a - Bring back kde and gnome sub-packages, this time with proper requires
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-keyring?expand=0&rev=12
2013-03-22 14:01:43 +00:00
Sascha Peilicke
00212740b3 - Drop old SUSE checks
- Add python-unittest2 build requirement to make sure the testsuite
  passes on SLE_11_SP2

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-keyring?expand=0&rev=10
2013-02-11 09:21:32 +00:00
Sascha Peilicke
50f28b9f1f Accepting request 155037 from home:posophe:branches:devel:languages:python
update

OBS-URL: https://build.opensuse.org/request/show/155037
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-keyring?expand=0&rev=9
2013-02-11 09:11:42 +00:00
Stephan Kulow
87e59b20ca Accepting request 149314 from devel:languages:python
needed by osc for storing passwords in kwallet/gnome-keyring

OBS-URL: https://build.opensuse.org/request/show/149314
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-keyring?expand=0&rev=1
2013-01-21 16:45:13 +00:00
Sascha Peilicke
13543fe2bc Accepting request 124284 from home:NicoK:branches:devel:languages:python
update to 0.9.1

OBS-URL: https://build.opensuse.org/request/show/124284
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-keyring?expand=0&rev=7
2012-06-11 07:44:13 +00:00
Sascha Peilicke
4173fe89b7 - Disable testsuite on SLE_11_SP2 to fix build
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-keyring?expand=0&rev=6
2012-04-11 18:16:34 +00:00
99f666aaa4 update
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-keyring?expand=0&rev=5
2012-04-03 13:46:39 +00:00
Sascha Peilicke
c63e3f2944 - Spec file cleanup:
* Add proper provides/obsoletes pairs for -gnome and -kde subpackages
  * Removed outdated %clean section
  * Package CONTRIBUTORS.txt
  * Run testsuite
- Update to version 0.7.1:
  * Removed non-ASCII characters from README and CHANGES docs
- Changes from version 0.7:
  * Python 3 is now supported.
  * 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.
  * 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.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-keyring?expand=0&rev=4
2012-02-01 10:55:23 +00:00
Sascha Peilicke
b834b26ac1 Accepting request 80615 from home:adrianSuSE:branches:devel:languages:python
version update

OBS-URL: https://build.opensuse.org/request/show/80615
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-keyring?expand=0&rev=3
2011-09-02 09:21:32 +00:00
Stephan Kulow
b0ba297c74 Accepting request 24258 from openSUSE:Tools
Copy from openSUSE:Tools/python-keyring via accept of submit request 24258 revision 2.
Request was accepted with message:
thanks

OBS-URL: https://build.opensuse.org/request/show/24258
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-keyring?expand=0&rev=2
2009-11-24 16:03:33 +00:00
7c6359dfa9 Accepting request 19976 from home:adrianSuSE
Copy from home:adrianSuSE/python-keyring via accept of submit request 19976 revision 4.

OBS-URL: https://build.opensuse.org/request/show/19976
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-keyring?expand=0&rev=1
2009-09-07 09:09:43 +00:00