re-licensed gxstrans, gxstunnel, pgp, plugins and half pqi

This commit is contained in:
csoler 2018-05-26 14:45:43 +02:00
parent 8a07f2c8c4
commit 1fee544db7
No known key found for this signature in database
GPG Key ID: 7BCA522266C0804C
27 changed files with 582 additions and 435 deletions

View File

@ -1,28 +1,24 @@
/* /*******************************************************************************
* libretroshare/src/ft: ftdata.h * libretroshare/src/ft: ftdata.h *
* * *
* File Transfer for RetroShare. * libretroshare: retroshare core library *
* * *
* Copyright 2008 by Robert Fernie. * Copyright 2008 by Robert Fernie <drbob@lunamutt.com> *
* * *
* This library is free software; you can redistribute it and/or * This program is free software: you can redistribute it and/or modify *
* modify it under the terms of the GNU Library General Public * it under the terms of the GNU Affero General Public License as *
* License Version 2 as published by the Free Software Foundation. * published by the Free Software Foundation, either version 3 of the *
* * License, or (at your option) any later version. *
* This library is distributed in the hope that it will be useful, * *
* but WITHOUT ANY WARRANTY; without even the implied warranty of * This program is distributed in the hope that it will be useful, *
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU * but WITHOUT ANY WARRANTY; without even the implied warranty of *
* Library General Public License for more details. * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
* * GNU Affero General Public License for more details. *
* You should have received a copy of the GNU Library General Public * *
* License along with this library; if not, write to the Free Software * You should have received a copy of the GNU Affero General Public License *
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 * along with this program. If not, see <https://www.gnu.org/licenses/>. *
* USA. * *
* *******************************************************************************/
* Please report all bugs and problems to "retroshare@lunamutt.com".
*
*/
#ifndef FT_DATA_INTERFACE_HEADER #ifndef FT_DATA_INTERFACE_HEADER
#define FT_DATA_INTERFACE_HEADER #define FT_DATA_INTERFACE_HEADER

View File

@ -1,21 +1,24 @@
/* /*******************************************************************************
* GXS Mailing Service * libretroshare/src/gxstrans: p3gxstrans.cc *
* Copyright (C) 2016-2017 Gioacchino Mazzurco <gio@eigenlab.org> * *
* * libretroshare: retroshare core library *
* This program is free software: you can redistribute it and/or modify * *
* it under the terms of the GNU Affero General Public License as * Copyright (C) 2016-2017 Gioacchino Mazzurco <gio@eigenlab.org> *
* published by the Free Software Foundation, either version 3 of the * *
* License, or (at your option) any later version. * This program is free software: you can redistribute it and/or modify *
* * it under the terms of the GNU Affero General Public License as *
* This program is distributed in the hope that it will be useful, * published by the Free Software Foundation, either version 3 of the *
* but WITHOUT ANY WARRANTY; without even the implied warranty of * License, or (at your option) any later version. *
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * *
* GNU Affero General Public License for more details. * This program is distributed in the hope that it will be useful, *
* * but WITHOUT ANY WARRANTY; without even the implied warranty of *
* You should have received a copy of the GNU Affero General Public License * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
* along with this program. If not, see <http://www.gnu.org/licenses/>. * GNU Affero General Public License for more details. *
*/ * *
* You should have received a copy of the GNU Affero General Public License *
* along with this program. If not, see <https://www.gnu.org/licenses/>. *
* *
*******************************************************************************/
#include "util/rsdir.h" #include "util/rsdir.h"
#include "gxstrans/p3gxstrans.h" #include "gxstrans/p3gxstrans.h"
#include "util/stacktrace.h" #include "util/stacktrace.h"

View File

