Finally got round to working out why there was a problem.
If I change the Wirecrypt setting in firebird.conf to
#WireCryptPlugin = ChaCha, Arc4
WireCryptPlugin = Arc4
then everything works fine.
I have downloaded today's snapshot and the same problem is present i.e.
the wirecrypt plugin raises an exception unless the above change is
made. Is there a missing dependency for the ChaCha plugin? If I run ldd
on libChaCha.so I get
ldd libChaCha.so
linux-vdso.so.1 (0x00007ffcd5bb6000)
libdl.so.2 => /lib/x86_64-linux-gnu/libdl.so.2 (0x00007f5d75f99000)
libncurses.so.5 => /lib/x86_64-linux-gnu/libncurses.so.5
(0x00007f5d75d76000)
libfbclient.so.2 =>
/opt/firebird4b2/plugins/./../lib/libfbclient.so.2 (0x00007f5d75859000)
libtommath.so.0 => /usr/lib/libtommath.so.0 (0x00007f5d75642000)
libtomcrypt.so.1 => /usr/lib/x86_64-linux-gnu/libtomcrypt.so.1
(0x00007f5d7538c000)
libm.so.6 => /lib/x86_64-linux-gnu/libm.so.6 (0x00007f5d74fee000)
libgcc_s.so.1 => /lib/x86_64-linux-gnu/libgcc_s.so.1
(0x00007f5d74dd6000)
libpthread.so.0 => /lib/x86_64-linux-gnu/libpthread.so.0
(0x00007f5d74bb7000)
libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007f5d747c6000)
/lib64/ld-linux-x86-64.so.2 (0x00007f5d764f2000)
libtinfo.so.5 => /lib/x86_64-linux-gnu/libtinfo.so.5
(0x00007f5d7459c000)
libgmp.so.10 => /usr/lib/x86_64-linux-gnu/libgmp.so.10
(0x00007f5d7431b000)
On 30/04/2020 17:09, Alex Peshkoff via Firebird-devel wrote:
On 2020-04-30 12:10, Tony Whyman wrote:
All I get when trying to use the current snapshot and opening a
database is the error message "Invalid Clumplet buffer structure:
path length doesn't match with clumplet".
I am using a test program that works with all previous versions of
Firebird.
If I try to use ISQL with the example employee database, I get
bin/isql: symbol lookup error: /opt/firebird4b2/plugins/libChaCha.so:
undefined symbol: chacha_setup
when I try to open the database using
isql -user SYSDBA -pass masterkey localhost:employee
Today snapshot works for me.
# ./isql localhost:employee -user sysdba -password 'masterkey' -z
ISQL Version: LI-T4.0.0.1948 Firebird 4.0 Beta 2
Server version:
LI-T4.0.0.1948 Firebird 4.0 Beta 2
LI-T4.0.0.1948 Firebird 4.0 Beta 2/tcp (fbs3)/P16:C
LI-T4.0.0.1948 Firebird 4.0 Beta 2/tcp (fbs3)/P16:C
Database: localhost:employee, User: SYSDBA
SQL> show db;
Database: localhost:employee
Owner: SYSDBA
PAGE_SIZE 8192
#................................................
Wire crypt plugin: ChaCha
Default Character set: NONE
SQL>
Firebird-Devel mailing list, web interface at
https://lists.sourceforge.net/lists/listinfo/firebird-devel
Firebird-Devel mailing list, web interface at
https://lists.sourceforge.net/lists/listinfo/firebird-devel