Commit Graph

79 Commits

Author SHA1 Message Date
thunder2
7f58460e5f Added DEPENDPATH to pro files
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7842 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2015-01-12 23:14:35 +00:00
thunder2
d0238810b7 Common folders for libraries, includes and binaries of all external libraries for Windows compile.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7580 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2014-10-05 15:31:00 +00:00
thunder2
4c6ab35867 Updated external library to openssl-1.0.1h
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7400 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2014-06-05 23:51:48 +00:00
thunder2
9ea4ab24e0 Updated external library to openssl-1.0.1g for Windows compile (merged from v0.5.5)
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7262 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2014-04-10 23:15:24 +00:00
thunder2
f818bb8e9a Fixed Windows compile with Qt 5 (Merged from branch v0.5.5)
- Revert change of revision 7063 in openpgpsdk.pro for Windows compile
- Changed order of the libraries in FeedReader plugin

Fixed Windows compile with MinGW 4.8.0
- Added missing include

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7111 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2014-02-12 22:03:20 +00:00
drbob
3caeb0ab7f Dont know why this breaks OSX build - but it does...
will investigate if the change affects others.



git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7063 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2014-01-28 08:59:19 +00:00
csoler
257d865804 removed asserts and did proper error handling in crypto.c
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7061 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2014-01-27 19:55:43 +00:00
csoler
a8feff606e added missing error handling in validation of key signature and data signature (thx to HM for pointing this out)
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7060 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2014-01-26 20:54:23 +00:00
csoler
928927e038 forgot to commit this in previous commit
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7059 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2014-01-26 20:32:51 +00:00
csoler
ef0a9e43ca fixed proper return of decryption result so that the PGPHandler can report it
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7058 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2014-01-26 20:30:10 +00:00
csoler
f7cbacdcb1 added flag to only limit packets when necessary, otherwise a large keyring cannot be read
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7014 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2014-01-14 21:16:06 +00:00
csoler
2d64e3f540 limited the number of packets to be parsed in a row, to prevent compressed data to contain an enormous number of packets. Fixes one possible attack pointed out by HM
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7013 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2014-01-14 19:58:55 +00:00
csoler
3a567b2d6f fixed possible malloc error when the size is absurdly big (potentially caused by a deliberate attack)
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7002 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2014-01-09 19:59:21 +00:00
csoler
2c19810e37 patch from HM to avoid allocating absurdly long uids
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6958 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2013-12-23 12:59:34 +00:00
csoler
a4a4d3bdda added check for malloc success in packet-parse.c
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6950 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2013-12-19 22:16:17 +00:00
csoler
2f188b8217 removed asserts in packet-parse.c
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6949 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2013-12-18 20:22:59 +00:00
csoler
d8f42ddac7 fixed mistake introduced in 6937 that prevents correct writing of uncompressed packets
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6941 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2013-12-12 17:32:23 +00:00
csoler
156db5fb7c removed asserts and added proper error handling
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6940 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2013-12-10 19:51:47 +00:00
csoler
f4ec563595 removed asserts in reader_armoured.c
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6939 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2013-12-10 14:20:17 +00:00
csoler
3e88b54ae3 removed asserts and put proper error handling in compress.c
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6937 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2013-12-10 09:49:13 +00:00
csoler
e2384724c3 removed asserts from validate.c. This needs to be tested against bad keys!
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6925 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2013-12-05 20:33:09 +00:00
csoler
70a407504f removed asserts in signature.c. Replaced by proper error handling
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6922 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2013-12-04 20:58:57 +00:00
csoler
d0d85c0242 removed one assert in ops
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6920 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2013-12-02 19:45:25 +00:00
csoler
7d0d51dc2a removed assert that would cause RS to stop if a signature ptag is not recognised.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6919 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2013-12-02 19:31:19 +00:00
csoler
261d9102d4 added check over recursive compression depth. Fixes CVE-2013-4402
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6880 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2013-10-29 20:56:40 +00:00
thunder2
13e7ac8b43 Fixed compile of the libraries with MinGW 4.8 on Windows.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6814 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2013-10-07 23:11:10 +00:00
csoler
c34ede4b1c updated values for min/normal partial packet size to 1MB, so that we do not create partial packets for everyday use. We will have to properly extend openpgp-sdk to support parsing of partial packets if we want to PGP-encrypt chunks larger than 1MB.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6553 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2013-08-04 12:44:57 +00:00
csoler
b4f26dcf8f fixed bug due to not using realloc correctly (thanks valgrind)
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6385 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2013-05-30 19:43:05 +00:00
csoler
37854a4697 removed asserts left in packet-parse that would be triggered by the new cleaning code in openpgp-sdk
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6383 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2013-05-30 16:50:17 +00:00
csoler
0266329dc8 - Added a drop-down item to allow removing unused keys, in the Network dialog.
- added key removal method in OpenPGP-SDK
- improved FriendSelectionDialog/Widget to enable select all/none keys, and show non friend keys
- added safe key removal method in PGPHandler. Removed keys from other locations will not cause errors.
- added backup system to public keyring, impossibility to remove public parts of owned secret keys, etc.