@ -1,21 +1,25 @@
/*******************************************************************************
* libretroshare/src/gxstrans: p3gxstrans.h *
* *
* libretroshare: retroshare core library *
* *
* Copyright (C) 2016-2017 Gioacchino Mazzurco <gio@eigenlab.org> *
* *
* This program is free software: you can redistribute it and/or modify *
* it under the terms of the GNU Affero General Public License as *
* published by the Free Software Foundation, either version 3 of the *
* License, or (at your option) any later version. *
* *
* This program is distributed in the hope that it will be useful, *
* but WITHOUT ANY WARRANTY; without even the implied warranty of *
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
* GNU Affero General Public License for more details. *
* *
* You should have received a copy of the GNU Affero General Public License *
* along with this program. If not, see <https://www.gnu.org/licenses/>. *
* *
*******************************************************************************/
#pragma once #pragma once
/*
* GXS Mailing Service
* Copyright (C) 2016-2017 Gioacchino Mazzurco <gio@eigenlab.org>
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as
* published by the Free Software Foundation, either version 3 of the
* License, or (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Affero General Public License for more details.
*
* You should have received a copy of the GNU Affero General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#include <stdint.h> #include <stdint.h>
#include <unordered_map> #include <unordered_map>

View File

@ -1,21 +1,24 @@
/* /*******************************************************************************
* GXS Mailing Service * libretroshare/src/gxstrans: p3gxstrans.cc *
* Copyright (C) 2016-2018 Gioacchino Mazzurco <gio@eigenlab.org> * *
* * libretroshare: retroshare core library *
* This program is free software: you can redistribute it and/or modify * *
* it under the terms of the GNU Affero General Public License as * Copyright (C) 2016-2018 Gioacchino Mazzurco <gio@eigenlab.org> *
* published by the Free Software Foundation, either version 3 of the * *
* License, or (at your option) any later version. * This program is free software: you can redistribute it and/or modify *
* * it under the terms of the GNU Affero General Public License as *
* This program is distributed in the hope that it will be useful, * published by the Free Software Foundation, either version 3 of the *
* but WITHOUT ANY WARRANTY; without even the implied warranty of * License, or (at your option) any later version. *
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * *
* GNU Affero General Public License for more details. * This program is distributed in the hope that it will be useful, *
* * but WITHOUT ANY WARRANTY; without even the implied warranty of *
* You should have received a copy of the GNU Affero General Public License * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
* along with this program. If not, see <http://www.gnu.org/licenses/>. * GNU Affero General Public License for more details. *
*/ * *
* You should have received a copy of the GNU Affero General Public License *
* along with this program. If not, see <https://www.gnu.org/licenses/>. *
* *
*******************************************************************************/
#include "gxstrans/p3gxstransitems.h" #include "gxstrans/p3gxstransitems.h"
#include "serialiser/rstypeserializer.h" #include "serialiser/rstypeserializer.h"

View File

@ -1,21 +1,25 @@
/*******************************************************************************
* libretroshare/src/gxstrans: p3gxstrans.cc *
* *
* libretroshare: retroshare core library *
* *
* Copyright (C) 2016-2017 Gioacchino Mazzurco <gio@eigenlab.org> *
* *
* This program is free software: you can redistribute it and/or modify *
* it under the terms of the GNU Affero General Public License as *
* published by the Free Software Foundation, either version 3 of the *
* License, or (at your option) any later version. *
* *
* This program is distributed in the hope that it will be useful, *
* but WITHOUT ANY WARRANTY; without even the implied warranty of *
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
* GNU Affero General Public License for more details. *
* *
* You should have received a copy of the GNU Affero General Public License *
* along with this program. If not, see <https://www.gnu.org/licenses/>. *
* *
*******************************************************************************/
#pragma once #pragma once
/*
* GXS Mailing Service
* Copyright (C) 2016-2017 Gioacchino Mazzurco <gio@eigenlab.org>
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as
* published by the Free Software Foundation, either version 3 of the
* License, or (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Affero General Public License for more details.
*
* You should have received a copy of the GNU Affero General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#include <string> #include <string>

View File

@ -1,28 +1,25 @@
/* /*******************************************************************************
* libretroshare/src/chat: distantchat.cc * libretroshare/src/chat: distantchat.cc *
* * *
* Services for RetroShare. * libretroshare: retroshare core library *
* * *
* Copyright 2014 by Cyril Soler * Copyright 2015 by Cyril Soler <csoler@users.sourceforge.net> *
* * *
* This library is free software; you can redistribute it and/or * This program is free software: you can redistribute it and/or modify *
* modify it under the terms of the GNU Library General Public * it under the terms of the GNU Affero General Public License as *
* License Version 2 as published by the Free Software Foundation. * published by the Free Software Foundation, either version 3 of the *
* * License, or (at your option) any later version. *
* This library is distributed in the hope that it will be useful, * *
* but WITHOUT ANY WARRANTY; without even the implied warranty of * This program is distributed in the hope that it will be useful, *
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU * but WITHOUT ANY WARRANTY; without even the implied warranty of *
* Library General Public License for more details. * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
* * GNU Affero General Public License for more details. *
* You should have received a copy of the GNU Library General Public * *
* License along with this library; if not, write to the Free Software * You should have received a copy of the GNU Affero General Public License *
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 * along with this program. If not, see <https://www.gnu.org/licenses/>. *
* USA. * *
* *******************************************************************************/
* Please report all bugs and problems to "csoler@users.sourceforge.net". #pragma once
*
*/
#include <unistd.h> #include <unistd.h>

View File

