Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package jeos-firstboot for openSUSE:Factory checked in at 2024-09-19 21:16:48 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/jeos-firstboot (Old) and /work/SRC/openSUSE:Factory/.jeos-firstboot.new.29891 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "jeos-firstboot" Thu Sep 19 21:16:48 2024 rev:61 rq:1201795 version:1.5.2 Changes: -------- --- /work/SRC/openSUSE:Factory/jeos-firstboot/jeos-firstboot.changes 2024-08-16 14:51:48.805582603 +0200 +++ /work/SRC/openSUSE:Factory/.jeos-firstboot.new.29891/jeos-firstboot.changes 2024-09-19 21:16:54.369385283 +0200 @@ -1,0 +2,7 @@ +Wed Sep 18 13:03:38 UTC 2024 - jeos-inter...@suse.de + +- Update to version 1.5.2: + * otp: Use the system nodename as issuer in the QR code + * otp: Use more obvious dd | base32 instead of tr | head + +------------------------------------------------------------------- Old: ---- jeos-firstboot-1.5.0.obscpio New: ---- jeos-firstboot-1.5.2.obscpio ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ jeos-firstboot.spec ++++++ --- /var/tmp/diff_new_pack.azr40N/_old 2024-09-19 21:16:55.597436188 +0200 +++ /var/tmp/diff_new_pack.azr40N/_new 2024-09-19 21:16:55.601436353 +0200 @@ -23,7 +23,7 @@ %endif Name: jeos-firstboot -Version: 1.5.0 +Version: 1.5.2 Release: 0 Summary: Simple text based JeOS first boot wizard License: MIT ++++++ _servicedata ++++++ --- /var/tmp/diff_new_pack.azr40N/_old 2024-09-19 21:16:55.641438012 +0200 +++ /var/tmp/diff_new_pack.azr40N/_new 2024-09-19 21:16:55.649438343 +0200 @@ -1,6 +1,6 @@ <servicedata> <service name="tar_scm"> <param name="url">https://github.com/openSUSE/jeos-firstboot.git</param> - <param name="changesrevision">4b389a76e694b83736efc727030aaac5fd283a8c</param></service></servicedata> + <param name="changesrevision">8886e4784b3a980d5bad4d4b5626fcc0f6ac6ce9</param></service></servicedata> (No newline at EOF) ++++++ jeos-firstboot-1.5.0.obscpio -> jeos-firstboot-1.5.2.obscpio ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/jeos-firstboot-1.5.0/files/usr/share/jeos-firstboot/modules/otp new/jeos-firstboot-1.5.2/files/usr/share/jeos-firstboot/modules/otp --- old/jeos-firstboot-1.5.0/files/usr/share/jeos-firstboot/modules/otp 2024-08-07 17:01:54.000000000 +0200 +++ new/jeos-firstboot-1.5.2/files/usr/share/jeos-firstboot/modules/otp 2024-08-08 14:53:12.000000000 +0200 @@ -10,9 +10,11 @@ { local user="$1" - # Generate secret in base32 (most common format). Length 32 -> 160 bits -> 20 bytes. + # Generate secret in base32 (most common format). + # 20 bytes (-> 160 bits) result in 32 base32 characters (5 bits each) and + # 40 hex digits (4 bits each), so no padding is necessary. local totp_secret - if ! totp_secret="$(LC_ALL=C tr -dc "A-Z2-7" </dev/urandom | head -c 32)"; then + if ! totp_secret="$(dd if=/dev/urandom bs=1 count=20 status=none | base32)"; then d_styled --title "$otp_title" --msgbox $"Failed to generate TOTP secret" 6 45 || : return 1 fi @@ -21,7 +23,7 @@ local totp_secret_hex totp_secret_hex="$(base32 -d <<<"$totp_secret" | hexdump -ve '1/1 "%.2x"')" - local url="otpauth://totp/${user}@$(hostname)?secret=${totp_secret}" + local url="otpauth://totp/${user}?secret=${totp_secret}&issuer=$(uname -n)" local msg="$( printf $"Configuring time-based one-time password (TOTP) authentication for the user '%s'.\n\n" "$user" printf $"Enroll with your desired TOTP application by scanning the QR code or entering the secret manually, then enter the generated 6 digit code below to confirm successful enrollment. " @@ -34,7 +36,7 @@ d_with_result --title "$otp_title" \ --cancel-label $"Skip" \ --no-nl-expand --no-collapse \ - --mixedform "${msg}" 35 60 1 \ + --mixedform "${msg}" 37 60 1 \ $"OTP value:" 1 0 "" 1 15 45 0 0 local ret=$? ++++++ jeos-firstboot.obsinfo ++++++ --- /var/tmp/diff_new_pack.azr40N/_old 2024-09-19 21:16:55.757442820 +0200 +++ /var/tmp/diff_new_pack.azr40N/_new 2024-09-19 21:16:55.761442986 +0200 @@ -1,5 +1,5 @@ name: jeos-firstboot -version: 1.5.0 -mtime: 1723042914 -commit: 4b389a76e694b83736efc727030aaac5fd283a8c +version: 1.5.2 +mtime: 1723121592 +commit: 8886e4784b3a980d5bad4d4b5626fcc0f6ac6ce9