search for: idlist

Displaying 19 results from an estimated 19 matches for "idlist".

Did you mean: uidlist
2007 Apr 20
2
Fastest way to repeatedly subset a data frame?
...=c("ID1", "ID2", "ID3"), result=1:3) > my.df id result 1 ID1 1 2 ID2 2 3 ID3 3 I have a list of ID vectors. This list will have anywhere from 100 to 1000 members, and each member will have anywhere from 10 to 5000 id entries. Sample: > my.idlist[["List1"]] <- c("ID1", "ID3") > my.idlist[["List2"]] <- c("ID2") > my.idlist $List1 [1] "ID1" "ID3" $List2 [1] "ID2" I need to subset that data frame by the list of IDs in each vector, to end up with v...
2011 May 16
1
[Bug 8137] New: Use a union instead of storing an integer in idlist::name
https://bugzilla.samba.org/show_bug.cgi?id=8137 Summary: Use a union instead of storing an integer in idlist::name Product: rsync Version: 3.1.0 Platform: All OS/Version: All Status: NEW Severity: normal Priority: P5 Component: core AssignedTo: wayned at samba.org ReportedBy: matt at mattmccutchen.net...
2016 Dec 28
2
certificates keys on pkcs11 devices
Hi, I have not found any way to use a Certificate with ssh-agent when my Key is stored on a pkcs11 device. I can add my key with ssh-add -s /usr/local/lib/opensc-pkcs11.so but ssh-add -s /usr/local/lib/opensc-pkcs11.so ~/.ssh/mykey-cert.pub does not add the certificate to my agent. As far as I undestand, in ssh-add.c line 580 if (pkcs11provider != NULL) { if (update_card(agent_fd,
2018 Feb 23
2
Attempts to connect to Axway SFTP server result in publickey auth loopin
...expected against a server hacked up to behave more or less as you describe. diff --git a/sshconnect2.c b/sshconnect2.c index 8138e46..3f475d9 100644 --- a/sshconnect2.c +++ b/sshconnect2.c @@ -246,6 +246,7 @@ typedef struct cauthmethod Authmethod; typedef struct identity Identity; typedef struct idlist Idlist; +#define IDENTITY_SUCCESSFUL 0x1000 struct identity { TAILQ_ENTRY(identity) next; int agent_fd; /* >=0 if agent supports key */ @@ -268,6 +269,7 @@ struct cauthctxt { int attempt; /* pubkey */ struct idlist keys; + struct identity *sent_signed_id; int agent_fd; /* hostb...
2012 Mar 11
2
[patch] Threading support in ssh-agent
...+ struct AuthRequestQueue queue; +}; + +struct TPool tpool; + +void tpool_barrier(struct TPool*); + +#else + +#define tpool_barrier(a) do {} while(0) + +#endif + static void close_socket(SocketEntry *e) { @@ -154,7 +206,7 @@ int i; for (i = 0; i <=2; i++) { - TAILQ_INIT(&idtable[i].idlist); + TAILQ_INIT(&(idtable[i].idlist)); idtable[i].nentries = 0; } } @@ -355,6 +407,224 @@ datafellows = odatafellows; } +#ifdef HAVE_LIBPTHREAD + +int +req_queue_init(struct AuthRequestQueue* q, int inprogress_initial) +{ + memset(q, 0, sizeof(struct AuthRequestQueue)); + + if (pthre...
2007 Feb 23
1
ssh-agent does not immediately clean timeouted keys from memory
during my seminar of advanced exploitation techniques (SEAT, [1]) i developed some methods to crack into system via DMA (e.g. via firewire). as part of this i developed a program that steals loaded ssh private keys from ssh-agents. i was astonished to find that the keys are not immediately removed from the agent when a timeout occurs, but only the next time the agent is queried via its socket. i
2015 Jul 26
2
[PATCH] ssh-agent: Add support to load additional certificates
...hing private key for given public key */ +/* return matching Identity for given public key */ static Identity * lookup_identity(struct sshkey *key, int version) { @@ -205,7 +238,22 @@ lookup_identity(struct sshkey *key, int Idtab *tab = idtab_lookup(version); TAILQ_FOREACH(id, &tab->idlist, next) { - if (sshkey_equal(key, id->key)) + if (sshkey_equal(key, id->idkey->key)) + return (id); + } + return (NULL); +} + +/* return matching private key for given public key */ +static Identity * +lookup_identity_unshadowed_key(struct sshkey *key, int version) +{ + Identity *id; +...
2004 Oct 15
1
OpenSSH current CVS build issue
.../.. -c /usr/src/usr.bin/ssh/ssh/../sshconnect2.c /usr/src/usr.bin/ssh/ssh/../sshconnect2.c: In function `input_userauth_pk_ok': /usr/src/usr.bin/ssh/ssh/../sshconnect2.c:460: dereferencing pointer to incomplete type /usr/src/usr.bin/ssh/ssh/../sshconnect2.c:460: structure has no member named `idlist' *** Error code 1 Stop in /usr/src/usr.bin/ssh/ssh. *** Error code 1 Stop in /usr/src/usr.bin/ssh. The current OpenSSH CVS source tree broken in some way or am I missing something? Please CC bigwill at mit.edu with any responses as I'm not a list member. Will
2018 Feb 22
3
Attempts to connect to Axway SFTP server result in publickey auth loopin
We are attempting to use openssh sftp to connect to a server that is running some version of the Axway SFTP server. After a publickey auth completes, the server resends publickey as a valid auth. This results in a loop as openssh sftp resubmits the publickey information. This seems similar to a discussion in 2014 that terminated with the thought that it might be nice if the client tracked
2002 Oct 02
0
[Bug 407] New: Build openssh-3.1p1 fails, Mac OS X v1.2
...xec/ssh-rand-helper\" -DHAVE_CONFIG_H -c ssh-agent.c ssh-agent.c:135: illegal statement, missing `;' after `)' ssh-agent.c:162: illegal statement, missing `;' after `)' make: *** [ssh-agent.o] Error 1 The code at ssh-agent.c line 135 is: TAILQ_FOREACH(id, &tab->idlist, next) { if (key_equal(key, id->key)) return (id); } This is with the virgin 3.1p1; same error in make if I apply the patch openssh-3.1p1-adv.token.patch -- Sally ------- You are receiving this mail because: ------- You are the assignee for...
2014 May 21
1
Dovecot ontop of glusterfs issue.
...ver. I have seen similar lines in the logs to these: May 21 10:46:01 mailgw dovecot: imap(eliezer at ngtech.co.il): Warning: Created dotlock file's timestamp is different than current time (1400658105 vs 1400658361): /home/vmail/ngtech.co.il/eliezer/Maildir/.Mailing_lists.ceph_users/dovecot-uidlist May 21 10:46:01 mailgw dovecot: imap(eliezer at ngtech.co.il): Error: Transaction log /home/vmail/ngtech.co.il/eliezer/Maildir/dovecot.index.log: duplicate transaction log sequence (2713) The volume is mounted only by one server with ubutntu 14.04. I have seen threads and posts about similar is...
2003 Sep 18
11
[Bug 684] ssh cannot access keys stored in agent
http://bugzilla.mindrot.org/show_bug.cgi?id=684 Summary: ssh cannot access keys stored in agent Product: Portable OpenSSH Version: 3.7.1p1 Platform: UltraSparc OS/Version: Solaris Status: NEW Severity: major Priority: P2 Component: ssh AssignedTo: openssh-bugs at mindrot.org ReportedBy:
2020 Jun 09
3
[PATCH v2 0/2] Add openssl engine keys with provider upgrade path
I've architected this in a way that looks future proof at least to the openssl provider transition. What will happen in openssl 3.0.0 is that providers become active and will accept keys via URI. The current file mechanisms will still be available but internally it will become a file URI. To support the provider interface, openssl will have to accept keys by URI instead of file and may
2007 Oct 17
3
DO NOT REPLY [Bug 5022] New: FreeBSD 4.11 - Compilation Fails - uidlist.c - gcc2 / gcc3
https://bugzilla.samba.org/show_bug.cgi?id=5022 Summary: FreeBSD 4.11 - Compilation Fails - uidlist.c - gcc2 / gcc3 Product: rsync Version: 3.0.0 Platform: x86 OS/Version: FreeBSD Status: NEW Severity: normal Priority: P3 Component: core AssignedTo: wayned@samba.org ReportedBy: su...
2017 Oct 26
3
[RFC 0/2] add engine based keys
Engine keys are private key files which are only understood by openssl external engines. ?The problem is they can't be loaded with the usual openssl methods, they have to be loaded via ENGINE_load_private_key(). ?Because they're files, they fit well into openssh pub/private file structure, so they're not very appropriately handled by the pkcs11 interface because it assumes the private
2010 Jan 22
0
Wine release 1.1.37
...instead. msdaps: Switch to using an entry prefix for the auto-generated dlldata routines. msdaps: Add stub class factories for the row and rowset servers and proxies. msdaps: Register the row and rowset proxy and server classes. shell32: Add a test to show the IShellLink_GetIDList returns a copy of the IDList, remove an incorrect comment and fix a memory leak. Ilya Shpigor (2): gdi32: Additional checking in the test for font creation with the OEM charset. winex11.drv: Produce VK_CANCEL vkey on the Ctrl+Pause/Break pressing. Jacek Caban (12): mshtml.idl: A...
2004 Oct 05
6
group change causing failure
OK, I searched through the archives and didn't find anything so I must be doing something stupid. I just compiled 2.6.3 and am trying to get it to run on linux 2.6.8.1 kernel with a more or less fedora core2 environment. I was trying between two systems but I have narrowed it down to what I believe is a pretty simple case. Here is my setup/test: Last login: Mon Oct 4 19:30:49 2004
2020 Jan 30
6
[PATCH 1/2] Add support for openssl engine based keys
...se + sshkey_free(kp); + + r = SSH_AGENT_SUCCESS; + if (lookup_identity(k) == NULL) { + id = xcalloc(1, sizeof(Identity)); + id->key = k; + id->provider = xstrdup(engine); + id->comment = comment; + id->death = death; + id->confirm = confirm; + TAILQ_INSERT_TAIL(&idtab->idlist, id, next); + idtab->nentries++; + } else { + /* key is already present, just return success */ + sshkey_free(k); + } + +send: + free(pin); + free(engine); + free(file); + /* open code send_status because need to return actual error */ + if (sshbuf_put_u32(e->output, 1) != 0 || + sshbu...
2006 Nov 15
11
OpenSSH Certkey (PKI)
..._string=server_version_string; kex->verify_host_key=&verify_host_key_callback; @@ -168,6 +169,7 @@ Key *key; /* public/private key */ char *filename; /* comment for agent-only keys */ int tried; + int triedcert; int isprivate; /* key points to the private key */ }; TAILQ_HEAD(idlist, identity); @@ -206,6 +208,7 @@ void input_userauth_passwd_changereq(int, u_int32_t, void *); int userauth_none(Authctxt *); +int userauth_certkey(Authctxt *); int userauth_pubkey(Authctxt *); int userauth_passwd(Authctxt *); int userauth_kbdint(Authctxt *); @@ -224,6 +227,7 @@ void useraut...