[grisbi-bugs] [Grisbi 0001512]: obfuscate.pl does nothing interesting
Grisbi Bug Tracker
bugtracker at grisbi.org
Wed Aug 8 16:59:34 CEST 2012
A NOTE has been added to this issue.
======================================================================
http://www.grisbi.org/bugsreports/view.php?id=1512
======================================================================
Reported By: stephane.gourichon
Assigned To:
======================================================================
Project: Grisbi
Issue ID: 1512
Category: Main
Reproducibility: always
Severity: major
Priority: normal
Status: new
OS: Ubuntu
Unstable Impact: Yes
Version OS: Ubuntu 12.04
Version GTK:
======================================================================
Date Submitted: 2012-08-08 16:55 CEST
Last Modified: 2012-08-08 16:59 CEST
======================================================================
Summary: obfuscate.pl does nothing interesting
Description:
(Bonjour, j'écris en anglais pour l'internationalisation.)
Context : While reporting a bug I consider sending my account file, anonymized
as explained on http://www.grisbi.org/bugtracking.fr.html .
Problem : Script obfuscate.pl does nothing interesting to actually anonimize my
account file. It only removes the xml preamble !
Steps to Reproduce:
I have saved a copy of my account file on mauvais_origin.gsb, want to anonimize
it on rapprochement_ecart_184.gsb.
$ wget http://www.grisbi.org/obfuscate.pl
--2012-08-08 16:49:00-- http://www.grisbi.org/obfuscate.pl
Résolution de www.grisbi.org (www.grisbi.org)... 91.121.46.153,
2001:41d0:1:9c8a::10
Connexion vers www.grisbi.org (www.grisbi.org)|91.121.46.153|:80... connecté.
requête HTTP transmise, en attente de la réponse... 200 OK
Longueur: 3548 (3,5K) [text/plain]
Sauvegarde en : «obfuscate.pl»
100%[===================================================================================================================================>]
3 548 --.-K/s ds 0,03s
2012-08-08 16:49:00 (123 KB/s) - «obfuscate.pl» sauvegardé [3548/3548]
$ chmod +x obfuscate.pl
$ ./obfuscate.pl mauvais_origin.gsb >rapprochement_ecart_184.gsb
$ diff mauvais_origin.gsb rapprochement_ecart_184.gsb
1d0
< <?xml version="1.0"?>
As you see, the obfuscator only removes the first line of the file.
Additional Information:
Perl is a standard installation that works fine on the machine, no hack.
$ md5sum obfuscate.pl
71e75486ff7c066259dd4e8f41a6289a obfuscate.pl
Thank you for your attention.
======================================================================
----------------------------------------------------------------------
(0003478) stephane.gourichon (reporter) - 2012-08-08 16:59
http://www.grisbi.org/bugsreports/view.php?id=1512#c3478
----------------------------------------------------------------------
You might wonder if I accidentally fed something that is not an account file.
Here is the beginning of the file, manually anonymized.
<?xml version="1.0"?>
<Grisbi>
<General
File_version="0.6.0"
Grisbi_version="0.8.8"
Crypt_file="0"
Archive_file="0"
File_title="(manually anonymized)"
General_address="(null)"
Second_general_address="(null)"
Date_format="%d/%m/%Y"
Decimal_point=","
Thousands_separator=" "
Party_list_currency_number="1"
Category_list_currency_number="1"
Budget_list_currency_number="1"
Scheduler_view="6"
Scheduler_custom_number="60"
Scheduler_custom_menu="0"
Import_interval_search="4"
Import_extract_number_for_check="0"
Import_fusion_transactions="0"
Import_categorie_for_payee="0"
Import_fyear_by_value_date="0"
Reconcile_end_date="0"
Use_logo="1"
Name_logo="(null)"
Is_pixmaps_dir="1"
Remind_display_per_account="1"
Transactions_view="18-1-3-13-5-6-7-0-0-12-0-9-8-0-0-11-15-0-0-0-0-0-0-0-0-0-0-0"
One_line_showed="0"
Two_lines_showed="0"
Three_lines_showed="0"
Remind_form_per_account="0"
Transaction_column_width="10-12-36-6-12-12-13"
Transaction_column_align="1-1-0-1-2-2-2"
Scheduler_column_width="10-12-36-12-12-12-19"
Combofix_mixed_sort="0"
Combofix_max_item="0"
Combofix_case_sensitive="0"
Combofix_force_payee="0"
Combofix_force_category="0"
Automatic_amount_separator="0"
CSV_separator="(null)"
CSV_skipped_lines="0-0-0-0-0-0-0-0-0-0"
Metatree_sort_transactions="0"
Add_archive_in_total_balance="1"
Bet_array_column_width="15-40-15-15-15"
Bet_capital="1000.00"
Bet_currency="1"
Bet_taux_annuel="4.00"
Bet_index_duree="0"
Bet_frais="0.00"
Bet_type_taux="1" />
<Color
Background_color_0_red="55000"
Background_color_0_green="55000"
Background_color_0_blue="65535"
Background_color_1_red="65535"
Background_color_1_green="65535"
Background_color_1_blue="65535"
Couleur_jour_red="55512"
Couleur_jour_green="55512"
Couleur_jour_blue="55512"
Background_scheduled_red="50000"
Background_scheduled_green="50000"
Background_scheduled_blue="50000"
Background_archive_red="15000"
Background_archive_green="30000"
Background_archive_blue="10000"
Selection_red="63000"
Selection_green="40000"
Selection_blue="40000"
Background_split_red="61423"
Background_split_green="50629"
Background_split_blue="50629"
Text_color_0_red="0"
Text_color_0_green="0"
Text_color_0_blue="0"
Text_color_1_red="65535"
Text_color_1_green="0"
Text_color_1_blue="0"
Calendar_entry_red="65535"
Calendar_entry_green="0"
Calendar_entry_blue="0"
Couleur_bet_division_red="64550"
Couleur_bet_division_green="65535"
Couleur_bet_division_blue="33466"
Couleur_bet_future_red="31829"
Couleur_bet_future_green="51015"
Couleur_bet_future_blue="35908"
Couleur_bet_solde_red="2318"
Couleur_bet_solde_green="65535"
Couleur_bet_solde_blue="60331"
Couleur_bet_transfert_red="31829"
Couleur_bet_transfert_green="51015"
Couleur_bet_transfert_blue="35908" />
<Print
Draw_lines="1"
Draw_column="1"
Draw_background="0"
Draw_archives="0"
Draw_columns_name="1"
Draw_title="0"
Draw_interval_dates="0"
Draw_dates_are_value_dates="0"
Font_transactions="sans 6"
Font_title="sans 12"
Report_font_transactions="sans 6"
Report_font_title="sans 12" />
<Currency Nb="1" Na="Euro" Co="€" Ico="EUR" Fl="2" />
<Account
Name="(manually anonymized)"
Id="(null)"
Number="0"
Owner="(manually anonymized)"
Kind="0"
Currency="1"
Path_icon="(null)"
Bank="1"
...
It is generated by grisbi 0.8.8 .
$ apt-cache policy grisbi
grisbi:
Installé : 0.8.8-1
Candidat : 0.8.8-1
Table de version :
*** 0.8.8-1 0
500 http://fr.archive.ubuntu.com/ubuntu/ precise/universe amd64 Packages
100 /var/lib/dpkg/status
Issue History
Date Modified Username Field Change
======================================================================
2012-08-08 16:55 stephane.gourichonNew Issue
2012-08-08 16:59 stephane.gourichonNote Added: 0003478
======================================================================
More information about the bugsreports
mailing list