git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6382 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2013-05-29 21:32:02 +00:00
csoler
404e9362dc added the ability to produce raw signatures, without signer id nor time stamp
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6273 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2013-03-22 23:54:54 +00:00
thunder2
85c089b09b Fixed #ifdef for Windows compile in openpgpsdk.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@5936 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2012-12-03 18:08:16 +00:00
thunder2
2de928dc64 Moved new files for ops_open from util to openpgpsdk.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@5935 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2012-12-03 16:20:44 +00:00
thunder2
b85bccbbe6 Added function "ops_open" to openpgpsdk to open files with utf8 characters on Windows.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@5934 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2012-12-03 15:58:44 +00:00
csoler
41cb5b7d34 removed some debugging output
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@5560 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2012-09-17 20:09:38 +00:00
thunder2
29d7217c64 Added missing close of the temporary keyring file.
Now the keyring is saved properly and the newly added keys are not lost after shutdown of RetroShare.

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@5523 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2012-09-07 23:32:55 +00:00
csoler
64e171948c removed deadly assert in validate.c:338
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@5409 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2012-08-13 19:30:42 +00:00
csoler
8f27ab280f removed unnecessary assert in free code.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@5384 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2012-08-06 16:37:58 +00:00
thunder2
70aabe11f0 Switched off optimized compile on Windows (again).
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@5376 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2012-08-02 23:25:28 +00:00
csoler
f835e83ff9 fixed up memory leak
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@5374 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2012-08-02 19:40:24 +00:00
csoler
24b38baf6b removed a couple of assert that could crash RS
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@5369 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2012-08-01 14:02:45 +00:00
csoler
2dba7e96bc removed deadly assert in case of parse failure
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@5336 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2012-07-27 14:15:00 +00:00
thunder2
515a0abdb3 Switched to OpenSSL-1.0.1c for Windows compile.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@5329 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2012-07-26 16:59:42 +00:00
thunder2
e305ab547d Moved the include folder OpenSSL to the other external includes for Windows compile.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@5319 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2012-07-21 23:21:39 +00:00
csoler
eec4fcb2f7 added missign break, causing a crash when creating a new key
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@5303 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2012-07-15 20:27:47 +00:00
thunder2
b59f8e664a Renamed the pro-file of OpenPGP-SDK from "src.pro" to "openpgpsdk.pro".
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@5295 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2012-07-13 22:19:32 +00:00
csoler
f5c276c9b5 improved error handling
git-svn-id: http://svn.code.sf.net/p/retroshare/code/branches/v0.5-OpenPGP@5289 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2012-07-12 19:20:31 +00:00
csoler
c9eb267165 implemented export of identity (to create additional locations easily). Import still to do...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/branches/v0.5-OpenPGP@5285 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2012-07-10 21:40:53 +00:00
csoler
54511ad390 fixed bug in certificate signature
git-svn-id: http://svn.code.sf.net/p/retroshare/code/branches/v0.5-OpenPGP@5283 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2012-07-09 20:20:36 +00:00
csoler
93f08ae730 fixed signature code
git-svn-id: http://svn.code.sf.net/p/retroshare/code/branches/v0.5-OpenPGP@5278 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2012-07-07 13:40:40 +00:00