@ -1,28 +1,24 @@
/* /*******************************************************************************
* libretroshare/src/chat: distantchat.h * libretroshare/src/chat: distantchat.h *
* * *
* Services for RetroShare. * libretroshare: retroshare core library *
* * *
* Copyright 2015 by Cyril Soler * Copyright 2015 by Cyril Soler <csoler@users.sourceforge.net> *
* * *
* This library is free software; you can redistribute it and/or * This program is free software: you can redistribute it and/or modify *
* modify it under the terms of the GNU Library General Public * it under the terms of the GNU Affero General Public License as *
* License Version 2 as published by the Free Software Foundation. * published by the Free Software Foundation, either version 3 of the *
* * License, or (at your option) any later version. *
* This library is distributed in the hope that it will be useful, * *
* but WITHOUT ANY WARRANTY; without even the implied warranty of * This program is distributed in the hope that it will be useful, *
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU * but WITHOUT ANY WARRANTY; without even the implied warranty of *
* Library General Public License for more details. * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
* * GNU Affero General Public License for more details. *
* You should have received a copy of the GNU Library General Public * *
* License along with this library; if not, write to the Free Software * You should have received a copy of the GNU Affero General Public License *
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 * along with this program. If not, see <https://www.gnu.org/licenses/>. *
* USA. * *
* *******************************************************************************/
* Please report all bugs and problems to "csoler@users.sourceforge.net".
*
*/
#pragma once #pragma once
// Generic tunnel service // Generic tunnel service

View File

@ -1,28 +1,25 @@
/*******************************************************************************
/* * libretroshare/src/gxstunnel: rsgxstunnelitems.cc *
* libretroshare/src/serialiser: rsbaseitems.cc * *
* * libretroshare: retroshare core library *
* RetroShare Serialiser. * *
* * Copyright 2015 by Cyril Soler <csoler@users.sourceforge.net> *
* Copyright 2007-2008 by Robert Fernie. * *
* * This program is free software: you can redistribute it and/or modify *
* This library is free software; you can redistribute it and/or * it under the terms of the GNU Affero General Public License as *
* modify it under the terms of the GNU Library General Public * published by the Free Software Foundation, either version 3 of the *
* License Version 2 as published by the Free Software Foundation. * License, or (at your option) any later version. *
* * *
* This library is distributed in the hope that it will be useful, * This program is distributed in the hope that it will be useful, *
* but WITHOUT ANY WARRANTY; without even the implied warranty of * but WITHOUT ANY WARRANTY; without even the implied warranty of *
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
* Library General Public License for more details. * GNU Affero General Public License for more details. *
* * *
* You should have received a copy of the GNU Library General Public * You should have received a copy of the GNU Affero General Public License *
* License along with this library; if not, write to the Free Software * along with this program. If not, see <https://www.gnu.org/licenses/>. *
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 * *
* USA. *******************************************************************************/
* #pragma once
* Please report all bugs and problems to "retroshare@lunamutt.com".
*
*/
#include <stdexcept> #include <stdexcept>
#include <time.h> #include <time.h>

View File

@ -1,28 +1,24 @@
/* /*******************************************************************************
* libretroshare/src/serialiser: rschatitems.h * libretroshare/src/chat: rsgxstunnelitems.h *
* * *
* RetroShare Serialiser. * libretroshare: retroshare core library *
* * *
* Copyright 2007-2008 by Robert Fernie. * Copyright 2015 by Cyril Soler <csoler@users.sourceforge.net> *
* * *
* This library is free software; you can redistribute it and/or * This program is free software: you can redistribute it and/or modify *
* modify it under the terms of the GNU Library General Public * it under the terms of the GNU Affero General Public License as *
* License Version 2 as published by the Free Software Foundation. * published by the Free Software Foundation, either version 3 of the *
* * License, or (at your option) any later version. *
* This library is distributed in the hope that it will be useful, * *
* but WITHOUT ANY WARRANTY; without even the implied warranty of * This program is distributed in the hope that it will be useful, *
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU * but WITHOUT ANY WARRANTY; without even the implied warranty of *
* Library General Public License for more details. * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
* * GNU Affero General Public License for more details. *
* You should have received a copy of the GNU Library General Public * *
* License along with this library; if not, write to the Free Software * You should have received a copy of the GNU Affero General Public License *
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 * along with this program. If not, see <https://www.gnu.org/licenses/>. *
* USA. * *
* *******************************************************************************/
* Please report all bugs and problems to "retroshare@lunamutt.com".
*
*/
#pragma once #pragma once
#include <openssl/ssl.h> #include <openssl/ssl.h>

View File

