tag:blogger.com,1999:blog-28276565840590069182024-03-05T23:22:34.883+09:00Linux and misc stuffMaximo Ramos Capillohttp://www.blogger.com/profile/07451938854480741579noreply@blogger.comBlogger2125tag:blogger.com,1999:blog-2827656584059006918.post-83505267209137736632015-10-18T04:34:00.000+09:002015-10-20T04:56:46.849+09:00KEB/Hana online banking in Linux<div style="text-align: center;">
<b>KEB/Hana online banking in Linux</b></div>
<br />
<div style="text-align: justify;">
As of October 2015, following the KEB/Hana Bank merger, the security programs needed to access <a href="https://open.keb.co.kr/" rel="nofollow" target="_blank">https://open.keb.co.kr</a> were updated. If you use Linux with a fully working Desktop Environment (like Gnome) then you probably didn't have any trouble installing those programs. But if you use a basic window manager, with only essential services and minimal packages installed then it could get a little bit tricky to set it up. <br />
<br />
This guide is an attempt to help other fellow Linux users installing and configuring those programs <b>manually in the command line</b>. I tried the standard way, using the "unified installation program method" (veraport) provided by the bank but with no results. I always ended up in a "loop", with a pop-up window asking me to install the security programs, even though they were already installed and properly detected by the website.</div>
<div style="text-align: justify;">
<br /></div>
<div style="text-align: justify;">
</div>
<div style="text-align: justify;">
The following procedure was done using Fedora 22 with no Desktop Environment, just plain old OpenBox window manager. It should work in other RPM-based Linux distributions as long as the binaries don't have missing or incorrect versions of libraries. For CentOS you need to enable the EPEL repository for dependencies.</div>
<div style="text-align: justify;">
<br />
<a name='more'></a></div>
<div style="text-align: justify;">
For Google Chrome, you need to download and install these RPMs: </div>
<div style="text-align: justify;">
</div>
<div style="text-align: justify;">
<a href="https://open.keb.co.kr/product_new/veraport/down/veraport-g3.i386.rpm" rel="nofollow" target="_blank">https://open.keb.co.kr/product_new/veraport/down/veraport-g3.i386.rpm</a><br />
<a href="https://open.keb.co.kr/product_new/delfino/down/delfino-g3.i386.rpm" rel="nofollow" target="_blank">https://open.keb.co.kr/product_new/delfino/down/delfino-g3.i386.rpm</a><br />
<a href="https://open.keb.co.kr//product_new/ipinside/client/linux/NewIPinside.i686.rpm" rel="nofollow" target="_blank">https://open.keb.co.kr//product_new/ipinside/client/linux/NewIPinside.i686.rpm</a> </div>
<div style="text-align: justify;">
<br /></div>
<div style="text-align: justify;">
For Firefox you need this additional RPM:</div>
<div style="text-align: justify;">
<a href="https://open.keb.co.kr/product/nProtect/down/linux-netizen-1.0.2.rpm" rel="nofollow" target="_blank">https://open.keb.co.kr/product/nProtect/down/linux-netizen-1.0.2.rpm</a></div>
<div style="text-align: justify;">
<br /></div>
<div style="text-align: justify;">
You can download these RPMs from the KEB website, but I had trouble downloading the NewIPinside RPM, so I'm posting the URLs just in case someone else might encounter the same problem. If you have a 64-bit system then download the corresponding packages from the website.</div>
<div style="text-align: justify;">
<br />
Get ready to install those RPMs but first consider the following:</div>
<div style="text-align: justify;">
<br /></div>
<div style="text-align: justify;">
- Clean up your system of outdated KEB RPM packages before installing the new ones, take a look at /opt/wizvera and /usr/lib/mozilla/plugins/ for orphan
binaries. Don't forget to remove the old veraport package.</div>
<div style="text-align: justify;">
<br />
- Use "sudo" for the installation because a postinstall script in the NewIPinside-RPM relies on the $SUDO_USER environment variable to
reload your firefox plugin database. But if you prefer to use the root account directly for the installation, then afterwards as your regular user account, run the following command:<br />
<br />
find $HOME/.mozilla/firefox/ -name "pluginreg.dat" -delete<br />
<br />
- Use dnf (or yum) instead of the standalone rpm, in order to avoid dependency issues. Additional packages will be installed, like cryptopp, beesu, and usermode-gtk.</div>
<div style="text-align: justify;">
</div>
<div style="text-align: justify;">
</div>
<div style="text-align: justify;">
<br />
If all went well, you don't have to reboot your system or log out of your session, just exit your browser and run the following commands as your regular user in a terminal:</div>
<div style="text-align: justify;">
<br /></div>
<div style="text-align: justify;">
- veraport</div>
<div style="text-align: justify;">
- delfino</div>
<div style="text-align: justify;">
- You also need to make sure the NewIPinsided service is running. If you just installed it, then it probably is, check it out with "pidof URIDaemon". If not, fire it up with "service NewIPinsided start" as root and be ready to restart it if it dies with "service NewIPinsided restart".<br />
<br />
Those three processes (well, shell script wrappers) are needed for your online banking session. If there are non-fatal errors in your system log (journalctl -f) then open the KEB/Hana website with your favorite browser and log-in. You should be able to do it with no pop-up window asking you to install security programs and that would mean you are all set for your banking session.</div>
<div style="text-align: justify;">
<div style="text-align: justify;">
<br /></div>
</div>
<div style="text-align: justify;">
</div>
<div style="text-align: justify;">
I do log-in using my digital certificate located in $HOME/NPKI/yessign. If that is also your case, you should be greeted with the following window (that's delfino working): </div>
<div style="text-align: justify;">
<br /></div>
<div class="separator" style="clear: both; text-align: center;">
</div>
<div class="separator" style="clear: both; text-align: center;">
</div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiBklFYxsrwA5M5ugLXg8Z-E3Ba2Stm0B_RRBnz0wvvPA7MQ1sCLXyzLXKzU6YErJgptTGUlaDx3TfXmtygNZKXTraxb04S0-LrKMicpNz2bcCOYxLf-FKYZcXrlrJkt6vL0Loyh3NIVg/s1600/keb_bank.jpg" rel="nofollow"><img alt="KEB-Hana Certificate window" border="0" height="400" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiBklFYxsrwA5M5ugLXg8Z-E3Ba2Stm0B_RRBnz0wvvPA7MQ1sCLXyzLXKzU6YErJgptTGUlaDx3TfXmtygNZKXTraxb04S0-LrKMicpNz2bcCOYxLf-FKYZcXrlrJkt6vL0Loyh3NIVg/s400/keb_bank.jpg" title="KEB-Hana Certificate window" width="275" /></a></div>
<div style="text-align: justify;">
<br /></div>
<div style="text-align: justify;">
<b><br /></b></div>
<div style="text-align: justify;">
<b>Notes:</b><b> </b><br />
<br />
- During your banking session, always look at your system log. In my
tests, NewIPinsided (URIDaemon) segfaulted a lot when trying to log-in with a digital certificate. Just restart the process and wait for a few seconds. Be patient, if you refresh your browser you will start all over again. Also, try to log-in first with the Korean version of the homepage, then you can change it to English.<br />
<br />
- Interestingly enough, you can run the NewIPinsided service as a regular user. It works with some warnings and non-fatal error messages.<br />
<br />
- Sometimes you won't be able to open more applications, getting the error message "Maximum number of clients reached - Can't open display". That is "delfino" misbehaving, just restart the process to fix it.<br />
<div>
<br /></div>
<div style="text-align: justify;">
- At the end of your session, don't forget to kill "veraport" and "delfino" (pkill -f wizvera). Also, stop the NewIPinsided service (service NewIPinsided stop).</div>
<div style="text-align: justify;">
<br />
- If you don't do online banking very often and don't want KEB security programs running all the time across reboots, then as root disable the NewIPinsided service with "chkconfig --del NewIPinsided".<br />
<br />
- For "veraport" and "delfino", they create desktop files in your ~/.config/autostart/ directory everytime they are launched. If you don't agree with that policy, then remove those files when you are done with your online banking:</div>
</div>
<div style="text-align: justify;">
<br /></div>
<div style="text-align: justify;">
rm $HOME/.config/autostart/delfino.desktop<br />
rm $HOME/.config/autostart/veraport.desktop<br />
<br />
A more drastic solution is to edit those binaries with a hex editor (I used <a href="http://bvi.sourceforge.net/" rel="nofollow">bvi</a>) and change a letter or two in their Exec variables.</div>
Maximo Ramos Capillohttp://www.blogger.com/profile/07451938854480741579noreply@blogger.com0tag:blogger.com,1999:blog-2827656584059006918.post-63236046677991842962015-10-02T22:49:00.002+09:002015-10-02T23:25:26.034+09:00Arguedas entre dos mundos<style type="text/css">p { margin-bottom: 0.25cm; direction: ltr; line-height: 120%; text-align: left; orphans: 2; widows: 2; }</style>
<br />
<div style="text-align: justify;">
<span style="font-family: Arial,Helvetica,sans-serif;"></span></div>
<div style="text-align: justify;">
<div style="text-align: center;">
<span style="font-family: Arial,Helvetica,sans-serif;"><span style="font-size: small;"><b>"ARGUEDAS ENTRE DOS MUNDOS"</b></span> </span></div>
<br />
<span style="font-size: small;"><span style="font-family: Arial,Helvetica,sans-serif;">Existe una dependencia policial en el centro de nuestra caótica ciudad que alguna vez fue un centro penitenciario. Se llamaba “El Sexto” y siempre llamó mi atención por los hechos de violencia que se suscitaron en la década de los ochenta. En dicho lugar ocurrió un motín de reclusos, quienes ejecutaron a varios rehenes frente a las cámaras de televisión que transmitían en vivo y en directo el desarrollo de la noticia, teniendo como mudo testigo de este execrable hecho a todo un país.</span></span></div>
<span style="font-size: small;"><span style="font-family: Arial,Helvetica,sans-serif;"></span></span>
<div style="text-align: justify;">
<br />
<span style="font-size: small;"><span style="font-family: Arial,Helvetica,sans-serif;">Al contar con escasa información sobre ese acto de violencia, es cuando me entero de la existencia de un libro llamado igualmente “El Sexto”, cuyo autor, José María Arguedas, había purgado una condena de ocho meses en dicha prisión. Esto despertó mi curiosidad natural y empecé a indagar un poco más sobre la vida de este personaje y las razones de su encierro.</span></span></div>
<div style="text-align: justify;">
<span style="font-size: small;"><span style="font-family: Arial,Helvetica,sans-serif;"></span></span><br />
<a name='more'></a></div>
<div style="text-align: justify;">
<span style="font-size: small;"><span style="font-family: Arial,Helvetica,sans-serif;">De acuerdo con su biografía, la infancia de Arguedas fue, por decir lo menos, tormentosa: perdió a su madre cuando él era muy niño, no teniendo ningún recuerdo de ella en su memoria. Asimismo, no tuvo una fuerte presencia paterna debido a la profesión itinerante de su padre, quien se ausentaba por largas temporadas del hogar. Más adelante, sintió el desprecio de su madrastra, quien le hacía vivir con los indios peones de la hacienda y además presenció en carne propia los vejámenes de su hermanastro, quien le sirvió de inspiración para los personajes antagonistas de sus obras. Ya en su etapa pre-adolescente es cuando logra reunirse con su padre, a quien acompaña en sus continuos viajes llegando a conocer diversos pueblos del Perú profundo.</span></span></div>
<div style="text-align: justify;">
<span style="font-size: small;"><span style="font-family: Arial,Helvetica,sans-serif;"><br /></span></span></div>
<div style="text-align: justify;">
<span style="font-size: small;"><span style="font-family: Arial,Helvetica,sans-serif;">Todo esto hace que Arguedas, a pesar de pertenecer a una familia de hacendados, se sienta más cómodo e identificado con los indios campesinos, con quienes congenia y simpatiza. Quizás fue empujado a esa situación por su madrastra o quizás la actitud represiva de su hermanastro hacía los indios haya despertado en él un sentimiento de rechazo hacía los gamonales. Si nos ponemos en sus zapatos, el Arguedas niño se encontraba en medio de dos bandos, de dos culturas, de dos mundos, no teniendo quizás muy claro a cuál de ellas pertenecía verdaderamente, sintiéndose rechazado por una y, a la vez, racialmente distinta de la otra.</span></span></div>
<div style="text-align: justify;">
<span style="font-size: small;"><span style="font-family: Arial,Helvetica,sans-serif;"><br /></span></span></div>
<div style="text-align: justify;">
<span style="font-size: small;"><span style="font-family: Arial,Helvetica,sans-serif;">Sea cual sea el caso, todas esas experiencias de su niñez y juventud marcaron fuertemente su vida adulta, lo cual queda reflejado en la mayoría de sus obras, que son de una temática indígena, en donde nos presenta la vida y costumbres de los pueblos andinos, además de las injusticias que sufrían. Asimismo, no olvidemos que Arguedas era un simpatizante comunista, a pesar de no tener oficialmente ninguna militancia política.</span></span></div>
<div style="text-align: justify;">
<span style="font-size: small;"><span style="font-family: Arial,Helvetica,sans-serif;"><br /></span></span></div>
<div style="text-align: justify;">
<span style="font-size: small;"><span style="font-family: Arial,Helvetica,sans-serif;">Al ser simpatizante comunista, y por ende anti-fascista, participa en una protesta estudiantil contra un enviado militar de la Italia de Mussolini, quien en esa época apoyaba al bloque fascista del General Franco contra la Segunda República Española, que contaba con el apoyo de Arguedas. Es debido a este incidente que pasó varios meses en el centro penitenciario “El Sexto”, estancia que le sirvió de inspiración para escribir una de sus obras que lleva el mismo nombre y en donde relata la vida carcelaria que vivió.</span></span></div>
<div style="text-align: justify;">
<span style="font-size: small;"><span style="font-family: Arial,Helvetica,sans-serif;"><br /></span></span></div>
<div style="text-align: justify;">
<span style="font-size: small;"><span style="font-family: Arial,Helvetica,sans-serif;">Luego de esta terrible experiencia, Arguedas continúa con su carrera literaria, obteniendo varios logros por sus novelas y cuentos, siendo premiado tanto dentro del país como en el exterior. Sin embargo, no todo es felicidad en su vida, ya que empieza a experimentar una fuerte depresión que arrastraría hasta el fin de sus días, en donde no pudo soportarlo más, tomando la trágica decisión de acabar con su vida, lográndolo en el segundo intento.</span></span></div>
<div style="text-align: justify;">
<span style="font-size: small;"><span style="font-family: Arial,Helvetica,sans-serif;"><br /></span></span></div>
<div style="text-align: justify;">
<span style="font-size: small;"><span style="font-family: Arial,Helvetica,sans-serif;">Arguedas se pegó un tiro en uno de los baños de la universidad donde enseñaba. Ya anteriormente había intentado suicidarse tomando una sobredosis de barbitúricos pero sin éxito. Es de esta manera que acaba con su vida, justo en la cúspide de su carrera literaria y con una novela a medio terminar, la cual fue publicada póstumamente. La manera como terminó su vida opaca la gran trayectoria de este escritor, quizás su depresión llegó a un punto de no retorno. Dicen que un suicidio puede verse como un gran acto de cobardía pero paradójicamente, se requiere de un gran valor y coraje para realizarlo, todo depende del cristal con que uno mire las cosas.</span></span></div>
<div style="text-align: justify;">
<span style="font-size: small;"><span style="font-family: Arial,Helvetica,sans-serif;"><br /></span></span></div>
<div style="text-align: justify;">
<span style="font-size: small;"><span style="font-family: Arial,Helvetica,sans-serif;">Todo lo que nos queda de Arguedas es su gran legado literario, su importante contribución para el reconocimiento y revalorización de las costumbres de los lejanos pueblos de la serranía de nuestro país, reflejado en sus novelas y cuentos. Arguedas pues, nos ayudó a conocer más sobre una parte de nosotros mismos que muchas veces no queremos o podemos mirar, ya sea por diferencias culturales o porque sentimos que se encuentran demasiado lejano de nosotros. Arguedas de algún modo acortó esa brecha entre la Lima centralista y esas poblaciones arraigadas en las raíces profundas del Perú.</span></span></div>
<div style="text-align: justify;">
<span style="font-size: small;"><span style="font-family: Arial,Helvetica,sans-serif;"><br /></span></span></div>
<div style="text-align: justify;">
<span style="font-size: small;"><span style="font-family: Arial,Helvetica,sans-serif;">En sus obras se ve reflejado lo estipulado anteriormente: en “Los Ríos Profundos”, “Yawar Fiesta” o “Todas las Sangres”, por mencionar algunos. En lo personal la temática indígena o costumbrista no me atrae como tema de lectura, es por eso que me llama mucho más la atención “El Sexto”. Sin embargo, luego de conocer más sobre su vida, su infancia al lado del campesinado y la posición social que adoptó al respecto, hace que incremente mi curiosidad por leer alguna de sus obras. Si bien su trabajo más aplaudido es “Los Ríos Profundos”, estoy más tentado a leer “Todas las Sangres”, la cual fue duramente criticada por sus colegas, quienes adujeron que la representación que se hacía de la sociedad peruana era “profundamente falsa e inconvincente”. Se dice que esta fue una de las tantas razones para que Arguedas decida tomar su fatal decisión.</span></span></div>
<div style="text-align: justify;">
<span style="font-size: small;"><span style="font-family: Arial,Helvetica,sans-serif;"><br /></span></span></div>
<div style="text-align: justify;">
<span style="font-size: small;"><span style="font-family: Arial,Helvetica,sans-serif;">Sin duda alguna estaré presto a dar lectura a “El Sexto” y más adelante a “Todas las Sangres”, para satisfacer mi curiosidad personal y quién sabe, quizás la pluma de Arguedas despierte mi adormitado interés por la temática andina, me abra los ojos y destierre los estereotipos tan negativos que tenemos sobre la vida y costumbres en el campo, y que tenemos incrustado en el ADN los que nacimos y crecimos en la ciudad. Definitivamente, las obras de Arguedas están en mi lista de cosas para hacer.</span></span></div>
Maximo Ramos Capillohttp://www.blogger.com/profile/07451938854480741579noreply@blogger.com0