Commit Graph

1905 Commits

Author SHA1 Message Date
csoler
d1785d5e2a restored SSLid to lower case in old certificate format.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@5494 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2012-09-01 09:35:24 +00:00
drbob
42781f6a3e Improved debugging by splitting the errors into multiple #defines.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@5476 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2012-08-27 20:26:11 +00:00
csoler
e34ca140ba debian compatibility fixing for patched-up upnp 1.6.17
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@5442 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2012-08-19 19:32:05 +00:00
drbob
20d7837806 Modified UPNP_VERSION comparison from 10617 to 10800, as it appears the functionality was only added then.
I'm sure I'll be told if this wrong - as I can't test this ;)



git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@5440 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2012-08-18 19:34:14 +00:00
csoler
9f7d54f91d fixed showup of self signatures in certificates that are not in the keyring already
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@5438 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2012-08-17 19:05:22 +00:00
csoler
8a8f85e26b fixed a few issues in RsCertificate class
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@5430 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2012-08-15 20:13:19 +00:00
csoler
2b20ab7fca fixed crashes with poping ConfCertDialog with incomplete certificate
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@5429 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2012-08-15 20:08:18 +00:00
csoler
5b73e36add fixed compilation with libupnp >= 1.6.17
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@5427 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2012-08-15 15:33:30 +00:00
csoler
5d289b520b fixed parsing error handling in pgp key parsing
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@5421 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2012-08-14 19:49:50 +00:00
csoler
b714d68523 fixed code for certificate link generation.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@5420 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2012-08-14 19:31:47 +00:00
csoler
4c72eaa04e added debug #ifdef to certificate handling code
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@5414 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2012-08-14 07:34:29 +00:00
csoler
60f51c358c - added new certificate format in ConfCertDialog and ConnectFriendWizard, with a button to switch to old format if necessary
- added automatic cleaning of certificates in both formats
- grouped all certificate cleaning/parsing code in rscertificate.cc
- removed unused files cleanupxpgp.h/cc
- added upper/lower case to rsid template.

The new format is to be tested. It is supposed to be much more robust than the previous format,
in particular, allowing any string for location names.


git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@5410 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2012-08-13 19:37:50 +00:00
csoler
f7169163ae fixed bug havign forgotten version string init
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@5405 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2012-08-11 21:16:27 +00:00
csoler
8694919ca7 added cleaning of certs in test code
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@5404 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2012-08-11 20:58:59 +00:00
csoler
bc07b16737 - added new class for certificate handling. Has two input/output format: classical pgp armoured block (old) and
new pure radix format, which is easier to parse and much more robust.
- added test program to load/parse certificates in both formats.


git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@5403 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2012-08-11 20:43:10 +00:00
csoler
702263686e - fixed a few bugs in cert creation window:
* private key was not correctly added to private keyring
   * self signature validation was reported unsuccessful when unknown signatures where found
- enabled key import when no key is present


git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@5389 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2012-08-07 19:16:17 +00:00
csoler
570369ad9c fixed re-copy of dht bootstrap file when the file is empty
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@5385 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2012-08-06 17:04:43 +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
b257ada1fd removed small bugs in test program
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@5375 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2012-08-02 19:42:53 +00:00
thunder2
5a4d517188 Trim right spaces from certificate name.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@5373 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2012-08-02 18:23:20 +00:00
csoler
afe62dad28 improved testing code for PGP handler, and added RSA/DSA flags to certificates.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@5371 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2012-08-02 12:14:50 +00:00
thunder2
fe95818384 Switched on optimized compile on Windows (again).
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@5370 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2012-08-02 00:15:35 +00:00
chrisparker126
538c5ed975 serialiser items for rsphotov2
change gxs items to pass type to rsitem base class

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@5358 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2012-07-30 21:29:11 +00:00
drbob
bbae97b88d missing header file.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@5355 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2012-07-30 11:22:29 +00:00
drbob
29e0b2b7a3 Missed a line which should have be commented out - sorry.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@5353 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2012-07-30 11:12:36 +00:00
thunder2
2367653146 Fixed crash when using rs_sprintf/bd_sprintf or rs_sprintf_append/bd_sprintf_append with empty result (maybe only on Windows).
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@5349 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2012-07-29 13:28:45 +00:00
drbob
6a24bdc62c Improved the Id Reputation System to the point of compilation.
-> Its not tested, or running with the checkin.
 * Added NEWMSG Flag to groups in test backend.