@ -1,27 +1,25 @@
/* /*******************************************************************************
* libretroshare/src/pgp: pgpauxutils.cc * libretroshare/src/pgp: pgpauxutils.cc *
* * *
* PGP interface for RetroShare. * libretroshare: retroshare core library *
* * *
* Copyright 2014-2014 by Robert Fernie. * Copyright 2014 Robert Fernie <drbob@lunamutt.com> *
* * *
* This library is free software; you can redistribute it and/or * This program is free software: you can redistribute it and/or modify *
* modify it under the terms of the GNU Library General Public * it under the terms of the GNU Affero General Public License as *
* License Version 2.1 as published by the Free Software Foundation. * published by the Free Software Foundation, either version 3 of the *
* * License, or (at your option) any later version. *
* This library is distributed in the hope that it will be useful, * *
* but WITHOUT ANY WARRANTY; without even the implied warranty of * This program is distributed in the hope that it will be useful, *
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU * but WITHOUT ANY WARRANTY; without even the implied warranty of *
* Library General Public License for more details. * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
* * GNU Affero General Public License for more details. *
* You should have received a copy of the GNU Library General Public * *
* License along with this library; if not, write to the Free Software * You should have received a copy of the GNU Affero General Public License *
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 * along with this program. If not, see <https://www.gnu.org/licenses/>. *
* USA. * *
* *******************************************************************************/
* Please report all bugs and problems to "retroshare@lunamutt.com". #pragma once
*
*/
#include "pgp/pgpauxutils.h" #include "pgp/pgpauxutils.h"

View File

@ -1,28 +1,24 @@
/* /*******************************************************************************
* libretroshare/src/pgp: pgpauxutils.h * libretroshare/src/pgp: pgpauxutils.h *
* * *
* PGP interface for RetroShare. * libretroshare: retroshare core library *
* * *
* Copyright 2014-2014 by Robert Fernie. * Copyright 2014 Robert Fernie <drbob@lunamutt.com> *
* * *
* This library is free software; you can redistribute it and/or * This program is free software: you can redistribute it and/or modify *
* modify it under the terms of the GNU Library General Public * it under the terms of the GNU Affero General Public License as *
* License Version 2.1 as published by the Free Software Foundation. * published by the Free Software Foundation, either version 3 of the *
* * License, or (at your option) any later version. *
* This library is distributed in the hope that it will be useful, * *
* but WITHOUT ANY WARRANTY; without even the implied warranty of * This program is distributed in the hope that it will be useful, *
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU * but WITHOUT ANY WARRANTY; without even the implied warranty of *
* Library General Public License for more details. * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
* * GNU Affero General Public License for more details. *
* You should have received a copy of the GNU Library General Public * *
* License along with this library; if not, write to the Free Software * You should have received a copy of the GNU Affero General Public License *
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 * along with this program. If not, see <https://www.gnu.org/licenses/>. *
* USA. * *
* *******************************************************************************/
* Please report all bugs and problems to "retroshare@lunamutt.com".
*
*/
#pragma once #pragma once
#include "retroshare/rsids.h" #include "retroshare/rsids.h"

View File

@ -1,3 +1,26 @@
/*******************************************************************************
* libretroshare/src/pgp: pgphandler.cc *
* *
* libretroshare: retroshare core library *
* *
* Copyright 2018 Cyril Soler <csoler@users.sourceforge.net> *
* *
* This program is free software: you can redistribute it and/or modify *
* it under the terms of the GNU Affero General Public License as *
* published by the Free Software Foundation, either version 3 of the *
* License, or (at your option) any later version. *
* *
* This program is distributed in the hope that it will be useful, *
* but WITHOUT ANY WARRANTY; without even the implied warranty of *
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
* GNU Affero General Public License for more details. *
* *
* You should have received a copy of the GNU Affero General Public License *
* along with this program. If not, see <https://www.gnu.org/licenses/>. *
* *
*******************************************************************************/
#pragma once
#include <stdexcept> #include <stdexcept>
#include <sstream> #include <sstream>
#include <iostream> #include <iostream>

View File

@ -1,3 +1,26 @@
/*******************************************************************************
* libretroshare/src/pgp: pgphandler.h *
* *
* libretroshare: retroshare core library *
* *
* Copyright 2018 Cyril Soler <csoler@users.sourceforge.net> *
* *
* This program is free software: you can redistribute it and/or modify *
* it under the terms of the GNU Affero General Public License as *
* published by the Free Software Foundation, either version 3 of the *
* License, or (at your option) any later version. *
* *
* This program is distributed in the hope that it will be useful, *
* but WITHOUT ANY WARRANTY; without even the implied warranty of *
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
* GNU Affero General Public License for more details. *
* *
* You should have received a copy of the GNU Affero General Public License *
* along with this program. If not, see <https://www.gnu.org/licenses/>. *
* *
*******************************************************************************/
#pragma once
#pragma once #pragma once
// This class implements an abstract pgp handler to be used in RetroShare. // This class implements an abstract pgp handler to be used in RetroShare.

