csoler
da1c8a6aa3
proper save of keys with all signatures
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/branches/v0.5-OpenPGP@5272 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2012-07-02 21:45:43 +00:00
csoler
53416b85c3
fixed adding self signature at certificate generation
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/branches/v0.5-OpenPGP@5271 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2012-07-02 20:46:14 +00:00
csoler
b3b7fc3475
added test to read and display key from file
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/branches/v0.5-OpenPGP@5270 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2012-07-02 19:19:21 +00:00
csoler
d5675a0d59
fixed bug with key exchange
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/branches/v0.5-OpenPGP@5267 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2012-07-01 22:24:37 +00:00
csoler
419c8eafb5
added lock when generating new cert
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/branches/v0.5-OpenPGP@5266 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2012-07-01 21:50:48 +00:00
csoler
9a07328ac2
fixed output/syncing of secret keyring
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/branches/v0.5-OpenPGP@5265 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2012-07-01 21:40:44 +00:00
thunder2
eac2c010c3
Fixed compile on Windows.
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/branches/v0.5-OpenPGP@5264 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2012-07-01 20:08:28 +00:00
csoler
e723c8739d
fixed bug in keypair generation
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/branches/v0.5-OpenPGP@5263 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2012-07-01 14:34:11 +00:00
csoler
f68cc45461
updated .pro files for compilation
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/branches/v0.5-OpenPGP@5261 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2012-07-01 13:15:36 +00:00
csoler
3b5816e4f8
- added auto-update and sync of keyrings and trustdb between different instances (Not fully tested yet!)
...
- added checking of compatibility for DSA before calling openssl
git-svn-id: http://svn.code.sf.net/p/retroshare/code/branches/v0.5-OpenPGP@5259 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2012-06-29 19:38:19 +00:00
thunder2
f000a05c09
Fixed crash in RsLoginHandler::checkAndStoreSSLPasswdIntoGPGFile.
...
fclose with invalid file handle.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/branches/v0.5-OpenPGP@5258 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2012-06-29 14:04:09 +00:00
csoler
e9018f80b8
fixed test programs for openpgp
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/branches/v0.5-OpenPGP@5253 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2012-06-24 13:16:33 +00:00
csoler
9357a228a6
added read/write of trust database in private format
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/branches/v0.5-OpenPGP@5237 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2012-06-20 21:59:04 +00:00
csoler
b7356a952e
fixed stupid bug about hashing with wrong line feeds. Already corrected in the trunk ;-)
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/branches/v0.5-OpenPGP@5229 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2012-06-18 20:24:48 +00:00
thunder2
09847b1366
Fixed problem on Windows where ftServer::tick was not called.
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/branches/v0.5-OpenPGP@5227 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2012-06-17 00:42:55 +00:00
thunder2
af19809ef7
Fixed crash and memory leak in parse_literal_data.
...
Added "break" in RsInit::InitRetroShare.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/branches/v0.5-OpenPGP@5225 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2012-06-16 09:40:59 +00:00
csoler
1b58ef74f8
implemented efficient signature merging. Not fully tested yet!
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/branches/v0.5-OpenPGP@5223 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2012-06-15 21:58:46 +00:00
thunder2
f50edd228f
- Fixed compile on Windows. Added new type "rs_lock_handle_t" for file locking functions.
...
- Added missing check of file pointer in PGPHandler::decryptTextFromFile
- Added missing fclose of the ssl passphrase file in RsLoginHandler::getSSLPasswdFromGPGFile. Is this still needed, because PGPHandler::decryptTextFromFile does the same check?
- Fixed possible memory leak in ops_decrypt_memory.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/branches/v0.5-OpenPGP@5222 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2012-06-14 22:53:02 +00:00
csoler
dba66cdd7a
added check for DSA/RSA key algorithm. Disabled make friend, login and cert creation, with unsupported keys
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/branches/v0.5-OpenPGP@5221 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2012-06-14 20:13:31 +00:00
csoler
36bec260b9
fixed crash due to writing an unsupported key type
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/branches/v0.5-OpenPGP@5218 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2012-06-13 20:54:39 +00:00
csoler
043c7a8139
fixed bug in saving accepted pgp ids
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/branches/v0.5-OpenPGP@5217 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2012-06-12 21:19:38 +00:00
csoler
f30a3f1b16
- moved lock handle functions to rsdir.h/cc
...
- created a scope guard to manage file lock handles
- added lock gards to PGP keyring read/writes.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/branches/v0.5-OpenPGP@5216 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2012-06-12 20:31:13 +00:00
thunder2
1885fb66c4
- Enabled compile on Windows (bzip2 library needed).
...
- Fixed crash after the second call to RsInit::InitRetroShare when keyring does not exist.
The instance of AuthSSL was created twice and AuthGPG was deleted without stopping the thread. Stopped the AuthGPG thread on exit of RetroShare.
- Added the correct path to the keyring for Windows in RsInit::copyGnuPGKeyrings.
- Changed the detection of the portable version on Windows from the file "gpg.exe" to the file "portable".
git-svn-id: http://svn.code.sf.net/p/retroshare/code/branches/v0.5-OpenPGP@5211 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2012-06-10 00:29:46 +00:00
csoler
a91e859b66
added dialog box to import existing keyrings when starting the new pgp version for the first time
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/branches/v0.5-OpenPGP@5210 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2012-06-09 21:01:22 +00:00
csoler
2e05d0ef01
moved tests to test directory
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/branches/v0.5-OpenPGP@5209 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2012-06-09 18:45:35 +00:00
csoler
af1fe976e2
exposed generic ID type in util/, patched rest of the code to use it.
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/branches/v0.5-OpenPGP@5197 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2012-06-06 20:31:19 +00:00
csoler
ba56f5f611
fixed memory leaks
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/branches/v0.5-OpenPGP@5167 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2012-05-14 20:01:00 +00:00
csoler
ad5ca59a7a
Fixed signature parsing
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/branches/v0.5-OpenPGP@5164 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2012-05-13 19:04:13 +00:00
csoler
fcb202f666
added keyring output
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/branches/v0.5-OpenPGP@5131 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2012-05-01 18:45:24 +00:00
csoler
60fcd981c1
fixed binary signature
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/branches/v0.5-OpenPGP@5128 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2012-05-01 08:53:32 +00:00
csoler
ce5e6d3949
fixed password handling
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/branches/v0.5-OpenPGP@5127 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2012-04-29 11:57:03 +00:00
csoler
42687f32aa
first working version !
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/branches/v0.5-OpenPGP@5123 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2012-04-26 21:39:45 +00:00
csoler
afc23f39c8
fixed signature verification
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/branches/v0.5-OpenPGP@5122 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2012-04-26 19:37:15 +00:00
csoler
0587216350
fixed parsing of gpg info
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/branches/v0.5-OpenPGP@5116 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2012-04-22 11:36:34 +00:00
csoler
fa429ad8d4
added caching of GPG information to PGPHandler
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/branches/v0.5-OpenPGP@5086 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2012-04-09 17:03:47 +00:00
csoler
b43fb7e8b3
- added encryption / decryption of files and memory
...
- started implementation of new AuthGPG
git-svn-id: http://svn.code.sf.net/p/retroshare/code/branches/v0.5-OpenPGP@5084 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2012-04-08 14:52:01 +00:00
csoler
c27f695a37
updated to trunk of openpgp-sdk
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/branches/v0.5-OpenPGP@5078 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2012-04-04 19:27:07 +00:00
csoler
eb448cbaaf
fixed memory issue, added signature verification (uncomplete)
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/branches/v0.5-OpenPGP@5072 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2012-04-01 21:10:54 +00:00
csoler
33a37054e8
fixed several memory leaks
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/branches/v0.5-OpenPGP@5071 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2012-04-01 16:43:23 +00:00
csoler
1888b21998
- added key copy methods to OpenPGP-SDK
...
- added encrypted key storage and retrieval to own keyring after generation
- improved test program
git-svn-id: http://svn.code.sf.net/p/retroshare/code/branches/v0.5-OpenPGP@5070 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2012-04-01 12:52:15 +00:00
csoler
648555711c
debugging of pgpkey parser and radix output form openpgpsdk
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/branches/v0.5-OpenPGP@5061 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2012-03-29 21:51:37 +00:00
csoler
51fa97ac59
bug fixing
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/branches/v0.5-OpenPGP@5053 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2012-03-27 21:45:43 +00:00
csoler
765b6b9486
improvements to openpgp-sdk integration. Added/tested key generation, keyring output
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/branches/v0.5-OpenPGP@5052 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2012-03-27 20:48:21 +00:00
csoler
4299d09741
patched openpgpsdkfor c++ compilation, added test program, started retroshare PGPHandler component
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/branches/v0.5-OpenPGP@5050 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2012-03-26 21:17:04 +00:00
csoler
889a2b2433
Added deferred check of chunks during file transfer. Chunk sha1 sums are requested to the sources and checked for downloaded data.
...
Validated chunks are shared to other peers. Force check is now very simple since it just turns all chunks into "needs checking" mode
and sums are asked to sources. Sources maintain a temporary cache of chunks. Since sums are requested sparsely, this should not
affect the sources in terms of performance. We can still imagine precomputing and saving sha1 of chunks while hashing them.
For backward compatibility reasons, the following has been setup *temporarily* in this version:
- unvalidated chunks are still considered as already obtained, and are shared and saved
- force check has been disabled
- final file check is maintained
- in case of file fail, the old checking mode will be used.
All changes for next version are kept in the define 'USE_NEW_CHUNK_CHECKING_CODE' that will be made the default in a few weeks.
At start, I expect most chunk to stya yellow during download, until most sources are able to provide chunk hashs.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@5019 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2012-03-15 19:55:43 +00:00
thunder2
42bf3682ab
Prepared libretroshare for compile with OpenSSL 1.0.
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@5017 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2012-03-13 20:35:58 +00:00
csoler
75f3a6a5d8
disabled adding new keys from friends of friends when discovery if off
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@5016 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2012-03-12 21:38:41 +00:00
csoler
ea40749f6f
fixed bug returning false while a string is expected
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@5006 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2012-03-06 19:59:22 +00:00
thunder2
30564fe6ad
Fixed utf8 characters in the transfer tab name of plugins.
...
Added Q_OBJECT to the VoipStatistics classes.
Removed compiler warnings.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@5002 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2012-02-28 18:25:57 +00:00
csoler
0d8f65d480
fixed connexion of setInterfaces for all plugins
...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@5001 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2012-02-27 18:41:21 +00:00