git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@5348 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2012-07-29 13:09:36 +00:00
chrisparker126
17da89938f gxs back end now compilable, need to test
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@5346 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2012-07-28 20:01:30 +00:00
csoler
2159ab92f2 fixed compilation
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@5344 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2012-07-28 15:43:25 +00:00
csoler
2440b2d74a return false when ssl passphrase is of length 0. This should not happen, unless the file is void, since openpgp does not complain about decrypting empty files
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@5343 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2012-07-28 15:41:14 +00:00
drbob
ef3ae10c63 * Fix Deadlock in GXS Test Backend ... double Mutex lock for ALL Msgs removed.
* Disable periodic print out of bandwidth control.



git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@5340 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2012-07-28 01:49:09 +00:00
drbob
bec1407648 Merged Code from: /branches/v0.5-new_cache_system/ into main trunk.
- Revisions 4771 => 5334

 * This merge brings a lot of unfinished code for GXS (new cache system)
 	- See branch commits for more details.
 * Code is disabled, and should have minimal effect on trunk build.



git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@5338 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2012-07-27 15:03:16 +00:00
csoler
a28786513e improved pgp cleaning function
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@5335 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2012-07-27 14:08:35 +00:00
drbob
02b2c72f61 * Added a bunch of unfinished code for Id reputation management (#ifdef'd out).
* Disabled GXS services from compilation, or running as services.
 * moved retrodb.cc into newcache group, as it introduces new sqlite dependancy




git-svn-id: http://svn.code.sf.net/p/retroshare/code/branches/v0.5-new_cache_system@5333 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2012-07-27 12:45:52 +00:00
drbob
f34f617f00 Changes to get openpgpsdk version working on OSX.
- switch to OSX10.6 for upgraded SSL, with different fn signature.
 - correct library paths in libretroshare.pro



git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@5331 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2012-07-27 12:28:40 +00:00
chrisparker126
d50ecd145f cache stuff does not compile. just saving lots of coding i've done.
Completed most of the coding for first new cache service, need to fix compile errors and test. 

git-svn-id: http://svn.code.sf.net/p/retroshare/code/branches/v0.5-new_cache_system@5330 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2012-07-26 21:48:54 +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
csoler
10eab84b7c fixed bug due to misinterpreting non SSLid drectories as potential locations
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@5328 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2012-07-25 22:43:43 +00:00
chrisparker126
b2c74a045f Tidying up of libretroshare.pro, removed gxs from compilation
git-svn-id: http://svn.code.sf.net/p/retroshare/code/branches/v0.5-new_cache_system@5326 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2012-07-24 18:55:32 +00:00
csoler
6e47f2f9e7 removed output of SSL passwd in terminal
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@5324 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2012-07-23 21:43:00 +00:00
csoler
d06780744e possible fix for bug on ARM archs (reported by Ralfk)
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@5323 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2012-07-23 21:42:16 +00:00
chrisparker126
5fbd591517 replaced string grp and msg ids with typedefs
started implementing gen exchange client calls
finished implementing msgrelated info dataAccess routine
more refinements to various interface - need to think about how meta is passed about the various
layers of gxs and kept consistent with sqldb

git-svn-id: http://svn.code.sf.net/p/retroshare/code/branches/v0.5-new_cache_system@5321 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2012-07-22 21:38:15 +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
616825ec4b fixed possible bug due to misplaced mutex (Reported by bNK)
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@5318 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2012-07-20 21:42:16 +00:00
csoler
ee77ec8c6c added warning for unsupported keys. It is triggered when no valid keypairs are found at start, and when unsupported keys pairs are found when copying the keyring
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@5317 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2012-07-20 19:00:10 +00:00
csoler
24f8ee6222 Added dynamic choose of sources for chunk crc requests. Fixes the bug that would let
a transfer not finish if the original surce for a crc is not here anymore.

If you have a unfinished transfer do a force-check after restart to get back chunks that 
where still on verificaiton stage.



git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@5315 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2012-07-19 20:52:04 +00:00
chrisparker126
3534aad90d more dbase implementation
removed msgrelatedinfo request as this can be merged to normal msg request

git-svn-id: http://svn.code.sf.net/p/retroshare/code/branches/v0.5-new_cache_system@5314 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2012-07-18 21:35:41 +00:00
chrisparker126
90c1aa4903 begun in ernest implementing data access (RsTokenService) interface for gui
added request processing and generalised request base class (switch to casts)
msg request now have grpId option
ci code not part of build


git-svn-id: http://svn.code.sf.net/p/retroshare/code/branches/v0.5-new_cache_system@5310 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2012-07-17 21:27:43 +00:00
csoler
7a04f22eef attempt at fixing the .gnupg/ lookout issue at start
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@5306 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2012-07-16 21:23:01 +00:00
chrisparker126
52a911329e group synchronisation now working (message syn not up yet, will do later, simple extension)
updated hub test


git-svn-id: http://svn.code.sf.net/p/retroshare/code/branches/v0.5-new_cache_system@5300 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2012-07-15 12:38:20 +00:00