View File

@ -1,3 +1,26 @@
/*******************************************************************************
* libretroshare/src/pgp: pgpkeyutil.cc *
* *
* libretroshare: retroshare core library *
* *
* Copyright 2018 Cyril Soler <csoler@users.sourceforge.net> *
* *
* This program is free software: you can redistribute it and/or modify *
* it under the terms of the GNU Affero General Public License as *
* published by the Free Software Foundation, either version 3 of the *
* License, or (at your option) any later version. *
* *
* This program is distributed in the hope that it will be useful, *
* but WITHOUT ANY WARRANTY; without even the implied warranty of *
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
* GNU Affero General Public License for more details. *
* *
* You should have received a copy of the GNU Affero General Public License *
* along with this program. If not, see <https://www.gnu.org/licenses/>. *
* *
*******************************************************************************/
#pragma once
#include <stdint.h> #include <stdint.h>
#include <util/radix64.h> #include <util/radix64.h>
#include "pgpkeyutil.h" #include "pgpkeyutil.h"

View File

@ -1,24 +1,24 @@
/**************************************************************** /*******************************************************************************
* RetroShare is distributed under the following license: * libretroshare/src/pgp: pgpkeyutil.h *
* * *
* Copyright (C) 2012 Cyril Soler <csoler@users.sourceforge.net> * libretroshare: retroshare core library *
* * *
* This program is free software; you can redistribute it and/or * Copyright 2012 Cyril Soler <csoler@users.sourceforge.net> *
* modify it under the terms of the GNU General Public License * *
* as published by the Free Software Foundation; either version 2 * This program is free software: you can redistribute it and/or modify *
* of the License, or (at your option) any later version. * it under the terms of the GNU Affero General Public License as *
* * published by the Free Software Foundation, either version 3 of the *
* This program is distributed in the hope that it will be useful, * License, or (at your option) any later version. *
* but WITHOUT ANY WARRANTY; without even the implied warranty of * *
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * This program is distributed in the hope that it will be useful, *
* GNU General Public License for more details. * but WITHOUT ANY WARRANTY; without even the implied warranty of *
* * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
* You should have received a copy of the GNU General Public License * GNU Affero General Public License for more details. *
* along with this program; if not, write to the Free Software * *
* Foundation, Inc., 51 Franklin Street, Fifth Floor, * You should have received a copy of the GNU Affero General Public License *
* Boston, MA 02110-1301, USA. * along with this program. If not, see <https://www.gnu.org/licenses/>. *
****************************************************************/ * *
*******************************************************************************/
#pragma once #pragma once
// refer to RFC4880 specif document for loading GPG public keys: // refer to RFC4880 specif document for loading GPG public keys:

View File

@ -1,3 +1,26 @@
/*******************************************************************************
* libretroshare/src/pgp: rscertificate.cc *
* *
* libretroshare: retroshare core library *
* *
* Copyright 2016 Cyril Soler <csoler@users.sourceforge.net> *
* *
* This program is free software: you can redistribute it and/or modify *
* it under the terms of the GNU Affero General Public License as *
* published by the Free Software Foundation, either version 3 of the *
* License, or (at your option) any later version. *
* *
* This program is distributed in the hope that it will be useful, *
* but WITHOUT ANY WARRANTY; without even the implied warranty of *
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
* GNU Affero General Public License for more details. *
* *
* You should have received a copy of the GNU Affero General Public License *
* along with this program. If not, see <https://www.gnu.org/licenses/>. *
* *
*******************************************************************************/
#pragma once
#include <iostream> #include <iostream>
#include <sstream> #include <sstream>
#include <stdio.h> #include <stdio.h>

View File

@ -1,3 +1,26 @@
/*******************************************************************************
* libretroshare/src/pgp: rscertificate.h *
* *
* libretroshare: retroshare core library *
* *
* Copyright 2016 Cyril Soler <csoler@users.sourceforge.net> *
* *
* This program is free software: you can redistribute it and/or modify *
* it under the terms of the GNU Affero General Public License as *
* published by the Free Software Foundation, either version 3 of the *
* License, or (at your option) any later version. *
* *
* This program is distributed in the hope that it will be useful, *
* but WITHOUT ANY WARRANTY; without even the implied warranty of *
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
* GNU Affero General Public License for more details. *
* *
* You should have received a copy of the GNU Affero General Public License *
* along with this program. If not, see <https://www.gnu.org/licenses/>. *
* *
*******************************************************************************/
#pragma once
#pragma once #pragma once
#include <string> #include <string>

View File

