Package: snac2
Version: 2.25-2
Severity: normal
X-Debbugs-Cc: jvalle...@mailbox.org

Following other users works fine when run behing nginx reverse proxy.
However when run behind apache, there are RSA verify errors in the log.
My assumption is that the proxy somehow mangles the encryption.


11:07:45 job thread 1 wake up
11:07:45 [james] enqueue_input ~/queue/1689606465.955365.json
11:07:48 [james] user_queue ready for ~/queue/1689606465.955365.json
11:07:48 object_add https://<domain>/users/<username> 
~/object/43/434d677e0dda135de06627b6698a2fc5.json 201
11:07:48 [james] bad signature https://<domain>/users/<username> (RSA verify 
error https://<domain>/users/<username>)


-- System Information:
Debian Release: 12.0
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable-security'), (500, 
'oldstable-updates'), (500, 'oldstable-security'), (500, 'stable'), (500, 
'oldstable'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 6.1.0-10-amd64 (SMP w/1 CPU thread; PREEMPT)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages snac2 depends on:
ii  adduser   3.134
ii  libc6     2.36-9
ii  libcurl4  7.88.1-10
ii  libssl3   3.0.9-1

Versions of packages snac2 recommends:
ii  apache2 [httpd]   2.4.57-2
ii  lighttpd [httpd]  1.4.69-1
ii  nginx [httpd]     1.22.1-9

snac2 suggests no packages.

-- Configuration Files:
/etc/apache2/conf-available/snac2.conf changed:
<Location /.well-known/webfinger>
    ProxyPass http://127.0.0.1:8001/.well-known/webfinger
</Location>
<Location /.well-known/nodeinfo>
    ProxyPass http://127.0.0.1:8001/.well-known/nodeinfo
</Location>
<Location /snac>
    ProxyPass http://127.0.0.1:8001
    ProxyPreserveHost On
    RequestHeader    set X-Forwarded-Proto 'https' env=HTTPS
</Location>


-- no debconf information

Reply via email to