search for: cainfo

Displaying 17 results from an estimated 17 matches for "cainfo".

Did you mean: capinfo
2020 Jan 17
1
[PATCH nbdkit] Add cainfo and capath options to curl plugin
This change adds cainfo and capath options to the curl plugin. They refer directly to CURLOPT_CAINFO and CURLOPT_CAPATH, as documented in libcurl. Signed-off-by: Wiktor Gołgowski <wiktor.golgowski@linux.intel.com> --- plugins/curl/curl.c | 16 ++++++++++++++++ plugins/curl/nbdkit-curl-plugin.pod |...
2014 Nov 01
5
Pregunta (creo que simple) para usar twitteR
...<- "fjroar"twitCred <- OAuthFactory$new(consumerKey=consumerKey, consumerSecret=consumerSecret, requestURL=reqURL, accessURL=accessURL, authURL=authURL)twitCred$handshake(cainfo="cacert.pem") El error que me sale es: Error: Authorization Required Un saludo y gracias en todo caso PD En mi ordenador tengo certificado digital Date: Sat, 1 Nov 2014 13:42:27 +0100 Subject: Re: [R-es] Pregunta (creo que simple) para usar twitteR From: briofons en gmail.com To: fjroa...
2014 Nov 01
2
Pregunta (creo que simple) para usar twitteR
Hola comunidad, ¿Qué tal? Tengo una duda que creo que es sencilla, pero me veo algo torpe. Estoy tratando de darme de alta para poder acceder, vía R a la api de Twitter, soy un poco novato en esto y por esto lanzo la pregunta. Aunque ya me han ayudado y me han pasado alguno link del pasado, aún no consigo dar con la solución que seguro es algo que se me escapa He usado este código
2020 Jul 14
0
[PATCH nbdkit RFC 2/2] curl: Implement authorization scripts.
...HTTP/HTTPS +services which need an authorization token, see +L</AUTHORIZATION SCRIPT> below. + +=item B<auth-script-renew=>SECONDS + +If the authorization header printed by C<auth-script> expires after a +certain number of seconds, set this parameter less than that. + =item B<cainfo=>FILENAME (nbdkit E<ge> 1.18) @@ -224,6 +236,114 @@ user-agent header. =back +=head1 AUTHORIZATION SCRIPT + +The C<auth-script> and C<auth-script-renew> parameters allow you to +access HTTP/HTTPS services which require an authorization token. +C<auth-script> shoul...
2009 Jun 10
1
[PATCH] add cmd line option for server vnc port
...9;" PACKAGE " --help' to see a list of available command line options"; static const GOptionEntry options[] = { + { "port", 'p', 0, G_OPTION_ARG_INT, &ovirt_server_vnc_port, + "set port which to connect to server via vnc", NULL }, { "cainfo", 0, 0, G_OPTION_ARG_STRING, &cainfo, "set the path of the CA certificate bundle", NULL }, { "check-certificate", 0, 0, G_OPTION_ARG_NONE, &check_cert, diff --git a/tunnel.c b/tunnel.c index c6d091d..17b512c 100644 --- a/tunnel.c +++ b/tunnel.c @@ -53,9 +53,...
2012 Nov 08
1
twitteR return error message
...requestURL=requestURL, accessURL=accessURL, authURL=authURL) download.file(url="http://curl.haxx.se/ca/cacert.pem", destfile="cacert.pem") x <- getURL(url="http://curl.haxx.se/ca/cacert.pem", cainfo = "cacert.pem") twitCred$handshake(cainfo="cacert.pem") registerTwitterOAuth(twitCred) me <- getUser('Rbloggers') ################# Error Message 1 ################################ #Error in function (type, msg, asError = TRUE) : # SSL certificat...
2020 Jul 14
3
[PATCH nbdkit RFC 0/2] curl: Implement authorization scripts.
This is an RFC only, at the very least it lacks tests. This implements a rather complex new feature in nbdkit-curl-plugin allowing you to specify an external shell script that can be used to fetch an authorization token for services which requires a token or cookie for access, especially if that token must be renewed periodically. The motivation can be seen in the changes to the docs in patch 2.
2020 Jul 20
1
Re: [PATCH nbdkit v2] curl: Implement header and cookie scripts.
...o if the > * macro isn't present then Curl is very old. > @@ -61,24 +63,29 @@ > #endif > #endif > > -static const char *url = NULL; /* required */ > +/* Plugin configuration. */ > +const char *url = NULL; /* required */ > > -static const char *cainfo = NULL; > -static const char *capath = NULL; > -static char *cookie = NULL; > -static struct curl_slist *headers = NULL; > -static char *password = NULL; > -static long protocols = CURLPROTO_ALL; > -static const char *proxy = NULL; > -static char *proxy_password = NULL; > -s...
2013 Nov 22
1
Descargar tweets con package twitteR
...nsumerSecret, requestURL=requestURL, accessURL=accessURL, authURL=authURL) download.file(url="http://curl.haxx.se/ca/cacert.pem", destfile="cacert.perm") twitCred$handshake(cainfo = system.file("CurlSSL", "cacert.pem", package = "RCurl")) Al correr el código, al principio sí que me hace la conexión para verificar la autorización, pero me acaba saliendo el siguiente error:Error in strsplit(response, "&") : non-character argument...
2020 Jul 15
2
[PATCH nbdkit v2] curl: Implement header and cookie scripts.
Evolution of this patch series: https://www.redhat.com/archives/libguestfs/2020-July/thread.html#00073 Instead of auth-script, this implements header-script and cookie-script. It can be used for similar purposes but the implementation is somewhat saner. Rich.
2009 Jul 23
1
viewer updates for fedora submission
This patchset provides updates to the viewer in preperation for its fedora submission. Included are patches cmd-line parameterizing hostname/user/pass/vm, the addition of a man page, cleanup of the project's structure, and updates to the spec.
2009 Jul 13
0
[PATCH viewer] permit hostname / username / password / vm to be passed in via the cmd line
...t;username", 'u', 0, G_OPTION_ARG_STRING, &username, + "username which to connect to the server with", NULL}, + { "password", 'p', 0, G_OPTION_ARG_STRING, &password, + "password which to connect to the server with", NULL}, { "cainfo", 0, 0, G_OPTION_ARG_STRING, &cainfo, "set the path of the CA certificate bundle", NULL }, { "check-certificate", 0, 0, G_OPTION_ARG_NONE, &check_cert, "check the SSL certificate of the server", NULL }, + { "vm", 'm', 0, G_O...
2020 Jul 15
0
[PATCH nbdkit v2] curl: Implement header and cookie scripts.
...IN CONTRACT, STRICT LIABILITY, + * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT + * OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF + * SUCH DAMAGE. + */ + +#ifndef NBDKIT_CURLDEFS_H +#define NBDKIT_CURLDEFS_H + +extern const char *url; + +extern const char *cainfo; +extern const char *capath; +extern char *cookie; +extern const char *cookie_script; +extern unsigned cookie_script_renew; +extern struct curl_slist *headers; +extern const char *header_script; +extern unsigned header_script_renew; +extern char *password; +extern long protocols; +extern const char...
2012 Mar 19
0
Sankey Diagrams in R
...-sourcing-an-r-script-from-github/ sourc.https <- function(url, ...) { ? # load package require(RCurl) ? # install.packages(c("RCurl"), dependencies = TRUE) ? # parse and evaluate each .R script ? sapply(c(url, ...), function(u) { ??? eval(parse(text = getURL(u, followlocation = TRUE, cainfo = system.file("CurlSSL", "cacert.pem", package = "RCurl"))), envir = .GlobalEnv) ? }) } # Example from https://gist.github.com/1423501 sourc.https("https://raw.github.com/gist/1423501/55b3c6f11e4918cb6264492528b1ad01c429e581/Sankey.R") # My example (there i...
2013 Jul 08
0
"error setting certificate" issue in R-studio
...ying to use the twitteR package to gather tweets from the below function. It was working fine before, but I can't find a way to fix the certificate issue.I tried using >download.file(url="curl.haxx.se/ca/cacert.pem", destfile="cacert.pem") with>credential$handshake(cainfo = system.file("CurlSSL", "cacert.pem", package = "RCurl")) I saw recommended on Stack Overflow but it didn't fix the issue. >TweetFrame <- function(searchTerm, maxTweets)? ??? { ????? twtList<-searchTwitter(searchTerm,n=maxTweets) ????? #twtList is in...
2020 Feb 27
0
ANNOUNCE: nbdkit 1.18 - high performance NBD server
...r Soffer). The Python plugin now prints readable stack traces when an exception is thrown (Nir Soffer). New methods implemented in the Python plugin: cache, can_cache, can_zero, can_fast_zero, can_multi_conn, can_fua. In nbdkit-curl-plugin(1), new options "cainfo" and "capath" (Wiktor Gołgowski). nbdkit-split-plugin(1) now supports extents (Eric Blake). In nbdkit-vddk-plugin(1), "file=" is now a magic config key, meaning it can be omitted in most circumstances (Eric Blake). The VDDK plugin now n...
2009 May 19
2
[PATCH server] added ovirt vnc proxy server, to proxy vnc request to managed vms
run on startup by default like the other ovirt services --- conf/ovirt-vnc-proxy | 49 ++++++++ installer/modules/ovirt/manifests/ovirt.pp | 1 + ovirt-server.spec.in | 5 + src/vnc-proxy/vnc-proxy.rb | 167 ++++++++++++++++++++++++++++ 4 files changed, 222 insertions(+), 0 deletions(-) create mode 100755 conf/ovirt-vnc-proxy