@ -1,21 +1,25 @@
/* /*******************************************************************************
* dlfcn-win32 * libretroshare/src/plugins: dlfcn_win32.cc *
* Copyright (c) 2007 Ramiro Polla * *
* * libretroshare: retroshare core library *
* This library is free software; you can redistribute it and/or * *
* modify it under the terms of the GNU Lesser General Public * Copyright 2007 Ramiro Polla *
* License as published by the Free Software Foundation; either * *
* version 2.1 of the License, or (at your option) any later version. * This program is free software: you can redistribute it and/or modify *
* * it under the terms of the GNU Affero General Public License as *
* This library is distributed in the hope that it will be useful, * published by the Free Software Foundation, either version 3 of the *
* but WITHOUT ANY WARRANTY; without even the implied warranty of * License, or (at your option) any later version. *
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU * *
* Lesser General Public License for more details. * This program is distributed in the hope that it will be useful, *
* * but WITHOUT ANY WARRANTY; without even the implied warranty of *
* You should have received a copy of the GNU Lesser General Public * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
* License along with this library; if not, write to the Free Software * GNU Affero General Public License for more details. *
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA * *
*/ * You should have received a copy of the GNU Affero General Public License *
* along with this program. If not, see <https://www.gnu.org/licenses/>. *
* *
*******************************************************************************/
#pragma once
#ifdef WINDOWS_SYS #ifdef WINDOWS_SYS

View File

@ -1,21 +1,25 @@
/* /*******************************************************************************
* dlfcn-win32 * libretroshare/src/plugins: dlfcn_win32.h *
* Copyright (c) 2007 Ramiro Polla * *
* * libretroshare: retroshare core library *
* This library is free software; you can redistribute it and/or * *
* modify it under the terms of the GNU Lesser General Public * Copyright 2007 Ramiro Polla *
* License as published by the Free Software Foundation; either * *
* version 2.1 of the License, or (at your option) any later version. * This program is free software: you can redistribute it and/or modify *
* * it under the terms of the GNU Affero General Public License as *
* This library is distributed in the hope that it will be useful, * published by the Free Software Foundation, either version 3 of the *
* but WITHOUT ANY WARRANTY; without even the implied warranty of * License, or (at your option) any later version. *
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU * *
* Lesser General Public License for more details. * This program is distributed in the hope that it will be useful, *
* * but WITHOUT ANY WARRANTY; without even the implied warranty of *
* You should have received a copy of the GNU Lesser General Public * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
* License along with this library; if not, write to the Free Software * GNU Affero General Public License for more details. *
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA * *
*/ * You should have received a copy of the GNU Affero General Public License *
* along with this program. If not, see <https://www.gnu.org/licenses/>. *
* *
*******************************************************************************/
#pragma once
#ifdef WINDOWS_SYS #ifdef WINDOWS_SYS
#ifndef DLFCN_H #ifndef DLFCN_H

View File

@ -1,3 +1,24 @@
/*******************************************************************************
* libretroshare/src/plugins: pluginmanager.cc *
* *
* libretroshare: retroshare core library *
* *
* Copyright 2012 Cyril Soler <csoler@users.sourceforge.net> *
* *
* This program is free software: you can redistribute it and/or modify *
* it under the terms of the GNU Affero General Public License as *
* published by the Free Software Foundation, either version 3 of the *
* License, or (at your option) any later version. *
* *
* This program is distributed in the hope that it will be useful, *
* but WITHOUT ANY WARRANTY; without even the implied warranty of *
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
* GNU Affero General Public License for more details. *
* *
* You should have received a copy of the GNU Affero General Public License *
* along with this program. If not, see <https://www.gnu.org/licenses/>. *
* *
*******************************************************************************/
#include <string.h> #include <string.h>
#include "pluginmanager.h" #include "pluginmanager.h"

View File

@ -1,3 +1,24 @@
/*******************************************************************************
* libretroshare/src/plugins: pluginmanager.h *
* *
* libretroshare: retroshare core library *
* *
* Copyright 2012 Cyril Soler <csoler@users.sourceforge.net> *
* *
* This program is free software: you can redistribute it and/or modify *
* it under the terms of the GNU Affero General Public License as *
* published by the Free Software Foundation, either version 3 of the *
* License, or (at your option) any later version. *
* *
* This program is distributed in the hope that it will be useful, *
* but WITHOUT ANY WARRANTY; without even the implied warranty of *
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
* GNU Affero General Public License for more details. *
* *
* You should have received a copy of the GNU Affero General Public License *
* along with this program. If not, see <https://www.gnu.org/licenses/>. *
* *
*******************************************************************************/
#pragma once #pragma once
#include <string> #include <string>

View File

