First, some definitions:
key: ID, partial name, email<keyId>: key ID prefixed by0x
| /** | |
| Adapted Needleman-Wunsch algorithm for general array alignment | |
| If NeedlemanWunsch is used as entry point the unit tests are executed | |
| Copyright (c) 2013, Jonas Malaco Filho | |
| All rights reserved. | |
| Redistribution and use in source and binary forms, with or without | |
| modification, are permitted provided that the following conditions are met: | |
| - Redistributions of source code must retain the above copyright notice, |
| /* | |
| * Quick and dirty day type by month calculator in Haxe. | |
| * | |
| * Counts the number of weekdays, saturdays and sundays for each month | |
| * of the suplied range. | |
| * | |
| * Copyright 2013, Jonas Malaco Filho. | |
| * All rights reserved. Licensed under the BSD 2-clause license: | |
| * http://opensource.org/licenses/BSD-2-Clause | |
| */ |
| class DevRandom { | |
| public static | |
| function randomUInt( ?max:Null<Int> ) { | |
| var rand = getStream().readInt32(); | |
| if ( rand < 0 ) | |
| rand = ~rand; | |
| return max != null ? rand & (max-1) : rand; | |
| } |
| # Create/update dictionary files for Sublime Text 2 | |
| # Execute somewhere like $HOME/.config/sublime-text-2/Packages/Languages Brazilian/ | |
| # `DICTPATH` defines the source for the dictionary files | |
| # This Makefile expects them to be encoded in ISO8859-1 | |
| # Makefile based on https://github.com/SublimeText/Dictionaries | |
| # Requires dos2unix |
| # psdash upstart script | |
| # this job will start/stop psdash | |
| description "start and stop the psdash daemon" | |
| author "Jonas Malaco Filho" | |
| start on runlevel [2345] | |
| stop on runlevel [!2345] | |
| #env PSDASH_AUTH_USERNAME=admin | |
| #env PSDASH_AUTH_PASSWORD=admin |
| # Assumes debian/unstable source repository on /etc/apt/sources.lists | |
| # Assumes updated apt cache | |
| deb: | |
| fakeroot apt-get source --build keepass2 | |
| install: | |
| sudo dpkg -i *.deb | |
| rm *.deb |
| import haxe.remoting.Context; | |
| import haxe.remoting.HttpConnection; | |
| import haxe.remoting.SocketConnection; | |
| import haxe.remoting.SocketProtocol; | |
| import neko.vm.Thread; | |
| import sys.net.Host; | |
| import sys.net.Socket; | |
| import Sys.println; | |
| class Mini2 { |
Hardware: Giesecke & Devrient SafeSign Crypto USB Token
Sistema operacional: Ubuntu 14.04 LTS AMD 64
libccid, pcscd e libpcsclite1.
Adicionalmente, é interessante instalar o pacote pcsc-tools e executar pcsc_scan para verificar a visibilidade do token.