You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@maven.apache.org by hb...@apache.org on 2025/03/09 17:33:56 UTC

(maven-dist-tool) branch master updated: some uid lines contain less space

This is an automated email from the ASF dual-hosted git repository.

hboutemy pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/maven-dist-tool.git


The following commit(s) were added to refs/heads/master by this push:
     new a13c472  some uid lines contain less space
a13c472 is described below

commit a13c47212675b60785f6c2bfb855cbcd4cc1a205
Author: Hervé Boutemy <hb...@apache.org>
AuthorDate: Sun Mar 9 18:33:50 2025 +0100

    some uid lines contain less space
---
 src/main/java/org/apache/maven/dist/tools/pgp/CheckPgpKeysReport.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/main/java/org/apache/maven/dist/tools/pgp/CheckPgpKeysReport.java b/src/main/java/org/apache/maven/dist/tools/pgp/CheckPgpKeysReport.java
index caf7f83..1d8a31c 100644
--- a/src/main/java/org/apache/maven/dist/tools/pgp/CheckPgpKeysReport.java
+++ b/src/main/java/org/apache/maven/dist/tools/pgp/CheckPgpKeysReport.java
@@ -246,7 +246,7 @@ public class CheckPgpKeysReport extends AbstractDistCheckReport {
             // get only gpg --list-sigs <ID>, not armoured content
             String id = content.substring(0, content.indexOf(BEGIN)).trim();
             // and even strip variable complex content: pub and uid are the 2 (or 3, it depends) interesting lines here
-            int uid = id.indexOf("uid                  ");
+            int uid = id.indexOf("uid    ");
             if (uid > 0) {
                 int eol = id.indexOf('\n', uid);
                 id = id.substring(0, eol);