@ -1,29 +1,24 @@
/* /*******************************************************************************
* libretroshare/src AuthGPG.cc * libretroshare/src/pqi: authgpg.cc *
* * *
* GnuPG/GPGme interface for RetroShare. * libretroshare: retroshare core library *
* * *
* Copyright 2008-2009 by Robert Fernie, Retroshare Team. * Copyright 2008-2009 by Robert Fernie, Retroshare Team. *
* * *
* This library is free software; you can redistribute it and/or * This program is free software: you can redistribute it and/or modify *
* modify it under the termsf the GNU Library General Public * it under the terms of the GNU Affero General Public License as *
* License Version 2 as published by the Free Software Foundation. * published by the Free Software Foundation, either version 3 of the *
* * License, or (at your option) any later version. *
* This library is distributed in the hope that it will be useful, * *
* but WITHOUT ANY WARRANTY; without even the implied warranty of * This program is distributed in the hope that it will be useful, *
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU * but WITHOUT ANY WARRANTY; without even the implied warranty of *
* Library General Public License for more details. * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
* * GNU Affero General Public License for more details. *
* You should have received a copy of the GNU Library General Public * *
* License along with this library; if not, write to the Free Software * You should have received a copy of the GNU Affero General Public License *
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 * along with this program. If not, see <https://www.gnu.org/licenses/>. *
* USA. * *
* *******************************************************************************/
* Please report all bugs and problems to "retroshare@lunamutt.com".
*
*
*/
#include "authgpg.h" #include "authgpg.h"
#include "retroshare/rsiface.h" // For rsicontrol. #include "retroshare/rsiface.h" // For rsicontrol.
#include "retroshare/rspeers.h" // For RsPeerDetails. #include "retroshare/rspeers.h" // For RsPeerDetails.

View File

@ -1,31 +1,24 @@
/* /*******************************************************************************
* libretroshare/src/ : gpgauthmgr.h * libretroshare/src/pqi: authgpg.h *
* * *
* GPG interface for RetroShare. * libretroshare: retroshare core library *
* * *
* Copyright 2008-2009 by Raghu Dev R. * Copyright 2008-2009 by Raghu Dev R. *
* * *
* This library is free software; you can redistribute it and/or * This program is free software: you can redistribute it and/or modify *
* modify it under the terms of the GNU Library General Public * it under the terms of the GNU Affero General Public License as *
* License Version 2 as published by the Free Software Foundation. * published by the Free Software Foundation, either version 3 of the *
* * License, or (at your option) any later version. *
* This library is distributed in the hope that it will be useful, * *
* but WITHOUT ANY WARRANTY; without even the implied warranty of * This program is distributed in the hope that it will be useful, *
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU * but WITHOUT ANY WARRANTY; without even the implied warranty of *
* Library General Public License for more details. * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
* * GNU Affero General Public License for more details. *
* You should have received a copy of the GNU Library General Public * *
* License along with this library; if not, write to the Free Software * You should have received a copy of the GNU Affero General Public License *
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 * along with this program. If not, see <https://www.gnu.org/licenses/>. *
* USA. * *
* *******************************************************************************/
* Please report all bugs and problems to "retroshare@lunamutt.com".
*
* This is *THE* auth manager. It provides the web-of-trust via
* gpgme, and authenticates the certificates that are managed
* by the sublayer AuthSSL.
*
*/
/**** /****
* Here's GPG policy : * Here's GPG policy :

View File

@ -1,33 +1,24 @@
/* /*******************************************************************************
* libretroshare/src/pqi: authssl.cc * libretroshare/src/pqi: authssl.cc *
* * *
* 3P/PQI network interface for RetroShare. * libretroshare: retroshare core library *
* * *
* Copyright 2004-2008 by Robert Fernie. * Copyright 2004-2008 by Robert Fernie, Retroshare Team. *
* * *
* This library is free software; you can redistribute it and/or * This program is free software: you can redistribute it and/or modify *
* modify it under the terms of the GNU Library General Public * it under the terms of the GNU Affero General Public License as *
* License Version 2 as published by the Free Software Foundation. * published by the Free Software Foundation, either version 3 of the *
* * License, or (at your option) any later version. *
* This library is distributed in the hope that it will be useful, * *
* but WITHOUT ANY WARRANTY; without even the implied warranty of * This program is distributed in the hope that it will be useful, *
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU * but WITHOUT ANY WARRANTY; without even the implied warranty of *
* Library General Public License for more details. * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
* * GNU Affero General Public License for more details. *
* You should have received a copy of the GNU Library General Public * *
* License along with this library; if not, write to the Free Software * You should have received a copy of the GNU Affero General Public License *
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 * along with this program. If not, see <https://www.gnu.org/licenses/>. *
* USA. * *
* *******************************************************************************/
* Please report all bugs and problems to "retroshare@lunamutt.com".
*
*
* This class is designed to provide authentication using ssl certificates
* only. It is intended to be wrapped by an gpgauthmgr to provide
* pgp + ssl web-of-trust authentication.
*
*/
#ifdef WINDOWS_SYS #ifdef WINDOWS_SYS
#include "util/rswin.h" #include "util/rswin.h"
#endif // WINDOWS_SYS #endif // WINDOWS_SYS

