@pmatilai commented on this pull request.


> +function genkey_sq()
+{
+    log "Generating key ${email}"
+    local keyid=$(sq key generate \
+                     --batch \
+                     --quiet \
+                     --own-key \
+                     --without-password \
+                     --can-sign \
+                     --cannot-authenticate \
+                     --cannot-encrypt \
+                     --email ${email} \
+                   2>&1 | awk '/Fingerprint/{print $2}')
+
+    log "Exporting key to ${keypath}"
+    sq cert export --cert-email "${email}" > ${keypath}

Oh, right. I'm positive it was that way originally, that was the reason for 
scraping the fingerprint of course, just got lost somewhere along the line.

-- 
Reply to this email directly or view it on GitHub:
https://github.com/rpm-software-management/rpm/pull/3665#discussion_r2003086728
You are receiving this because you are subscribed to this thread.

Message ID: <rpm-software-management/rpm/pull/3665/review/[email protected]>
_______________________________________________
Rpm-maint mailing list
[email protected]
https://lists.rpm.org/mailman/listinfo/rpm-maint

Reply via email to