Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package keepass-plugin-HIBPOfflineCheck for openSUSE:Factory checked in at 2021-08-31 19:55:27 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/keepass-plugin-HIBPOfflineCheck (Old) and /work/SRC/openSUSE:Factory/.keepass-plugin-HIBPOfflineCheck.new.1899 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "keepass-plugin-HIBPOfflineCheck" Tue Aug 31 19:55:27 2021 rev:3 rq:915138 version:1.7.6 Changes: -------- --- /work/SRC/openSUSE:Factory/keepass-plugin-HIBPOfflineCheck/keepass-plugin-HIBPOfflineCheck.changes 2021-08-03 22:49:44.848424006 +0200 +++ /work/SRC/openSUSE:Factory/.keepass-plugin-HIBPOfflineCheck.new.1899/keepass-plugin-HIBPOfflineCheck.changes 2021-08-31 19:56:21.698012276 +0200 @@ -1,0 +2,7 @@ +Mon Aug 30 19:24:02 UTC 2021 - Matthias Bach <ma...@marix.org> - 1.7.6 + +- Update to version 1.7.6 + * You can exclude recycle bin and expired entries from find + results by selecting the two new options in the plugin settings + +------------------------------------------------------------------- Old: ---- HIBPOfflineCheck-1.7.5.tar.gz New: ---- HIBPOfflineCheck-1.7.6.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ keepass-plugin-HIBPOfflineCheck.spec ++++++ --- /var/tmp/diff_new_pack.NJoFou/_old 2021-08-31 19:56:22.178012877 +0200 +++ /var/tmp/diff_new_pack.NJoFou/_new 2021-08-31 19:56:22.182012882 +0200 @@ -19,7 +19,7 @@ %define _plugin_name HIBPOfflineCheck Name: keepass-plugin-%{_plugin_name} -Version: 1.7.5 +Version: 1.7.6 Release: 0 Summary: A KeePass plugin for Have I been pwned License: GPL-3.0-only ++++++ HIBPOfflineCheck-1.7.5.tar.gz -> HIBPOfflineCheck-1.7.6.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/HIBPOfflineCheck-1.7.5/HIBPOfflineCheck/HIBPOfflineCheckExt.cs new/HIBPOfflineCheck-1.7.6/HIBPOfflineCheck/HIBPOfflineCheckExt.cs --- old/HIBPOfflineCheck-1.7.5/HIBPOfflineCheck/HIBPOfflineCheckExt.cs 2021-07-31 21:15:02.000000000 +0200 +++ new/HIBPOfflineCheck-1.7.6/HIBPOfflineCheck/HIBPOfflineCheckExt.cs 2021-08-18 17:24:17.000000000 +0200 @@ -181,6 +181,8 @@ InsecureText = config.GetString(Options.Names.INSECURE_TEXT) ?? "Pwned", ExcludedText = config.GetString(Options.Names.EXCLUDED_TEXT) ?? "Excluded", BreachCountDetails = config.GetBool(Options.Names.BREACH_COUNT_DETAILS, true), + ExcludeRecycleBin = config.GetBool(Options.Names.EXCLUDE_RECYCLE_BIN, false), + ExcludeExpired = config.GetBool(Options.Names.EXCLUDE_EXPIRED, false), WarningDialog = config.GetBool(Options.Names.WARNING_DIALOG, false), AutoCheck = config.GetBool(Options.Names.AUTO_CHECK, true), WarningDialogText = XmlUnescape(config.GetString(Options.Names.WARNING_DIALOG_TEXT) ?? "WARNING - INSECURE PASSWORD\r\n\r\nThis password is insecure and publicly known"), @@ -204,6 +206,8 @@ config.SetString(Options.Names.EXCLUDED_TEXT, options.ExcludedText); config.SetString(Options.Names.INSECURE_TEXT, options.InsecureText); config.SetBool(Options.Names.BREACH_COUNT_DETAILS, options.BreachCountDetails); + config.SetBool(Options.Names.EXCLUDE_RECYCLE_BIN, options.ExcludeRecycleBin); + config.SetBool(Options.Names.EXCLUDE_EXPIRED, options.ExcludeExpired); config.SetBool(Options.Names.WARNING_DIALOG, options.WarningDialog); config.SetBool(Options.Names.AUTO_CHECK, options.AutoCheck); config.SetString(Options.Names.WARNING_DIALOG_TEXT, XmlEscape(options.WarningDialogText)); diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/HIBPOfflineCheck-1.7.5/HIBPOfflineCheck/HIBPOfflineCheckOptions.Designer.cs new/HIBPOfflineCheck-1.7.6/HIBPOfflineCheck/HIBPOfflineCheckOptions.Designer.cs --- old/HIBPOfflineCheck-1.7.5/HIBPOfflineCheck/HIBPOfflineCheckOptions.Designer.cs 2021-07-31 21:15:02.000000000 +0200 +++ new/HIBPOfflineCheck-1.7.6/HIBPOfflineCheck/HIBPOfflineCheckOptions.Designer.cs 2021-08-18 17:24:17.000000000 +0200 @@ -29,6 +29,9 @@ private void InitializeComponent() { this.groupBoxOptions = new System.Windows.Forms.GroupBox(); + this.checkBoxAutoCheck = new System.Windows.Forms.CheckBox(); + this.label8 = new System.Windows.Forms.Label(); + this.textBoxExcludedText = new System.Windows.Forms.TextBox(); this.buttonCreateBloom = new System.Windows.Forms.Button(); this.buttonBrowseBloom = new System.Windows.Forms.Button(); this.textBoxBloomFilter = new System.Windows.Forms.TextBox(); @@ -56,9 +59,8 @@ this.groupBoxActions = new System.Windows.Forms.GroupBox(); this.buttonClearAll = new System.Windows.Forms.Button(); this.buttonCheckAll = new System.Windows.Forms.Button(); - this.textBoxExcludedText = new System.Windows.Forms.TextBox(); - this.label8 = new System.Windows.Forms.Label(); - this.checkBoxAutoCheck = new System.Windows.Forms.CheckBox(); + this.checkBoxExcludeExpired = new System.Windows.Forms.CheckBox(); + this.checkBoxExcludeRecycleBin = new System.Windows.Forms.CheckBox(); this.groupBoxOptions.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.pb_BannerImage)).BeginInit(); this.groupBoxActions.SuspendLayout(); @@ -67,6 +69,8 @@ // groupBoxOptions // this.groupBoxOptions.BackColor = System.Drawing.SystemColors.Window; + this.groupBoxOptions.Controls.Add(this.checkBoxExcludeRecycleBin); + this.groupBoxOptions.Controls.Add(this.checkBoxExcludeExpired); this.groupBoxOptions.Controls.Add(this.checkBoxAutoCheck); this.groupBoxOptions.Controls.Add(this.label8); this.groupBoxOptions.Controls.Add(this.textBoxExcludedText); @@ -93,11 +97,40 @@ this.groupBoxOptions.Controls.Add(this.label1); this.groupBoxOptions.Location = new System.Drawing.Point(12, 125); this.groupBoxOptions.Name = "groupBoxOptions"; - this.groupBoxOptions.Size = new System.Drawing.Size(564, 384); + this.groupBoxOptions.Size = new System.Drawing.Size(564, 429); this.groupBoxOptions.TabIndex = 0; this.groupBoxOptions.TabStop = false; this.groupBoxOptions.Text = "Options"; // + // checkBoxAutoCheck + // + this.checkBoxAutoCheck.AutoSize = true; + this.checkBoxAutoCheck.Checked = true; + this.checkBoxAutoCheck.CheckState = System.Windows.Forms.CheckState.Checked; + this.checkBoxAutoCheck.Location = new System.Drawing.Point(6, 256); + this.checkBoxAutoCheck.Name = "checkBoxAutoCheck"; + this.checkBoxAutoCheck.Size = new System.Drawing.Size(232, 17); + this.checkBoxAutoCheck.TabIndex = 23; + this.checkBoxAutoCheck.Text = "Automatically check new or updated entries"; + this.checkBoxAutoCheck.UseVisualStyleBackColor = true; + // + // label8 + // + this.label8.AutoSize = true; + this.label8.Location = new System.Drawing.Point(6, 220); + this.label8.Name = "label8"; + this.label8.Size = new System.Drawing.Size(74, 13); + this.label8.TabIndex = 22; + this.label8.Text = "Excluded text:"; + // + // textBoxExcludedText + // + this.textBoxExcludedText.Location = new System.Drawing.Point(122, 217); + this.textBoxExcludedText.Name = "textBoxExcludedText"; + this.textBoxExcludedText.Size = new System.Drawing.Size(111, 20); + this.textBoxExcludedText.TabIndex = 21; + this.textBoxExcludedText.Text = "Excluded"; + // // buttonCreateBloom // this.buttonCreateBloom.Location = new System.Drawing.Point(122, 99); @@ -181,11 +214,11 @@ // textBoxWarningDialog // this.textBoxWarningDialog.AcceptsReturn = true; - this.textBoxWarningDialog.Location = new System.Drawing.Point(24, 325); + this.textBoxWarningDialog.Location = new System.Drawing.Point(6, 371); this.textBoxWarningDialog.Multiline = true; this.textBoxWarningDialog.Name = "textBoxWarningDialog"; this.textBoxWarningDialog.ScrollBars = System.Windows.Forms.ScrollBars.Vertical; - this.textBoxWarningDialog.Size = new System.Drawing.Size(514, 50); + this.textBoxWarningDialog.Size = new System.Drawing.Size(552, 52); this.textBoxWarningDialog.TabIndex = 12; this.textBoxWarningDialog.Text = "WARNING - INSECURE PASSWORD\r\n\r\nThis password is insecure and publicly known"; // @@ -201,9 +234,9 @@ // checkBoxWarningDialog // this.checkBoxWarningDialog.AutoSize = true; - this.checkBoxWarningDialog.Location = new System.Drawing.Point(6, 302); + this.checkBoxWarningDialog.Location = new System.Drawing.Point(6, 348); this.checkBoxWarningDialog.Name = "checkBoxWarningDialog"; - this.checkBoxWarningDialog.Size = new System.Drawing.Size(297, 17); + this.checkBoxWarningDialog.Size = new System.Drawing.Size(302, 17); this.checkBoxWarningDialog.TabIndex = 9; this.checkBoxWarningDialog.Text = "Display warning message after editing insecure passwords:"; this.checkBoxWarningDialog.UseVisualStyleBackColor = true; @@ -301,7 +334,7 @@ // buttonOK // this.buttonOK.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right))); - this.buttonOK.Location = new System.Drawing.Point(420, 519); + this.buttonOK.Location = new System.Drawing.Point(420, 560); this.buttonOK.Name = "buttonOK"; this.buttonOK.Size = new System.Drawing.Size(75, 23); this.buttonOK.TabIndex = 2; @@ -313,7 +346,7 @@ // this.buttonCancel.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right))); this.buttonCancel.DialogResult = System.Windows.Forms.DialogResult.Cancel; - this.buttonCancel.Location = new System.Drawing.Point(501, 519); + this.buttonCancel.Location = new System.Drawing.Point(501, 560); this.buttonCancel.Name = "buttonCancel"; this.buttonCancel.Size = new System.Drawing.Size(75, 23); this.buttonCancel.TabIndex = 1; @@ -360,34 +393,25 @@ this.buttonCheckAll.UseVisualStyleBackColor = true; this.buttonCheckAll.Click += new System.EventHandler(this.buttonCheckAll_Click); // - // textBoxExcludedText - // - this.textBoxExcludedText.Location = new System.Drawing.Point(122, 217); - this.textBoxExcludedText.Name = "textBoxExcludedText"; - this.textBoxExcludedText.Size = new System.Drawing.Size(111, 20); - this.textBoxExcludedText.TabIndex = 21; - this.textBoxExcludedText.Text = "Excluded"; - // - // label8 + // checkBoxExcludeExpired // - this.label8.AutoSize = true; - this.label8.Location = new System.Drawing.Point(6, 220); - this.label8.Name = "label8"; - this.label8.Size = new System.Drawing.Size(74, 13); - this.label8.TabIndex = 22; - this.label8.Text = "Excluded text:"; - // - // checkBoxAutoCheck - // - this.checkBoxAutoCheck.AutoSize = true; - this.checkBoxAutoCheck.Checked = true; - this.checkBoxAutoCheck.CheckState = System.Windows.Forms.CheckState.Checked; - this.checkBoxAutoCheck.Location = new System.Drawing.Point(6, 256); - this.checkBoxAutoCheck.Name = "checkBoxAutoCheck"; - this.checkBoxAutoCheck.Size = new System.Drawing.Size(232, 17); - this.checkBoxAutoCheck.TabIndex = 23; - this.checkBoxAutoCheck.Text = "Automatically check new or updated entries"; - this.checkBoxAutoCheck.UseVisualStyleBackColor = true; + this.checkBoxExcludeExpired.AutoSize = true; + this.checkBoxExcludeExpired.Location = new System.Drawing.Point(6, 325); + this.checkBoxExcludeExpired.Name = "checkBoxExcludeExpired"; + this.checkBoxExcludeExpired.Size = new System.Drawing.Size(214, 17); + this.checkBoxExcludeExpired.TabIndex = 25; + this.checkBoxExcludeExpired.Text = "Exclude expired entries from Find results"; + this.checkBoxExcludeExpired.UseVisualStyleBackColor = true; + // + // checkBoxExcludeRecycleBin + // + this.checkBoxExcludeRecycleBin.AutoSize = true; + this.checkBoxExcludeRecycleBin.Location = new System.Drawing.Point(6, 302); + this.checkBoxExcludeRecycleBin.Name = "checkBoxExcludeRecycleBin"; + this.checkBoxExcludeRecycleBin.Size = new System.Drawing.Size(237, 17); + this.checkBoxExcludeRecycleBin.TabIndex = 26; + this.checkBoxExcludeRecycleBin.Text = "Exclude Recycle Bin entries from Find results"; + this.checkBoxExcludeRecycleBin.UseVisualStyleBackColor = true; // // HIBPOfflineCheckOptions // @@ -396,7 +420,7 @@ this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.BackColor = System.Drawing.SystemColors.Window; this.CancelButton = this.buttonCancel; - this.ClientSize = new System.Drawing.Size(588, 554); + this.ClientSize = new System.Drawing.Size(588, 595); this.Controls.Add(this.groupBoxActions); this.Controls.Add(this.pb_BannerImage); this.Controls.Add(this.buttonCancel); @@ -451,5 +475,7 @@ private System.Windows.Forms.CheckBox checkBoxAutoCheck; private System.Windows.Forms.Label label8; private System.Windows.Forms.TextBox textBoxExcludedText; + private System.Windows.Forms.CheckBox checkBoxExcludeRecycleBin; + private System.Windows.Forms.CheckBox checkBoxExcludeExpired; } } \ No newline at end of file diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/HIBPOfflineCheck-1.7.5/HIBPOfflineCheck/HIBPOfflineCheckOptions.cs new/HIBPOfflineCheck-1.7.6/HIBPOfflineCheck/HIBPOfflineCheckOptions.cs --- old/HIBPOfflineCheck-1.7.5/HIBPOfflineCheck/HIBPOfflineCheckOptions.cs 2021-07-31 21:15:02.000000000 +0200 +++ new/HIBPOfflineCheck-1.7.6/HIBPOfflineCheck/HIBPOfflineCheckOptions.cs 2021-08-18 17:24:17.000000000 +0200 @@ -29,6 +29,8 @@ options.InsecureText = textBoxInsecureText.Text; options.ExcludedText = textBoxExcludedText.Text; options.BreachCountDetails = checkBoxBreachCountDetails.Checked; + options.ExcludeRecycleBin = checkBoxExcludeRecycleBin.Checked; + options.ExcludeExpired = checkBoxExcludeExpired.Checked; options.WarningDialog = checkBoxWarningDialog.Checked; options.AutoCheck = checkBoxAutoCheck.Checked; options.WarningDialogText = textBoxWarningDialog.Text; @@ -77,6 +79,8 @@ textBoxInsecureText.Text = options.InsecureText; textBoxExcludedText.Text = options.ExcludedText; checkBoxBreachCountDetails.Checked = options.BreachCountDetails; + checkBoxExcludeRecycleBin.Checked = options.ExcludeRecycleBin; + checkBoxExcludeExpired.Checked = options.ExcludeExpired; checkBoxWarningDialog.Checked = options.WarningDialog; checkBoxAutoCheck.Checked = options.AutoCheck; textBoxWarningDialog.Text = options.WarningDialogText; diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/HIBPOfflineCheck-1.7.5/HIBPOfflineCheck/HIBPOfflineColumnProv.cs new/HIBPOfflineCheck-1.7.6/HIBPOfflineCheck/HIBPOfflineColumnProv.cs --- old/HIBPOfflineCheck-1.7.5/HIBPOfflineCheck/HIBPOfflineColumnProv.cs 2021-07-31 21:15:02.000000000 +0200 +++ new/HIBPOfflineCheck-1.7.6/HIBPOfflineCheck/HIBPOfflineColumnProv.cs 2021-08-18 17:24:17.000000000 +0200 @@ -430,16 +430,37 @@ public void OnMenuFindPwned(object sender, EventArgs e) { + if (Host.Database == null || Host.Database.RootGroup == null) + return; + PwGroup pgResults = new PwGroup(true, true, string.Empty, PwIcon.List) { IsVirtual = true }; - Host.Database.RootGroup.TraverseTree(TraversalMethod.PreOrder, null, delegate(PwEntry pe) + PwGroup recycleBin = Host.Database.RootGroup.FindGroup(Host.Database.RecycleBinUuid, true); + + Host.Database.RootGroup.TraverseTree(TraversalMethod.PreOrder, null, delegate (PwEntry pe) { var status = GetCurrentStatus(pe); if (status != null && status.StartsWith(PluginOptions.InsecureText)) { + if (PluginOptions.ExcludeExpired && pe.Expires && pe.ExpiryTime.CompareTo(DateTime.UtcNow) <= 0) + return true; + + if (PluginOptions.ExcludeRecycleBin) + { + var ancestor = pe.ParentGroup; + + while (ancestor != null) + { + if (ancestor == recycleBin) + return true; + + ancestor = ancestor.ParentGroup; + } + } + pgResults.AddEntry(pe, false, false); } diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/HIBPOfflineCheck-1.7.5/HIBPOfflineCheck/Options.cs new/HIBPOfflineCheck-1.7.6/HIBPOfflineCheck/Options.cs --- old/HIBPOfflineCheck-1.7.5/HIBPOfflineCheck/Options.cs 2021-07-31 21:15:02.000000000 +0200 +++ new/HIBPOfflineCheck-1.7.6/HIBPOfflineCheck/Options.cs 2021-08-18 17:24:17.000000000 +0200 @@ -19,6 +19,8 @@ public const string INSECURE_TEXT = PLUGIN_NAMESPACE + ".InsecureText"; public const string EXCLUDED_TEXT = PLUGIN_NAMESPACE + ".ExcludedText"; public const string BREACH_COUNT_DETAILS = PLUGIN_NAMESPACE + ".BreachCountDetails"; + public const string EXCLUDE_RECYCLE_BIN = PLUGIN_NAMESPACE + ".ExcludeRecycleBin"; + public const string EXCLUDE_EXPIRED = PLUGIN_NAMESPACE + ".ExcludeExpired"; public const string WARNING_DIALOG = PLUGIN_NAMESPACE + ".WarningDialog"; public const string WARNING_DIALOG_TEXT = PLUGIN_NAMESPACE + ".WarningDialogText"; public const string CHECK_MODE = PLUGIN_NAMESPACE + ".CheckMode"; @@ -32,6 +34,8 @@ public string InsecureText { get; set; } public string ExcludedText { get; set; } public bool BreachCountDetails { get; set; } + public bool ExcludeRecycleBin { get; set; } + public bool ExcludeExpired { get; set; } public bool WarningDialog { get; set; } public string WarningDialogText { get; set; } public CheckModeType CheckMode { get; set; } diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/HIBPOfflineCheck-1.7.5/HIBPOfflineCheck/Properties/AssemblyInfo.cs new/HIBPOfflineCheck-1.7.6/HIBPOfflineCheck/Properties/AssemblyInfo.cs --- old/HIBPOfflineCheck-1.7.5/HIBPOfflineCheck/Properties/AssemblyInfo.cs 2021-07-31 21:15:02.000000000 +0200 +++ new/HIBPOfflineCheck-1.7.6/HIBPOfflineCheck/Properties/AssemblyInfo.cs 2021-08-18 17:24:17.000000000 +0200 @@ -32,5 +32,5 @@ // You can specify all the values or you can default the Build and Revision Numbers // by using the '*' as shown below: // [assembly: AssemblyVersion("1.0.*")] -[assembly: AssemblyVersion("1.7.5.0")] -[assembly: AssemblyFileVersion("1.7.5.0")] +[assembly: AssemblyVersion("1.7.6.0")] +[assembly: AssemblyFileVersion("1.7.6.0")] diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/HIBPOfflineCheck-1.7.5/version.txt new/HIBPOfflineCheck-1.7.6/version.txt --- old/HIBPOfflineCheck-1.7.5/version.txt 2021-07-31 21:15:02.000000000 +0200 +++ new/HIBPOfflineCheck-1.7.6/version.txt 2021-08-18 17:24:17.000000000 +0200 @@ -1,3 +1,3 @@ : -HIBPOfflineCheck:1.7.5.0 +HIBPOfflineCheck:1.7.6.0 :