search for: _key

Displaying 20 results from an estimated 32 matches for "_key".

2013 Jul 26
0
[LLVMdev] Botan and Android
Hi Jack, I'm almost there with Android..... I've actually got the static and dynamic libraries built. I'm choking on the test suite. Do you want to take a shot at working around Android and [embedded, lame] STLport? I would try removing the call to rend() in std::map<_Key, _Tp, _Compare, _Alloc>::rend(). But I really should not modify program code. Fiddling with a Makefile is one thing, but modifying source code is another. Jeff arm-linux-androideabi-g++ --sysroot=/opt/android-ndk-r8e//platforms/android-14/arch-arm -I/opt/android-ndk-r8e//sources/cxx-stl/stlpor...
2009 Oct 12
0
What is the correct way to define __hash__?
.... Instead, make a tuple of > the hashable content of your class and return the result of calling hash() > on that tuple. Be sure to make your equality comparison do the right thing. > > class A(object): > ?def __init__(self, a, b): > ? ?self.a = a > ? ?self.b = b > > ?def _key(self): > ? ?# I include the name of the class so as to differentiate between other > ? ?# classes that might also have a _key() method. If you have several > classes > ? ?# or subclasses that are allowed to compare equal to each other, use some > ? ?# other common string here. > ?...
2007 Feb 06
1
post-reload SSH server key transfer ... comments ?
...attacks, etc. ... So, am I correct that I can just tar up /etc/ssh on the old system and use it to overwrite /etc/ssh on the new system, and that's that ? No warning message or other problems ? ALSO, am I correct that if I copy over their home directories that contain their ~/.ssh/authorized_keys that those will continue to work just fine even though they are on a new server ? I guess as far as remote users are concerned, it _won't_ be a new system - since hostname, IP, and host ssh keys will be the same ... but I like to be careful and that is why I am asking for a sanity check here....
2015 Oct 29
6
[RFC][libcxx] Fix and maintain the no-exceptions build of libcxx
...are aware of the no-exceptions build as well. I have a work-in-progress patch for this, I will put it up for review separately once I'm done with it. Note that it's not just the tests that need to be updated. For example, take unordered_map::at(key) definition: template <class _Key, class _Tp, class _Hash, class _Pred, class _Alloc> _Tp& unordered_map<_Key, _Tp, _Hash, _Pred, _Alloc>::at(const key_type& __k) { iterator __i = find(__k); #ifndef _LIBCPP_NO_EXCEPTIONS if (__i == end()) throw out_of_range("unordered_map::at: key not fou...
2016 Jan 06
4
Empty (zero byte) SSH host keys
Hi, We create virtual machine image templates by doing automated minimal installations of different Linux distributions (via preseed/kickstarter/autoyast). At the end of the installation, we remove the SSH host keys (rm -f /etc/ssh/ssh*_key*). Fresh SSH host keys will be generated on the first boot of the image instances. This is done by adding a "dpkg-reconfigure openssh-server" call in /etc/rc.local (which calls ssh-keygen) on Debian/Ubuntu and by the init script of sshd on the other distributions. This leads to working S...
2015 Feb 10
2
SELinux context for ssh host keys?
...PM, Robert Nichols >> <rnicholsNOSPAM at comcast.net> >> wrote: >> > >> > On 02/09/2015 11:14 AM, James B. Byrne wrote: >> >> So, I decided to run restorecon -v to >> >> >> ... >> >> restorecon reset /etc/ssh/ssh_host_rsa_key_4096 context >> >> unconfined_u:object_r:sshd_key_t:s0->unconfined_u:object_r:etc_t:s0 >> > > Why are you putting your SSH key in /etc/ ? > > With SELinux its normally better to go with the flow. find out which > directories have the desired label and keep your o...
2019 Aug 09
6
[RFC PATCH v6 71/92] mm: add support for remote mapping
...ageRemote(page), page); + return (void *)((unsigned long)page->mapping & ~PAGE_MAPPING_FLAGS); +} + +/* + * Template for keyed RB tree. + * + * RBCTYPE type of container structure + * _rb_root name of rb_root element + * RBNTYPE type of node structure + * _rb_node name of rb_node element + * _key name of key element + */ + +#define KEYED_RB_TREE(RBPREFIX, RBCTYPE, _rb_root, RBNTYPE, _rb_node, _key)\ + \ +static bool RBPREFIX ## _insert(RBCTYPE * _container, RBNTYPE * _node) \ +{ \ + struct rb_root *root = &_container->_rb_root; \ + struct rb_node **new = &root-...
2006 Mar 02
1
Apple Mail cannot connect (1.0 beta3)
...as "Use SSL" checked. I'm not getting anything else useful out of the Mac in terms of debugging info. Thunderbird seems to be working fine (all platforms). The configuration file in use is: ----- protocols = imaps ssl_cert_file = /usr/share/ssl/certs/<servername>_cert.pem ssl_key_file = /usr/share/ssl/private/<servername>_key.pem login_greeting = Dovecot ready. max_mail_processes = 2048 verbose_proctitle = yes verbose_ssl = yes first_valid_uid = 100 mail_debug = yes default_mail_env = mbox:~/:INBOX=/var/mail/%u mail_full_filesystem_access = yes mbox_write_locks = dotl...
2007 May 05
2
ssh to failover target?
I have some machines that send ssh commands to a load balancer appliance that is really a pair of machines that can fail over to each other. The ssh keys are set up on both targets, but whenever the active target is changed, ssh issues a warning about a "man-in-the-middle" attack also goes to the log and the console which tends to alarm the operators. Setting the strict host check
2007 Aug 17
0
configuration updates
...only add the ones that makes sense. E.g. if the option is only supposed to be triggered using a key-binding, don't add the other options. I've already updated the core and all plugins in the fdo repository. Look at these changes to see how to best update other plugins. By adding the "_key" suffix to key actions, "_button" suffix to button actions etc you'll avoid breaking configuration tools as the gconf plugin was exposing the old action options like this before anyhow. I haven't added key, button, edge and bell options for all old action option. Mostly just...
2019 Jul 09
6
Dovecot 2.3.6 on Solaris10: build issues, segfaults
...ing_defines+80> src = 0x5798c dest_set = 0xf7ec0 dest = 0xf7ed4 children = 0x2c i = 1105688 count = 4279837964 #2 0xff192724 in settings_parser_dup (old_ctx=0x9ec08, new_pool=0xf29a0) at settings-parser.c:1946 new_ctx = 0x10def0 iter = 0x0 links = {_table = 0xa23c0, _key = 0xa23c0, _keyp = 0xa23c0, _const_key = 0xa23c0, _value = 0xa23c0, _valuep = 0xa23c0} new_link = 0x10b488 value = 0x0 key = 0x0 i = 0 parser_pool = 0x10ded8 keep_values = false __func__ = "settings_parser_dup" #3 0x0001fc0c in config_filter_parsers_get (ctx=0...
2019 Mar 28
0
Panic: file mail-transaction-log-file.c: line 105 (mail_transaction_log_file_free): assertion failed: (!file->locked)
...FILE_LOCK_METHOD_FCNTL, max_lock_timeout_secs = 4294967295, keywords_pool = 0x55e3e2c2a400, keywords = { arr = { buffer = 0x55e3e2c2a5f0, element_size = 8 }, v = 0x55e3e2c2a5f0, v_modifiable = 0x55e3e2c2a5f0 }, keywords_hash = { _table = 0x55e3e2c2a6c0, _key = 0x55e3e2c2a6c0 "", _keyp = 0x55e3e2c2a6c0, _const_key = 0x55e3e2c2a6c0 "", _value = 0x55e3e2c2a6c0, _valuep = 0x55e3e2c2a6c0 }, keywords_ext_id = 0, modseq_ext_id = 1, views = 0x0, module_contexts = { arr = { buffer = 0x55e3e2b41940, e...
2009 Oct 12
2
Copy OS live to different hardware
Hello, I've got some CentOS 5.3 servers that I want to clone to a backup server, possibly a VM machine. I want this to be done while the server is up, and keep it synced at least once a day. I've done this already by using RSYNC, but here's the twist: the backup machine could be different hardware, and needs to have a different IP address (so they don't conflict). My question:
2019 Mar 27
2
Panic: file mail-transaction-log-file.c: line 105 (mail_transaction_log_file_free): assertion failed: (!file->locked)
On 27 Mar 2019, at 14.58, Timo Sirainen via dovecot <dovecot at dovecot.org> wrote: > >> dovecot isn't able to auto fix the indexes and manual deletion is >> required in all such cases > > So if it keeps repeating, it's very strange. Could you send me such broken dovecot.index and dovecot.index.log files (without dovecot.index.cache)? They shouldn't contain
2007 Mar 09
0
[878] trunk/wxruby2/TODO: Update with 0.0.39 changes and items now in tracker
...</span><span class="cx"> </span><span class="cx"> - Truncation/missing widgets in bigdemo (OS X) </span><span class="cx"> </span><del>-- Caret sample not working with unicode builds, need to fix - KeyEvent#get_unicode _key (OS X) - </del><span class="cx"> Underlying SWIG & Build system problems </span><span class="cx"> --------------------------------------- </span><span class="cx"> </span><span class="lines">@@ -51,9 +48,6 @...
2013 Nov 25
6
[PATCH/RFC OSSTEST] Debian PV netboot guest test
...+d-i grub-installer/only_debian boolean true + +tasksel tasksel/first multiselect standard + +d-i pkgsel/include string openssh-server, ntp, ntpdate + +d-i finish-install/reboot_in_progress note + + +END +#$xopts{ExtraPreseed} + + my $authkeys= authorized_keys(); + + my $hostkeyfile= "$c{OverlayLocal}/etc/ssh/ssh_host_rsa_key"; + my $host_rsa_key= get_filecontents($hostkeyfile); + chomp($host_rsa_key); $host_rsa_key.="\n"; + + preseed_hook_command($ho, ''late_command'', $sfx, <<END); +#!/bin/sh +set...
2007 Mar 15
5
[PATCH 0/5] fix gcc warnings in CVS HEAD
Hi, I have rewritten the patches I submitted earlier today for the CVS HEAD. Some of the changes were already committed months ago. On 2007/03/15 12:30, Timo Sirainen <tss at iki.fi> wrote: > That's ok, but I'm not sure about bsearch_insert_pos(). It's the way it > is mostly because I wanted to keep bsearch() API. If it can't return > void * then maybe it could be
2012 Aug 31
1
[Postfix] SASL Auth. using Dovecot with password forwarding proxy configuration
...locks = fcntl passdb { args = /etc/dovecot/dovecot-sql.conf.ext driver = sql } service auth { unix_listener /var/spool/postfix/private/auth { group = postfix mode = 0660 user = postfix } } ssl_ca = </etc/pki/tls/certs/ca-cert.pem ssl_cert = </etc/pki/tls/certs/_cert.pem ssl_key = </etc/pki/tls/certs/_key.pem userdb { driver = prefetch } grep -v "^$\|^#" /etc/dovecot/dovecot-sql.conf.ext driver = mysql connect = host=/var/lib/mysql/mysql.sock dbname=postfix user=postfix password=postfixpassword password_query = SELECT NULL AS password, 'Y' as nopas...
2014 May 06
1
Again: pop3: Panic: Trying to allocate 0 bytes
...0x00000000004077f0 in client_uidls_save (client=0x1c42990, seq=0) at pop3-commands.c:798 str = <value optimized out> permanent_uidl = <value optimized out> search_ctx = 0x1c230d0 mail = <value optimized out> prev_uidls = {_table = 0x1c23330, _key = 0x1c23330 "\300o\355?\177", _keyp = 0x1c23330, _const_key = 0x1c23330 "\300o\355?\177", _value = 0x1c23330, _valuep = 0x1c23330} search_args = 0x0 seq_uidls = 0x60a4d8 uidl = <value optimized out> wanted_fields = <value optimized out&gt...
2009 Jul 10
2
[PATCH: node 0/3] replace ovirt-identify-node with matahari
This patchset removes ovirt-identify-node and ovirt-listen awake. It adds startup script support for the matahari qmf agent, which takes over the responsibility for communicating node hardware capabilities to the ovirt-server. On the server side, host-browser has had its node identification functionality replaced by a new script, host-register, which is what interfaces with the matahari qmf agent