Can two wizards use Leomund’s secret chest to transport items between vast distances? [duplicate]

Related to this question. Assuming that two wizards cast Leomund’s Secret Chest on the same chest and then go in different directions could they use this chest to exchange items over vast distances? To clarify a bit.

1- Wizard A and Wizard B cast Leomund’s secret chest on the same chest.

  1. Wizard A leaves to venture into a dungeon while Wizard B stays at the city.
  2. Wizard A finds a huge hoard of gold but cannot carry it. Using
    sending to reach Wizard B he asks Wizard B to summon their chest
    every five minutes and dump it’s contents.
  3. Wizard A summons the chest and fills the empty chest with gold. Sends it to Ethereal Plane
  4. Wizard B summons the chest and empties the content before sending it to Ethereal Plane Rinse and repeat till the entire hoard is taken
    back to the city within the span of an hour.

Does TLS (Transport Layer Security) protect against deliberate tampering or accidental corruption?

If someone tampers with data being transmitted over HTTPS using TLS, would that result in a corrupted decrypted message or would it result in the error being detected such as through a cryptographic checksum and retransmitted?

This has security implications as well as accidental corruption implications (

Why is /cacerts request necessary in RFC 7030 Enrollment Over Secure Transport?

In RFC 7030 Enrollment Over Secure Transport (EST), the /cacerts request (Section 4.1 of RFC 7030) is used by the client to request the current CA certificates. The returned certificates are added to the client’s ‘Explicit TA database’ and must be used to authenticate all future exchanges with the EST CA.

The RFC says that client is expected to make this request before performing other operations such as requesting a certificate (Section 2.1). I can understand why this is useful in the case that a client is only initialised with an ‘Implicit TA database’ (e.g., a root certificate belonging to a third party issuing CA) as they can then initialise their ‘Explicit TA database’ with the certificates belonging to the PKI they wish to enrol in (Section 4.1.3.). However I’m not clear on the benefit when the client is initialised with an Implicit TA database such as the issuing CA certificate (and corresponding certificate chain) for the CA they wish to enrol with. Perhaps it has something to do with allowing root key updates using rollover certificates (also discussed in Section 4.1.3.) but not clear on why this could not be handled as part of the /simpleenroll request. Any help clarifying the purpose of the /cacerts request would be much appreciated!

Can Transport via Plants be used to teleport people to you?

My party had the idea of using it to bring people to the druid, but a bit unsure if that’s possible.

This spell creates a magical link between a Large or larger inanimate plant within range and another plant, at any distance, on the same plane of existence. You must have seen or touched the destination plant at least once before. For the duration, any creature can step into the target plant and exit from the destination plant by using 5 feet of movement.

The spell specifies that one Plant becomes the target and one becomes the destination. Does the “target” tree have to be the one in range of the casting, or can you make that one the destination, and set the entrance to a tree somewhere else?

Routing algorithm for public transport without timetable

I’m trying to implement a simplified version of RAPTOR algorithm for journey planning. Raptor tries to find fastest route based on the arrival and departure time in each stop. There is a concept of a route that is an ordered list of stops that a bus serves, and the trip is an instance of the route where each stop has arrival and departure time. So every route has many trips during the day.

I want to consider the case where buses are very frequent (i.e. passing every 10 seconds!), so you wait a negligible amount of time at a stop. It still takes time to go from stop A to B but when you are at a stop you don’t wait at all because the bus is coming. Now we have more trips and raptor may become slower because it takes as input the routes and the trips. I wonder if anyone has implemented something similar in RAPTOR or some graph based approach (Dijkstra, A*…)

Tunnel and Transport Mode in IPSec, is it possible to combine them?

I’ve been wondering between two cases,

1 – tunnel from A to C and a tunnel from B to D, would it be possible to send a packet for A to D?

2 – Transport from A to D, and let’s say tunnel from B to D

Would it be possible to send a packet in any of these cases?

I assume for case 1 it wouldn’t be possible because of SA, and decryption would get messy But for the second case, I mean, that does sounds logical to me..

Could you share your thought?

org.apache.axis2.AxisFault: Transport error: 407 Error: Proxy Authentication Required

He implementado en mi aplicacion de Java (NO Maven, ya que es antigua) un WSDL nuevo que me han adjuntado otro departamente, asi se veria desde SOAP:

<soapenv:Header>      <wsse:Security  xmlns:wsse="" xmlns:wsu="">         <wsse:UsernameToken>         <wsse:Username>APP-DCTPNSE-CAN-CR1</wsse:Username>         <wsse:Password>NgEsD3WVOn</wsse:Password>         <wsse:Nonce>xmPk+8IAz6tQdJeZMqlAHD==</wsse:Nonce>         <wsu:Created>2019-08-26T08:49:39.410Z</wsu:Created>         </wsse:UsernameToken>     </wsse:Security>       </soapenv:Header>     <soapenv:Body>        <iges:obtenerListaSptosCanal>           <mseObtenerListaSptosCanal>              <datosOperacion>                 <compania>41</compania>                 <!--Optional:-->                 <acuerdo>9</acuerdo>                 <numeroAplicacion>0</numeroAplicacion>                 <numeroSptoAplicacion>0</numeroSptoAplicacion>                 <procedenciaPoliza>22</procedenciaPoliza>                 <plataforma>39</plataforma>                 <poliza>0731900015919</poliza>                 <operacion>CP</operacion>              </datosOperacion>              <datosComunes>                 <!--Optional:-->                 <datosTraduccion>                    <!--Optional:-->                    <codigoIdioma>es_ES</codigoIdioma>                    <!--Optional:-->                    <mcaLiteralTraducido>S</mcaLiteralTraducido>                 </datosTraduccion>                 <!--Optional:-->                 <datosAutorizacion>                    <!--Optional:-->                    <canalContratacion></canalContratacion>                 </datosAutorizacion>              </datosComunes>           </mseObtenerListaSptosCanal>        </iges:obtenerListaSptosCanal>     </soapenv:Body>  </soapenv:Envelope> 

Y asi es el metodo que he creado que la llama:

public ObtenerListaSptosCanalResponseDocument connect (MSEObtenerListaSptosCanal mseObtenerListaSptosCanal){         ObtenerListaSptosCanalResponseDocument datosSalidaServicio = ObtenerListaSptosCanalResponseDocument.Factory.newInstance();         ObtenerListaSptosCanalDocument datosEntrada = ObtenerListaSptosCanalDocument.Factory.newInstance();         ObtenerListaSptosCanalDocument.ObtenerListaSptosCanal datosEntradaObtenerListaSptosCanal = ObtenerListaSptosCanalDocument.ObtenerListaSptosCanal.Factory.newInstance();         try {             IGestionarConsultaPolCanalExport1_IGestionarConsultaPolCanalHttpServiceStub servicio = getServicioY();             datosEntradaObtenerListaSptosCanal.setMseObtenerListaSptosCanal(mseObtenerListaSptosCanal);             datosEntrada.setObtenerListaSptosCanal(datosEntradaObtenerListaSptosCanal);             crearSOAPHeaderBlock soapHeaderBlock = new crearSOAPHeaderBlock();             servicio._getServiceClient().addHeader(soapHeaderBlock.getSoapHeaderBlock());             datosSalidaServicio = servicio.obtenerListaSptosCanal(datosEntrada);         } catch (AxisFault e) {             // TODO Auto-generated catch block             e.printStackTrace();         } catch (RemoteException e) {             // TODO Auto-generated catch block             e.printStackTrace();         } catch (ObtenerListaSptosCanal_msfObtenerListaSptosCanalMsg e) {             // TODO Auto-generated catch block             e.printStackTrace();         } catch (Exception e) {             // TODO Auto-generated catch block             this.servicioY = null;             e.printStackTrace();         }         return datosSalidaServicio;     }       private IGestionarConsultaPolCanalExport1_IGestionarConsultaPolCanalHttpServiceStub getServicioY() throws Exception{         if(this.servicioY == null){             this.servicioY = new IGestionarConsultaPolCanalExport1_IGestionarConsultaPolCanalHttpServiceStub("");             //this.servicioY = new IGestionarConsultaPolCanalExport1_IGestionarConsultaPolCanalHttpServiceStub();             //this.servicioY = new IGestionarConsultaPolCanalExport1_IGestionarConsultaPolCanalHttpServiceStub("");              Options options = this.servicioY._getServiceClient().getOptions();              HttpTransportProperties.ProxyProperties proxyProperties = new HttpTransportProperties.ProxyProperties();             proxyProperties.setProxyName("proxycorp.geci");             proxyProperties.setProxyPort(8080);             proxyProperties.setUserName("XXX");             proxyProperties.setPassWord("XXX");             options.setProperty(HTTPConstants.PROXY, proxyProperties);             options.setProperty(HTTPConstants.HTTP_PROTOCOL_VERSION, HTTPConstants.HEADER_PROTOCOL_11);             options.setProperty(HTTPConstants.SO_TIMEOUT, 1200000);             options.setProperty(HTTPConstants.CONNECTION_TIMEOUT, 1200000);             options.setProperty(HTTPConstants.CHUNKED, Boolean.FALSE);              HttpTransportPropertiesImpl.Authenticator auth = new HttpTransportPropertiesImpl.Authenticator();             auth.setUsername("YYYY");             auth.setPassword("YYYY");              options.setProperty(HTTPConstants.AUTHENTICATE, auth);             options.setProperty(Constants.Configuration.DISABLE_SOAP11, Boolean.TRUE);             System.out.println("https: " + HTTPTransportConstants.PROTOCOL_HTTPS);         }          return this.servicioY;     } 

Cuando ejecuto la aplicación me da un error en la linea:

datosSalidaServicio = servicio.obtenerListaSptosCanal(datosEntrada);

que es el siguiente:

[err] org.apache.axis2.AxisFault: Transport error: 407 Error: Proxy Authentication Required [err] at org.apache.axis2.transport.http.impl.httpclient3.HTTPSenderImpl.handleResponse( [err] at org.apache.axis2.transport.http.impl.httpclient3.HTTPSenderImpl.sendViaPost( org.apache.axis2.transport.http.HTTPSender.send( [err] at org.apache.axis2.transport.http.CommonsHTTPTransportSender.writeMessageWithCommons( [err] at org.apache.axis2.transport.http.CommonsHTTPTransportSender.invoke( [err] at org.apache.axis2.engine.AxisEngine.send( [err] at org.apache.axis2.description.OutInAxisOperationClient.send( [err] at org.apache.axis2.description.OutInAxisOperationClient.executeImpl( [err] at org.apache.axis2.client.OperationClient.execute( [err] at evt21_intca_gestionarconspolizacanal_slib.igestionarconsultapolcanal.IGestionarConsultaPolCanalExport1_IGestionarConsultaPolCanalHttpServiceStub.obtenerListaSptosCanal( [err] at [err] at [err] at [err] at [err] at [err] at [err] at javax.servlet.http.HttpServlet.service( [err] at javax.servlet.http.HttpServlet.service( [err] at [err] at [internal classes] [err] Caused by: [err] at [err] at [err] at [err] at [err] at

El metodo que llama es el siguiente(estar en un .jar):

 public ObtenerListaSptosCanalResponseDocument obtenerListaSptosCanal(ObtenerListaSptosCanalDocument obtenerListaSptosCanal2) /*      */     throws java.rmi.RemoteException, ObtenerListaSptosCanal_msfObtenerListaSptosCanalMsg /*      */   { /*  510 */     MessageContext _messageContext = new MessageContext(); /*      */     try /*      */     { /*  513 */       OperationClient _operationClient = this._serviceClient.createClient(this._operations[1].getName()); /*  514 */       _operationClient.getOptions().setAction("http://EVT21_INTCA_GestionarConsPolizaCanal_SLIB/IGestionarConsultaPolCanal/IGestionarConsultaPolCanal/obtenerListaSptosCanalRequest"); /*      */        /*  516 */       _operationClient.getOptions().setExceptionToBeThrownOnSOAPFault(true); /*      */        /*  518 */       addPropertyToOperationClient(_operationClient, "whttp:queryParameterSeparator", "&"); /*      */        /*      */  /*      */  /*      */  /*  523 */       SOAPEnvelope env = null; /*      */        /*  525 */       env = toEnvelope(getFactory(_operationClient.getOptions().getSoapVersionURI()), obtenerListaSptosCanal2, optimizeContent(new QName("http://EVT21_INTCA_GestionarConsPolizaCanal_SLIB/IGestionarConsultaPolCanal", "obtenerListaSptosCanal")), new QName("http://EVT21_INTCA_GestionarConsPolizaCanal_SLIB/IGestionarConsultaPolCanal", "obtenerListaSptosCanal")); /*      */        /*      */  /*      */  /*      */  /*      */  /*      */  /*      */  /*      */  /*      */  /*      */  /*      */  /*  537 */       this._serviceClient.addHeadersToEnvelope(env); /*      */        /*  539 */       _messageContext.setEnvelope(env); /*      */        /*      */  /*  542 */       _operationClient.addMessageContext(_messageContext); /*      */        /*      */  /*  545 */       _operationClient.execute(true); /*      */        /*  547 */       MessageContext _returnMessageContext = _operationClient.getMessageContext("In"); /*  548 */       SOAPEnvelope _returnEnv = _returnMessageContext.getEnvelope(); /*      */        /*  550 */       Object object = fromOM(_returnEnv.getBody().getFirstElement(), ObtenerListaSptosCanalResponseDocument.class); /*      */        /*      */  /*      */  /*  554 */       return (ObtenerListaSptosCanalResponseDocument)object; 

En cambio ejecutando en la herramienta de Postman me funciona la llamada y me devuelve datos ¿Podéis ayudarme?

Unable to connect hive to local window machine. Getting Connection error: java.sql.SQLException: Could not open client transport with JDBC Uri

I am trying to make connection between hive-server2 and my local window machine with python.I have Connection string and a keystore file. I am using Jaydebeapi python module to solve this issue. The various .jar file I am using: 1) HiveJDBC4.jar
2) hive_metastore.jar
3) hive-service-0.13.1.jar
4) libfb303-0.9.0.jar
5) libthrift-0.9.0.jar
6) log4j-1.2.14.jar
7) ql.jar
8) slf4j-api-1.5.8.jar
9) slf4j-log4j12-1.5.8.jar
10) TCLIServiceClient.jar
11) httpclient-4.3.3.jar
12) httpcore-4.3.jar
13) guava-16.0.1.jar
14) hadoop-common-2.2.0.jar
15) hive-common-0.10.0.jar

My connection string is:

jdbc:hive2://;   ssl=true;   sslTrustStore=FileKey.jks;   trustStorePassword=password;   transportMode=http;   httpPath=gateway/default/hive    

I have tried other modules but for the given problem and inputs, Jaydebeapi approach I found to be more valid here. I have written python code:

import jaydebeapi Jars = ['C:/Cloudera_HiveJDBC/HiveJDBC4.jar',    'C:/Cloudera_HiveJDBC/hive_metastore.jar',    'C:/Cloudera_HiveJDBC/hive-service-0.13.1.jar',    'C:/Cloudera_HiveJDBC/libfb303-0.9.0.jar',    'C:/Cloudera_HiveJDBC/libthrift-0.9.0.jar',    'C:/Cloudera_HiveJDBC/log4j-1.2.14.jar',    'C:/Cloudera_HiveJDBC/ql.jar',    'C:/Cloudera_HiveJDBC/slf4j-api-1.5.8.jar',    'C:/Cloudera_HiveJDBC/slf4j-log4j12-1.5.8.jar',    'C:/Cloudera_HiveJDBC/TCLIServiceClient.jar',    'C:/Cloudera_HiveJDBC/httpclient-4.3.3.jar',    'C:/Cloudera_HiveJDBC/httpcore-4.3.jar',    'C:/Cloudera_HiveJDBC/guava-16.0.1.jar',    'C:/Cloudera_HiveJDBC/hadoop-common-2.2.0.jar',    'C:/Cloudera_HiveJDBC/hive-common-0.10.0.jar'] conn_hive = jaydebeapi.connect('org.apache.hive.jdbc.HiveDriver','jdbc:hive2://',                            {'ssl':"true",                            'sslTrustStore':"Filekey.jks",                            'trustStorePassword':"password",                             'transportMode':"http",                             'httpPath':"gateway/default/hive"                            },                            jars= Jars) cursor = conn_hive.cursor() 

But I am getting an error:

java.sql.SQLExceptionPyRaisable: java.sql.SQLException: Could not open client transport with JDBC Uri: jdbc:hive2:// null 

Is there any problem with the code, in approach or lack of Jar Files I have added. Is there any other alternatives that I can use for giving best results.