Cyril Soler
d878334551
Merge pull request #206 from realityfabric/master
...
Added top level license file for GPL 2.0
2016-02-16 17:45:49 -05:00
csoler
9c6e7dfc13
added checks after mallocs in several files
2016-01-11 23:49:00 -05:00
Jessie RealityFabric
5519b08a75
Create LICENSE.md
2015-12-16 02:14:19 -08:00
defnax
c41f98cb4c
Merge pull request #86 from PhenomRetroShare/Fix_Win7_32bCompilationFromScratch
...
Fix Windows 7 32b Compilation from scratch.
2015-11-06 01:58:30 +01:00
csoler
b2dbf9d30a
adding missing BIO_free (issue #138 )
2015-10-20 18:16:18 -04:00
Phenom
79d761ae2e
Add Win32 section in retroshare.pri
...
And add MSys2 directories.
2015-10-17 12:15:36 +02:00
AsamK
2be400e33e
CONFIG shouldn't be reset at qmake call, use CONFIG+=… instead
...
With CONFIG=…, the default values of CONFIG are cleared, with qt4 this
doesn't seem to be a problem, but with qt5 the build fails.
CONFIG=staticlib in openpgpsdk.pro was added in 3caeb0ab7f
for OS X, but is not necessary on linux
2015-09-01 14:53:17 +02:00
AsamK
e135e3441c
Create retroshare.pri for common configurations in .pro files
...
So far it only contains the default values for installation paths
2015-08-31 21:09:28 +02:00
csoler
2b8eafa1db
removed default debug flag in .pro files. Fixed up version.h in packaging script.
2015-08-02 18:35:27 +02:00
electron128
779ebbf925
fixed potential use after free in openpgpsdk
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@8491 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2015-06-16 14:09:34 +00:00
electron128
4b624a6091
fixed double free in openpgpsdk
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@8490 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2015-06-16 13:47:41 +00:00
electron128
5e5dd3d12d
fixed potential invalid memory read in openpgpsdk
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@8486 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2015-06-16 13:23:06 +00:00
csoler
74c01423f0
improved login system: do not re-ask for passphrase when user clicks cancel. Removed warning stating that maybe passphrase is wrong
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@8415 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2015-06-11 20:31:52 +00:00
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