Package Details: endpoint-verification 2023.06.25.c543344396_00-10

Git Clone URL: https://aur.archlinux.org/endpoint-verification.git (read-only, click to copy)
Package Base: endpoint-verification
Description: Endpoint Verification Helper for Chromium
Upstream URL: https://chrome.google.com/webstore/detail/endpoint-verification/callobklhcbilhphinckomhgkigmfocg
Keywords: endpoint google verification
Licenses: unknown
Submitter: ilango100
Maintainer: sanquaes (jvybihal)
Last Packager: jvybihal
Votes: 2
Popularity: 0.000000
First Submitted: 2020-06-09 10:15 (UTC)
Last Updated: 2023-12-06 12:56 (UTC)

Latest Comments

sanquaes commented on 2022-10-28 14:08 (UTC)

I have updated the package. On my Arch systems, both /bin/hostname and /usr/bin/hostname are present, so I made an assumption that at least one of them should be in the PATH. Relying on the contents of /etc/hostname may be not consistent with the output of the 'hostname' command. We can revise it later if needed.

glostis commented on 2022-09-22 12:01 (UTC) (edited on 2022-09-22 12:01 (UTC) by glostis)

Hi,

Many thanks for this package!

When inspecting the device_state.sh file, I've noticed that the bash function get_hostname() relies on /bin/hostname to get the hostname, which does not exist on an Archlinux install. I suggest replacing line 112:

  HOSTNAME="$(/bin/hostname)"

by:

  HOSTNAME="$(cat /ect/hostname)"

sanquaes commented on 2022-08-12 08:37 (UTC) (edited on 2022-08-12 08:37 (UTC) by sanquaes)

Package updated to latest version.

ilango100 commented on 2020-11-06 14:13 (UTC)

Package updated to latest version, service file update to start properly.

@VSpike, the error occurs when device_state.sh is run as is. But it's run with "init" argument in startup script, in which case, no errors occur.

@omgitsaheadcrab, I've moved the chromium dependency to sub-package, so it's not needed while building.

Thank you all for your support!

omgitsaheadcrab commented on 2020-10-14 11:57 (UTC) (edited on 2020-10-15 13:12 (UTC) by omgitsaheadcrab)

This also fails if you don't have chromium installed. Is it possible to move the chromium dependency to inside that sub package?

VSpike commented on 2020-10-14 08:33 (UTC)

Sorry, I did this late last night and it was enough to make the errors go away from the browser extension but there are a couple of issues still.

First the line in the Systemd unit should be:-

ExecStart=/opt/google/endpoint-verification/endpoint-verification

not

ExecStart=/opt/google/endpoint_verification/endpoint-verification

I also had to add a line to the device_state.sh script to stop it aborting on an error:-

[root@johncc-x1 bin]# diff -p device_state.sh{.old,}
*** device_state.sh.old 2020-10-14 09:32:28.026281002 +0100
--- device_state.sh 2020-10-14 09:23:49.540632781 +0100
*************** get_disk_encrypted() {
*** 68,73 ****
--- 68,74 ----

  get_os_name_and_version() {
    OS_INFO_FILE=/etc/os-release
+   OS_VERSION=Unknown
    if [ -r "$OS_INFO_FILE" ]; then
      OS_NAME=$("$GREP" -i '^NAME=' "$OS_INFO_FILE" | "$AWK" -F= '{ print $2 }' | "$TR" [:upper:] [:lower:])
      case "$OS_NAME" in

ilango100 commented on 2020-10-14 06:59 (UTC)

Thanks a bunch for the patch @VSpike, the package is now updated.

VSpike commented on 2020-10-13 22:00 (UTC)

I had to bump the version like this to get the endpoint verification plugin working again.

diff --git a/PKGBUILD b/PKGBUILD
index 6769c0f..66addaa 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,22 +2,22 @@

 pkgbase=endpoint-verification
 pkgname=(endpoint-verification endpoint-verification-chrome)
-_pkgver=2019.10.07.c273328186-00
-pkgver=2019.10.07.c273328186_00
+_pkgver=2020.09.29.c334423510-00
+pkgver=2020.09.29.c334423510_00
 pkgrel=2
 pkgdesc="Endpoint Verification Helper for Chromium"
 arch=(x86_64)
 url="https://chrome.google.com/webstore/detail/endpoint-verification/callobklhcbilhphinckomhgkigmfocg"
 license=(unknown)
 depends=(chromium)
-sha256sums=("466d329b82384574a5b062adcd6312623918ac27c5ea3999985856366735bdca" "SKIP")
+sha256sums=("74682ecaa214a1cc192cd9be4be64f5b3762caf53e7a3376e103d11c7c37424a" "SKIP")
 source=("${pkgbase}.deb::https://packages.cloud.google.com/apt/pool/${pkgbase}_${_pkgver}_amd64_${sha256sums[0]}.deb"
        "endpoint-verification.service")

 prepare() {
        mkdir -p data
        tar -C data -xf data.tar.gz
-       mv data/etc/init.d/endpoint_verification.sh data/opt/google/endpoint_verification
+       mv data/etc/init.d/endpoint-verification data/opt/google/endpoint-verification
        rmdir data/etc/init.d
 }

diff --git a/endpoint-verification.service b/endpoint-verification.service
index 9d9eff5..d153639 100644
--- a/endpoint-verification.service
+++ b/endpoint-verification.service
@@ -3,7 +3,7 @@ Description=Endpoint Verification Service

 [Service]
 Type=oneshot
-ExecStart=/opt/google/endpoint_verification/endpoint_verification.sh
+ExecStart=/opt/google/endpoint_verification/endpoint-verification

 [Install]
 WantedBy=graphical.target

ilango100 commented on 2020-08-01 19:12 (UTC)

@bitfehler Glad I could be of help.

bitfehler commented on 2020-07-30 14:16 (UTC) (edited on 2020-07-30 15:11 (UTC) by bitfehler)

Hi there, thanks a lot for packaging this. I have a small suggestion: maybe you can optdepend on dmidecode? The tool uses that to retrieve the serial number and model name from the BIOS

edit: scratch that, sorry, I was just holding it wrong! So simply thanks for packaging then :)