View File

@ -1,28 +1,24 @@
/* /*******************************************************************************
* libretroshare/src/pqi: authssl.h * libretroshare/src/pqi: authssl.h *
* * *
* 3P/PQI network interface for RetroShare. * libretroshare: retroshare core library *
* * *
* Copyright 2004-2008 by Robert Fernie. * Copyright 2004-2008 by Robert Fernie, Retroshare Team. *
* * *
* This library is free software; you can redistribute it and/or * This program is free software: you can redistribute it and/or modify *
* modify it under the terms of the GNU Library General Public * it under the terms of the GNU Affero General Public License as *
* License Version 2 as published by the Free Software Foundation. * published by the Free Software Foundation, either version 3 of the *
* * License, or (at your option) any later version. *
* This library is distributed in the hope that it will be useful, * *
* but WITHOUT ANY WARRANTY; without even the implied warranty of * This program is distributed in the hope that it will be useful, *
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU * but WITHOUT ANY WARRANTY; without even the implied warranty of *
* Library General Public License for more details. * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
* * GNU Affero General Public License for more details. *
* You should have received a copy of the GNU Library General Public * *
* License along with this library; if not, write to the Free Software * You should have received a copy of the GNU Affero General Public License *
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 * along with this program. If not, see <https://www.gnu.org/licenses/>. *
* USA. * *
* *******************************************************************************/
* Please report all bugs and problems to "retroshare@lunamutt.com".
*
*/
#ifndef MRK_AUTH_SSL_HEADER #ifndef MRK_AUTH_SSL_HEADER
#define MRK_AUTH_SSL_HEADER #define MRK_AUTH_SSL_HEADER

View File

@ -1,28 +1,24 @@
/* /*******************************************************************************
* libretroshare/src/pqi: p3cfgmgr.cc * libretroshare/src/pqi: p3cfgmgr.cc *
* * *
* 3P/PQI network interface for RetroShare. * libretroshare: retroshare core library *
* * *
* Copyright 2007-2008 by Robert Fernie. * Copyright 2007-2008 by Robert Fernie, Retroshare Team. *
* * *
* This library is free software; you can redistribute it and/or * This program is free software: you can redistribute it and/or modify *
* modify it under the terms of the GNU Library General Public * it under the terms of the GNU Affero General Public License as *
* License Version 2 as published by the Free Software Foundation. * published by the Free Software Foundation, either version 3 of the *
* * License, or (at your option) any later version. *
* This library is distributed in the hope that it will be useful, * *
* but WITHOUT ANY WARRANTY; without even the implied warranty of * This program is distributed in the hope that it will be useful, *
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU * but WITHOUT ANY WARRANTY; without even the implied warranty of *
* Library General Public License for more details. * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
* * GNU Affero General Public License for more details. *
* You should have received a copy of the GNU Library General Public * *
* License along with this library; if not, write to the Free Software * You should have received a copy of the GNU Affero General Public License *
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 * along with this program. If not, see <https://www.gnu.org/licenses/>. *
* USA. * *
* *******************************************************************************/
* Please report all bugs and problems to "retroshare@lunamutt.com".
*
*/
#include "util/rsdir.h" #include "util/rsdir.h"
//#include "retroshare/rspeers.h" //#include "retroshare/rspeers.h"
#include "pqi/p3cfgmgr.h" #include "pqi/p3cfgmgr.h"

View File

@ -1,3 +1,24 @@
/*******************************************************************************
* libretroshare/src/pqi: p3cfgmgr.h *
* *
* libretroshare: retroshare core library *
* *
* Copyright 2004-2008 by Robert Fernie, Retroshare Team. *
* *
* This program is free software: you can redistribute it and/or modify *
* it under the terms of the GNU Affero General Public License as *
* published by the Free Software Foundation, either version 3 of the *
* License, or (at your option) any later version. *
* *
* This program is distributed in the hope that it will be useful, *
* but WITHOUT ANY WARRANTY; without even the implied warranty of *
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
* GNU Affero General Public License for more details. *
* *
* You should have received a copy of the GNU Affero General Public License *
* along with this program. If not, see <https://www.gnu.org/licenses/>. *
* *
*******************************************************************************/
/* /*
* libretroshare/src/pqi: p3cfgmgr.h * libretroshare/src/pqi: p3cfgmgr.h
* *