Package Details: esunbank-webatm 1.0.0.5-5

Git Clone URL: https://aur.archlinux.org/esunbank-webatm.git (read-only, click to copy)
Package Base: esunbank-webatm
Description: WebATM service tool for Esun Bank at Taiwan
Upstream URL: https://www.esunbank.com.tw
Licenses: custom
Submitter: holishing
Maintainer: holishing
Last Packager: holishing
Votes: 3
Popularity: 0.000000
First Submitted: 2020-01-18 10:36 (UTC)
Last Updated: 2020-07-20 14:08 (UTC)

Latest Comments

holishing commented on 2020-07-20 14:09 (UTC)

updated by applying @yan12125 's patch.

yan12125 commented on 2020-07-20 13:28 (UTC)

With this change, I can use WebATM without trusting the service manually.

diff --git a/PKGBUILD b/PKGBUILD
index bc7c2fa..44b184a 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -24,7 +24,7 @@ prepare() {

 package(){
     # Install Custom CA
-    install -Dm644 "${srcdir}"/usr/share/esunbank/AAA_Certificate_Authority.crt "${pkgdir}"/usr/share/ca-certificates/trust-source/AAA_Certificate_Authority.crt
+    install -Dm644 "${srcdir}"/usr/share/esunbank/AAA_Certificate_Authority.crt "${pkgdir}"/usr/share/ca-certificates/trust-source/anchors/AAA_Certificate_Authority.crt

     # Main Program
     mv "${srcdir}"/usr/share/esunbank/AAA_Certificate_Authority.crt $srcdir

b4283 commented on 2020-07-20 12:31 (UTC) (edited on 2020-07-20 12:32 (UTC) by b4283)

Good job. I find the latest Esun application uses https to link to localhost, but is using an unsafe certificate.

If anyone ran into this issue, try browsing to the local link directly to resolve the certificate problem for your browser first.

(I think it's something like https://localhost:11808)

holishing commented on 2020-04-12 16:23 (UTC) (edited on 2020-04-12 16:23 (UTC) by holishing)

@holishing Mind to apply it?

done

yan12125 commented on 2020-04-11 14:39 (UTC) (edited on 2020-04-11 14:39 (UTC) by yan12125)

I managed to modify PKGBUILD and download EsunATM.deb without manual steps.

diff --git a/PKGBUILD b/PKGBUILD
index d589d8c..1dcf4a3 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -8,11 +8,12 @@ url="https://www.esunbank.com.tw"
 license=('custom')
 makedepends=('libarchive' 'icoutils')
 depends=('desktop-file-utils' 'hicolor-icon-theme' 'libappindicator-gtk2' 'libcanberra' 'nss' 'pcsclite')
-## please use browser agent to download deb package:
-## https://netbank.esunbank.com.tw/webatm/assets/ActiveX/EsunATM.deb
-source=('local://EsunATM.deb')
+source=('https://netbank.esunbank.com.tw/webatm/assets/ActiveX/EsunATM.deb')
 sha512sums=('176fdf1d9b331deabe3037a4e2ba49783b08f4cb430c1bbab21755e4b4d17185407c487f53da1cfa2909187fec7ed723bdea20fc4397ff0ad33fcfd973d4d48b')

+# Esun website does not like curl
+DLAGENTS=('https::/usr/bin/curl -A "Mozilla" -gqb "" -fLC - --retry 3 --retry-delay 3 -o %o %u')
+
 prepare() {
     bsdtar -xvf data.tar.xz -C "${srcdir}"
     # Fix directories structure differencies (We cannot do this because the path is fixed)

@holishing Mind to apply it?

holishing commented on 2020-04-05 04:43 (UTC)

Please download it from https://netbank.esunbank.com.tw/webatm/assets/ActiveX/EsunATM.deb (with Chrome/Firefox "User-Agent"), then do remain makepkg steps.