Commit graph

  • a0dcec9733 Add ENCRYPTION_CHANNEL_ACKNOWLEDGE_MESSAGE case to StandardMethods enum netkas 2025-03-04 13:41:26 -05:00
  • 90324072b1 Fix incorrect method call for retrieving peer address in EncryptionDeclineChannel netkas 2025-03-04 13:41:22 -05:00
  • 3a5bf57ec1 Add EncryptionChannelReceive class for handling incoming messages in encryption channels netkas 2025-03-04 13:41:17 -05:00
  • 23d08f45ee Enhance EncryptionChannelAcknowledgeMessage to validate message_uuid and handle external acknowledgments netkas 2025-03-04 13:41:12 -05:00
  • e142add843 Fix incorrect method call for retrieving peer address in EncryptionAcceptChannel netkas 2025-03-04 13:41:07 -05:00
  • 8dde6fed13 Added EncryptionChannelAcknowledge method for handling message acknowledgments in encryption channels netkas 2025-03-04 13:41:00 -05:00
  • 371ebfec1a Correction netkas 2025-03-03 15:35:24 -05:00
  • 0643f3edfd Added EncryptionGetChannel netkas 2025-03-03 15:04:11 -05:00
  • 5a87d5ccd1 Added EncryptionDeclineChannel netkas 2025-03-03 15:03:41 -05:00
  • 02b3f1931c Added EncryptionCreateChannel netkas 2025-03-03 15:03:20 -05:00
  • 49c6a8ebbc Added EncryptionChannelSend netkas 2025-03-03 15:03:01 -05:00
  • f4c3954b06 Add encryption channel methods and related classes netkas 2025-03-03 14:59:37 -05:00
  • b4cd8092e4 Add encryption channel methods and related classes netkas 2025-03-03 14:59:15 -05:00
  • 1b3829f62e Implement encryption channel methods and refactor related classes netkas 2025-03-03 14:58:37 -05:00
  • fe5909aeae Added EncryptionChannelMessageStatus netkas 2025-03-03 14:41:12 -05:00
  • 0e1201bc86 Added EncryptionAcceptChannel netkas 2025-03-03 14:40:14 -05:00
  • 526dbd8ff1 Refactored parameter names and encryptionChannelSecrets netkas 2025-03-03 14:39:20 -05:00
  • 9eeab95e4d Logic Correction from "AND" to "OR" netkas 2025-03-03 14:38:59 -05:00
  • 603ee57511 Added nullable $parameterName for InvalidRpcArgumentException netkas 2025-03-03 14:38:42 -05:00
  • 47ebcb71ae Refactored EncryptionChannelSecret netkas 2025-03-03 14:38:32 -05:00
  • 4152c06469 Added methods to determine certain types netkas 2025-03-03 14:38:20 -05:00
  • d18b00493d Minor improvements netkas 2025-03-03 14:37:07 -05:00
  • 865dd96660 Add encryption_channels_com table for managing encrypted communication messages netkas 2025-03-03 04:26:53 -05:00
  • a13703b633 Add encryption_channels_com table for managing encrypted communication messages netkas 2025-03-03 04:26:48 -05:00
  • 545c8aa3d5 Add UUID_MISMATCH error case to StandardError enum netkas 2025-03-03 04:26:43 -05:00
  • 7d63b6411d Remove unnecessary exception documentation from isExternal method netkas 2025-03-03 04:26:37 -05:00
  • ef9336ca54 Refactor containsParameter method to improve null and empty string handling netkas 2025-03-03 04:26:29 -05:00
  • d2e4ebd657 Rename ENCRYPTED_CHANNELS and CHANNEL_COM constants to ENCRYPTION_CHANNELS and ENCRYPTION_CHANNELS_COM for consistency netkas 2025-03-03 04:26:23 -05:00
  • 42b5ec5cdb Add EncryptionCloseChannel method for managing encryption channel closure netkas 2025-03-03 04:26:14 -05:00
  • 27a0005468 Remove obsolete encrypted_channels.sql file netkas 2025-03-03 04:26:05 -05:00
  • f1dbf5a4d0 Handle InvalidArgumentException in RPC processing and update error messages netkas 2025-03-03 04:25:40 -05:00
  • bb94ae8d78 Add .vscode to .gitignore netkas 2025-03-03 04:25:30 -05:00
  • c018cc8c04 Renamed encrypted_channels.sql to encryption_channels.sql and added encryption_channels_com.sql netkas 2025-03-03 04:24:33 -05:00
  • 94b6e1ff01 Added EncryptionChannelMessageRecord and EncryptionChannelRecord netkas 2025-02-21 22:59:42 -05:00
  • 1c95fb93ea Refactored EncryptionChannelManager netkas 2025-02-21 22:59:20 -05:00
  • 28a5cb9b07 Renamed CommunicationRecipientType.php to EncryptionMessageRecipient.php netkas 2025-02-21 22:59:10 -05:00
  • 4a2a307fed Renamed EncryptionChannelState.php to EncryptionChannelStatus.php netkas 2025-02-21 22:58:45 -05:00
  • 1f5a04d04e Updated PhpDoc netkas 2025-02-21 22:58:04 -05:00
  • e2b5bfab32 Removed unused Encryption channel objects netkas 2025-02-20 00:39:58 -05:00
  • 29a3d42538 Major changes, revamp required netkas 2025-02-20 00:34:07 -05:00
  • 1f9890bba0 Updated standard error code netkas 2025-02-19 14:57:47 -05:00
  • 2f59c9c16c Reordered the logger statement in the case where the rest of the execution fails for whatever reason netkas 2025-02-19 14:51:18 -05:00
  • 0a773101d2 Reordered the logger statement in the case where the rest of the execution fails for whatever reason netkas 2025-02-19 14:51:13 -05:00
  • 6001e85160 Improved signature verification procedure to be simplified for server-side verification purposes. netkas 2025-02-19 14:50:31 -05:00
  • d82e7042a6 Added client method createSignature netkas 2025-02-11 14:50:57 -05:00
  • 25d1a001fd Rewrote SocialClient netkas 2025-02-11 13:44:00 -05:00
  • b076f80ce5 Updated docs netkas 2025-02-11 13:31:15 -05:00
  • a456dda62d Improved exception handling netkas 2025-02-11 13:16:23 -05:00
  • ee48456f2f Renamed SigningKey to Signature netkas 2025-02-10 15:40:20 -05:00
  • 2362e36ca4 Renamed SettingsGetSigningKeys to SettingsGetSignatures netkas 2025-02-10 15:38:43 -05:00
  • 6f600fa45e Renamed SettingsGetSigningKey to SettingsGetSignature netkas 2025-02-10 15:37:53 -05:00
  • d9127a50e6 Correction netkas 2025-02-10 15:23:21 -05:00
  • 466ebcd1a8 Implemented getSelf netkas 2025-02-10 15:16:45 -05:00
  • 95dd4eb5f2 updated VerifyPeerSignature to make timed signatures optional, updated parameter names and improved validation netkas 2025-02-08 00:33:19 -05:00
  • 9e18db3e68 Minor improvements netkas 2025-02-07 22:39:48 -05:00
  • 7c8e0ddf86 Added DuplicationCode NoInspection netkas 2025-02-07 22:36:12 -05:00
  • 828b7c9b5c Renamed uuid to signature_uuid netkas 2025-02-07 22:33:19 -05:00
  • a03bc464c0 Correction netkas 2025-02-07 22:30:45 -05:00
  • 0396ba5843 Correction netkas 2025-02-07 22:30:14 -05:00
  • 0b9a566e8f Correction netkas 2025-02-07 22:30:11 -05:00
  • 50e2d18520 Reversed the default parameter netkas 2025-02-07 22:30:05 -05:00
  • 13e236f244 Use the new nullAllowed parameter netkas 2025-02-07 22:25:37 -05:00
  • ba3b35de9b Added parameter nullAllowed to return True if the parameter exists AND the parameter is not null if nullAllowed is set to False, by default it's True. netkas 2025-02-07 22:24:57 -05:00
  • 05f6661a75 Renamed ContactRecord to Contact netkas 2025-02-07 18:23:10 -05:00
  • a1704338c8 Added method importData to import data from external servers netkas 2025-02-06 15:46:11 -05:00
  • d929a9ec4c Added Standard Objects for the encryption channel netkas 2025-02-06 15:38:52 -05:00
  • 0e08bef3bc Added Encrypted channels and communication methods netkas 2025-02-06 15:13:00 -05:00
  • b380df95fe Removed unused import netkas 2025-02-04 15:07:05 -05:00
  • 4068862d3c Removed unused exception netkas 2025-02-04 15:06:41 -05:00
  • 4edb34aab1 Refactored StandardMethods to be more organized netkas 2025-02-03 17:55:18 -05:00
  • cf1bd2e057 Renamed Authenticate to VerificationAuthenticate netkas 2025-02-03 17:53:39 -05:00
  • a7fc8e87d9 Added method SettingsInformationFieldExists netkas 2025-02-03 15:22:44 -05:00
  • 8920080ada Added method VerifyPeerSignature netkas 2025-02-03 15:00:37 -05:00
  • c4eefd5356 Improved exception handling netkas 2025-02-03 14:52:17 -05:00
  • 7485733219 Added method verifyPeerSignature(PeerAddress|string $signingPeer, string $signatureUuid, string $signatureKey, string $signature, string $messageHash, int $signatureTime): SignatureVerificationStatus netkas 2025-02-03 14:11:07 -05:00
  • 0e190c085a Added method signTimedMessage() and verifyTimedMessage() for verifying messages based on signed timestamps netkas 2025-02-03 13:59:11 -05:00
  • 3472728f3a Added missing method netkas 2025-02-03 13:41:48 -05:00
  • f74a91963e Made message signing in Cryptography use SHA512 as the message content for signatures rather than the message content itself to allow for simplified verification in the future netkas 2025-02-03 13:38:41 -05:00
  • 0a13183a0e Removed composer.json (Ew!) netkas 2025-02-03 13:25:16 -05:00
  • 2a0aab4a21 Improved Exception Handling netkas 2025-02-03 13:12:40 -05:00
  • 24530f5494 Improved Exception Handling netkas 2025-02-03 13:02:36 -05:00
  • fdf9da12aa Updated method Authenticate to do one additional check netkas 2025-01-31 22:33:51 -05:00
  • 388605dbce Improved exception handling netkas 2025-01-31 18:34:59 -05:00
  • c813139d9e Improved exception handling netkas 2025-01-31 18:33:24 -05:00
  • 998a7ad2ec Improved exception handling netkas 2025-01-31 18:29:12 -05:00
  • 056ee90515 Improved exception handling netkas 2025-01-31 18:28:09 -05:00
  • a0acb28037 Improved exception handling netkas 2025-01-31 18:26:53 -05:00
  • 3510204dae Improved exception handling netkas 2025-01-31 18:19:44 -05:00
  • cf2936e8e5 Improved exception handling netkas 2025-01-31 18:19:09 -05:00
  • cd4a45c811 Added SettingsSignatureExists netkas 2025-01-31 18:14:36 -05:00
  • 508d4565d9 Added existence check netkas 2025-01-31 18:13:45 -05:00
  • 6ba7397783 Minor correction netkas 2025-01-31 18:11:40 -05:00
  • b78d176fde Improved limit reached error message netkas 2025-01-31 15:33:49 -05:00
  • d8fe574437 Improved exception handling netkas 2025-01-31 15:33:05 -05:00
  • 3014b0b97f Removed unnecessary check netkas 2025-01-31 15:32:06 -05:00
  • 8c2cbf48d5 Improved Peer Resolution and fixed minor bugs and issues, completed todo netkas 2025-01-31 15:31:07 -05:00
  • 7a39b0fd35 Renamed PeerRecord to PeerDatabaseRecord netkas 2025-01-31 15:13:12 -05:00
  • 148a65c2f7 Improved exception handling netkas 2025-01-31 15:07:24 -05:00
  • b813d38ff9 Removed unused import netkas 2025-01-31 15:04:36 -05:00
  • 3b18077e76 Improved exception handling netkas 2025-01-31 15:04:22 -05:00