andrey
9294cd7b7b
fix(picrypt): use crypto_box_* constants for public-key decrypt
...
The decrypt() function for crypto_box (public-key) used
crypto_secretbox_NONCEBYTES and crypto_secretbox_MACBYTES
(secret-key constants) instead of crypto_box_* constants.
These happen to be equal in libsodium but are semantically
different APIs. Fix ensures consistency with the encrypt()
counterpart.
2026-08-10 16:26:08 +03:00
andrey
9680bb2af8
fix: remove unreachable return false in PICrypt::verifySign()
...
fix picrypth
2026-08-06 17:01:30 +03:00
andrey
fe82c12d5b
fix build
2024-11-16 14:53:04 +03:00
andrey
d90c3f0991
Merge branch 'master' into pisteampackerconfig
...
# Conflicts:
# libs/client_server/piclientserver_server.cpp
# libs/crypt/picrypt.cpp
# libs/io_utils/pistreampacker.cpp
# main.cpp
2024-11-16 14:34:34 +03:00
peri4
57f8c1313e
first release of translation facility
...
* runtime - loading and translating
* design-time - works with *.ts file (pip_tr utility)
* compile-time - CMake macro for compile *.ts
2024-11-05 13:49:00 +03:00
andrey
315966504e
fix picrypt and remove crypt_frag from PIStreamPacker
2024-10-20 18:03:25 +03:00
andrey
92a0a9356c
refactoring PICrypt, add PIStreamPackerConfig, delete piclientserver_config
2024-10-18 18:59:20 +03:00
peri4
c2b8a8d6da
code format
2022-12-14 14:13:52 +03:00
andrey
97b0b6fc0c
picloud hash key
2021-08-12 22:05:02 +03:00
peri4
7a2a9ee7d0
picrypt.cpp no-sodium fix
...
picodeparser now recognize assignment in declaration
2021-04-12 23:17:13 +03:00
andrey
dbd2267a8c
PICloud change protocol > server_uuid
2021-04-12 11:35:34 +03:00
andrey
f0e2410929
PICrypt passwordHash fix hash and return, PICloud repair Server exit, fix PIAuth pass_hash gen
2021-04-08 11:53:10 +03:00
andrey
d5574cf245
revert PICrypt hardkey
2021-02-09 10:01:35 +03:00
andrey
6e7055bea3
fix PICrypt key size
2021-02-08 18:29:55 +03:00
peri4
4c0fe72d71
PICrypt first init fail patch
2020-10-07 23:43:20 +03:00
peri4
ccd6a9888f
tree changes
2020-08-19 00:47:05 +03:00