HKP parsing: make \r optional in pubkey lines

This commit is contained in:
Dominik Schürmann 2021-04-18 10:24:37 +02:00
parent 2d45528f8f
commit 38157242e1
1 changed files with 1 additions and 1 deletions

View File

@ -128,7 +128,7 @@ public class HkpKeyserverClient implements KeyserverClient {
"(?::([0-9]*)" + // group 5
"(?::([0-9]*)" + // group 6
"(?::((?:(?=(?:r(?!(.?r))|d(?!(.?d))|e(?!(.?e))))[rde]){0,3})" + // group 7
")?)?)?)?)?\r\n)"// pub line
")?)?)?)?)?\r?\n)"// pub line
+ "(" + UID_LINE.pattern() + // group 11
"+)", // one or more uid lines
Pattern.CASE_INSENSITIVE