Compare commits
3 commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
d677e14842 | ||
|
|
8238682fb4 | ||
|
|
c1d943990b |
9 changed files with 1 additions and 219 deletions
9
.gitignore
vendored
9
.gitignore
vendored
|
|
@ -1,9 +0,0 @@
|
|||
/secrets-6.5.tar.bz2
|
||||
/secrets-7.0.tar.bz2
|
||||
/secrets-7.1.tar.bz2
|
||||
/secrets-7.2.tar.bz2
|
||||
/secrets-7.3.tar.bz2
|
||||
/secrets-8.0.tar.bz2
|
||||
/secrets-9.3.tar.bz2
|
||||
/secrets-9.5.tar.bz2
|
||||
/secrets-9.6.tar.bz2
|
||||
27
.packit.yaml
27
.packit.yaml
|
|
@ -1,27 +0,0 @@
|
|||
copy_upstream_release_description: false
|
||||
# downstream_package_name: foo # not mandatory
|
||||
# upstream_package_name: Foo # not mandatory
|
||||
upstream_project_url: https://gitlab.gnome.org/World/secrets
|
||||
# upstream_tag_template: v{version}
|
||||
|
||||
jobs:
|
||||
- job: pull_from_upstream
|
||||
trigger: release
|
||||
dist_git_branches:
|
||||
- fedora-rawhide
|
||||
# - fedora-development
|
||||
# - fedora-all
|
||||
|
||||
- job: koji_build
|
||||
trigger: commit
|
||||
allowed_pr_authors: ["packit", "atim"]
|
||||
allowed_committers: ["packit", "atim"]
|
||||
dist_git_branches:
|
||||
- fedora-all
|
||||
# - epel-9
|
||||
|
||||
- job: bodhi_update
|
||||
trigger: commit
|
||||
dist_git_branches:
|
||||
- fedora-branched
|
||||
# - epel-9
|
||||
|
|
@ -1,41 +0,0 @@
|
|||
From 861e97445a11fcabe588b88b953be5350c6899f8 Mon Sep 17 00:00:00 2001
|
||||
From: Maximiliano Sandoval <msandova@gnome.org>
|
||||
Date: Sat, 6 Apr 2024 11:41:39 +0200
|
||||
Subject: [PATCH] Open borked databases
|
||||
|
||||
---
|
||||
gsecrets/database_manager.py | 8 +++++++-
|
||||
1 file changed, 7 insertions(+), 1 deletion(-)
|
||||
|
||||
diff --git a/gsecrets/database_manager.py b/gsecrets/database_manager.py
|
||||
index af2d2658..06ac9def 100644
|
||||
--- a/gsecrets/database_manager.py
|
||||
+++ b/gsecrets/database_manager.py
|
||||
@@ -2,6 +2,7 @@
|
||||
from __future__ import annotations
|
||||
|
||||
import io
|
||||
+import os
|
||||
import json
|
||||
import logging
|
||||
from pathlib import Path
|
||||
@@ -99,10 +100,15 @@ class DatabaseManager(GObject.Object):
|
||||
return
|
||||
|
||||
try:
|
||||
+ key = None
|
||||
+ if composition_key:
|
||||
+ key = io.BytesIO(composition_key)
|
||||
+ key.seek(0, os.SEEK_END)
|
||||
+
|
||||
db = PyKeePass(
|
||||
self.path,
|
||||
password,
|
||||
- io.BytesIO(composition_key) if composition_key else None,
|
||||
+ key,
|
||||
)
|
||||
except Exception as err: # pylint: disable=broad-except
|
||||
err = GLib.Error.new_literal(QUARK, str(err), 1)
|
||||
--
|
||||
2.44.0
|
||||
|
||||
|
|
@ -1,3 +0,0 @@
|
|||
# secrets
|
||||
|
||||
The secrets package
|
||||
|
|
@ -1,3 +0,0 @@
|
|||
This repository is maintained by packit.
|
||||
https://packit.dev/
|
||||
The file was generated using packit 0.98.0.
|
||||
18
changelog
18
changelog
|
|
@ -1,18 +0,0 @@
|
|||
* Sun May 08 2022 Artem Polishchuk <ego.cordatus@gmail.com> - 6.5-1
|
||||
- build(update): 6.5
|
||||
|
||||
* Wed Mar 30 2022 Artem Polishchuk <ego.cordatus@gmail.com> - 6.3-1
|
||||
- build(update): 6.3
|
||||
|
||||
* Tue Mar 08 2022 Artem Polishchuk <ego.cordatus@gmail.com> - 6.2-2
|
||||
- build: Drop python3-crypto dep | rh#2061745
|
||||
- build: Add runtime dep 'python3-pyotp >= 2.4.0'
|
||||
|
||||
* Mon Feb 28 2022 Artem Polishchuk <ego.cordatus@gmail.com> - 6.2-1
|
||||
- build(update): 6.2
|
||||
|
||||
* Thu Jan 13 2022 Artem Polishchuk <ego.cordatus@gmail.com> - 6.0-0.1.beta.2
|
||||
- build(update): 6.0.beta.2
|
||||
|
||||
* Mon Dec 06 2021 Artem Polishchuk <ego.cordatus@gmail.com> - 5.1-1
|
||||
- Initial package
|
||||
1
dead.package
Normal file
1
dead.package
Normal file
|
|
@ -0,0 +1 @@
|
|||
Orphaned for 6+ weeks
|
||||
117
secrets.spec
117
secrets.spec
|
|
@ -1,117 +0,0 @@
|
|||
%bcond_with tests
|
||||
|
||||
%global sysname gsecrets
|
||||
%global oldname gnome-passwordsafe
|
||||
%global libadwaita_version 1.4.99
|
||||
%global pykeepass_version 4.0.7
|
||||
%global pyotp_version 2.4.0
|
||||
|
||||
Name: secrets
|
||||
Version: 9.6
|
||||
Release: %autorelease
|
||||
Summary: Manage your passwords
|
||||
|
||||
License: GPL-3.0-only
|
||||
URL: https://gitlab.gnome.org/World/secrets
|
||||
Source0: %{url}/-/archive/%{version}/%{name}-%{version}.tar.bz2
|
||||
# https://gitlab.gnome.org/World/secrets/-/issues/537
|
||||
Patch: https://gitlab.gnome.org/World/secrets/uploads/7634fbc1777cce060724770e7c3a0aff/0001-Open-borked-databases.patch
|
||||
BuildArch: noarch
|
||||
|
||||
BuildRequires: desktop-file-utils
|
||||
BuildRequires: intltool
|
||||
BuildRequires: libappstream-glib
|
||||
BuildRequires: meson >= 0.59
|
||||
BuildRequires: python3-devel >= 3.8
|
||||
BuildRequires: python3-yubico
|
||||
|
||||
BuildRequires: python3dist(pykcs11)
|
||||
BuildRequires: python3dist(pykeepass) >= %{pykeepass_version}
|
||||
BuildRequires: python3dist(pyotp) >= %{pyotp_version}
|
||||
BuildRequires: python3dist(setuptools)
|
||||
BuildRequires: python3dist(validators)
|
||||
BuildRequires: python3dist(zxcvbn)
|
||||
|
||||
BuildRequires: pkgconfig(gio-2.0) >= 2.66
|
||||
BuildRequires: pkgconfig(glib-2.0) >= 2.73.1
|
||||
BuildRequires: pkgconfig(gobject-introspection-1.0) >= 1.66
|
||||
BuildRequires: pkgconfig(gtk4) >= 4.9
|
||||
BuildRequires: pkgconfig(libadwaita-1) >= %{libadwaita_version}
|
||||
|
||||
%if %{with tests}
|
||||
BuildRequires: python3-gobject
|
||||
BuildRequires: python3dist(pytest)
|
||||
%endif
|
||||
|
||||
Requires: hicolor-icon-theme
|
||||
Requires: libadwaita >= %{libadwaita_version}
|
||||
Requires: python3-gobject
|
||||
Requires: python3-pykcs11
|
||||
Requires: python3-pykeepass >= %{pykeepass_version}
|
||||
Requires: python3-pyotp >= %{pyotp_version}
|
||||
Requires: python3-validators
|
||||
Requires: python3-yubico
|
||||
Requires: python3-zxcvbn
|
||||
|
||||
Provides: %{oldname} = %{version}-%{release}
|
||||
Obsoletes: %{oldname} <= 5.1-6
|
||||
|
||||
%description
|
||||
Secrets is a password manager which integrates perfectly with the GNOME
|
||||
desktop and provides an easy and uncluttered interface for the management of
|
||||
password databases.
|
||||
|
||||
Features:
|
||||
* Create or import KeePass safes
|
||||
* Assign a color and additional attributes to entries
|
||||
* Add attachments to your encrypted database
|
||||
* Generate cryptographically strong passwords
|
||||
* Change the password or keyfile of your database
|
||||
* Quickly search your favorite entries
|
||||
* Automatic database lock during inactivity
|
||||
* Adaptive interface
|
||||
* Support for two-factor authentication
|
||||
|
||||
|
||||
%prep
|
||||
%autosetup -p1
|
||||
|
||||
|
||||
%build
|
||||
%meson \
|
||||
%if %{with tests}
|
||||
-Dtests=true \
|
||||
%endif
|
||||
%{nil}
|
||||
%meson_build
|
||||
|
||||
|
||||
%install
|
||||
%meson_install
|
||||
%find_lang %{name}
|
||||
|
||||
|
||||
%check
|
||||
appstream-util validate-relax --nonet %{buildroot}%{_metainfodir}/*.xml
|
||||
desktop-file-validate %{buildroot}%{_datadir}/applications/*.desktop
|
||||
|
||||
%if %{with tests}
|
||||
%meson_test
|
||||
%endif
|
||||
|
||||
|
||||
%files -f %{name}.lang
|
||||
%license LICENSE
|
||||
%doc README.md
|
||||
%{_bindir}/%{name}
|
||||
%{_datadir}/%{name}/
|
||||
%{_datadir}/applications/*.desktop
|
||||
%{_datadir}/glib-2.0/schemas/*.gschema.xml
|
||||
%{_datadir}/icons/hicolor/*/*/*.svg
|
||||
%{_datadir}/mime/packages/*.xml
|
||||
%{_metainfodir}/*.xml
|
||||
%{python3_sitelib}/%{sysname}/
|
||||
|
||||
|
||||
%changelog
|
||||
%autochangelog
|
||||
1
sources
1
sources
|
|
@ -1 +0,0 @@
|
|||
SHA512 (secrets-9.6.tar.bz2) = e60049f5858c6494936548ffb45b1b608d15d357c33f209ce1a60f630c467f70374e071f5389aaa71bb28b65131611c938ec3a1f73837846a033c02ca9913e6f
|
||||
Loading…
Add table
Add a link
Reference in a new issue