├── .editorconfig ├── .github └── workflows │ └── ci.yml ├── .gitignore ├── LICENSE ├── README.md ├── com.github.elfenware.obliviate.yml ├── data ├── Application.css ├── com.github.elfenware.obliviate.desktop.in ├── com.github.elfenware.obliviate.gresource.xml ├── com.github.elfenware.obliviate.gschema.xml ├── com.github.elfenware.obliviate.metainfo.xml.in ├── icons │ ├── 32 │ │ └── com.github.elfenware.obliviate.svg │ ├── 48 │ │ └── com.github.elfenware.obliviate.svg │ ├── 64 │ │ └── com.github.elfenware.obliviate.svg │ └── 128 │ │ └── com.github.elfenware.obliviate.svg ├── meson.build ├── window-screenshot-2.png └── window-screenshot.png ├── meson.build ├── po ├── LINGUAS ├── POTFILES ├── com.github.elfenware.obliviate.pot ├── es.po ├── extra │ ├── LINGUAS │ ├── POTFILES │ ├── es.po │ ├── extra.pot │ ├── fr.po │ ├── it.po │ ├── meson.build │ ├── nl.po │ └── ru.po ├── fr.po ├── it.po ├── meson.build ├── nl.po └── ru.po ├── src ├── Application.vala ├── Config.vala.in ├── MainView.vala ├── MainWindow.vala ├── Service.vala └── meson.build └── vapi ├── config.vapi └── gcrypt.vapi /.editorconfig: -------------------------------------------------------------------------------- 1 | # EditorConfig 2 | root = true 3 | 4 | # elementary defaults 5 | [*] 6 | charset = utf-8 7 | end_of_line = lf 8 | indent_size = tab 9 | indent_style = space 10 | insert_final_newline = true 11 | max_line_length = 80 12 | tab_width = 4 13 | 14 | [{*.xml,*.xml.in,*.yml}] 15 | tab_width = 2 16 | -------------------------------------------------------------------------------- /.github/workflows/ci.yml: -------------------------------------------------------------------------------- 1 | name: CI 2 | 3 | on: 4 | push: 5 | branches: [ main ] 6 | 7 | pull_request: 8 | branches: [ main ] 9 | types: 10 | - opened 11 | - reopened 12 | - synchronize 13 | 14 | jobs: 15 | flatpak: 16 | name: Flatpak 17 | runs-on: ubuntu-latest 18 | 19 | container: 20 | image: ghcr.io/elementary/flatpak-platform/runtime:daily 21 | options: --privileged 22 | 23 | steps: 24 | - name: Checkout 25 | uses: actions/checkout@v2 26 | 27 | - name: Build 28 | uses: bilelmoussaoui/flatpak-github-actions/flatpak-builder@v4 29 | with: 30 | bundle: obliviate.flatpak 31 | manifest-path: com.github.elfenware.obliviate.yml 32 | run-tests: true 33 | repository-name: appcenter 34 | repository-url: https://flatpak.elementary.io/repo.flatpakrepo 35 | cache-key: "flatpak-builder-${{ github.sha }}" 36 | 37 | lint: 38 | name: Lint 39 | runs-on: ubuntu-latest 40 | 41 | container: 42 | image: valalang/lint 43 | 44 | steps: 45 | - name: Checkout 46 | uses: actions/checkout@v2 47 | 48 | - name: Lint 49 | run: io.elementary.vala-lint -d . 50 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | build 2 | builddir 3 | .flatpak-builder 4 | *~ 5 | .flatpak 6 | .vscode -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- 1 | GNU GENERAL PUBLIC LICENSE 2 | Version 3, 29 June 2007 3 | 4 | Copyright (C) 2007 Free Software Foundation, Inc. 5 | Everyone is permitted to copy and distribute verbatim copies 6 | of this license document, but changing it is not allowed. 7 | 8 | Preamble 9 | 10 | The GNU General Public License is a free, copyleft license for 11 | software and other kinds of works. 12 | 13 | The licenses for most software and other practical works are designed 14 | to take away your freedom to share and change the works. By contrast, 15 | the GNU General Public License is intended to guarantee your freedom to 16 | share and change all versions of a program--to make sure it remains free 17 | software for all its users. We, the Free Software Foundation, use the 18 | GNU General Public License for most of our software; it applies also to 19 | any other work released this way by its authors. You can apply it to 20 | your programs, too. 21 | 22 | When we speak of free software, we are referring to freedom, not 23 | price. Our General Public Licenses are designed to make sure that you 24 | have the freedom to distribute copies of free software (and charge for 25 | them if you wish), that you receive source code or can get it if you 26 | want it, that you can change the software or use pieces of it in new 27 | free programs, and that you know you can do these things. 28 | 29 | To protect your rights, we need to prevent others from denying you 30 | these rights or asking you to surrender the rights. Therefore, you have 31 | certain responsibilities if you distribute copies of the software, or if 32 | you modify it: responsibilities to respect the freedom of others. 33 | 34 | For example, if you distribute copies of such a program, whether 35 | gratis or for a fee, you must pass on to the recipients the same 36 | freedoms that you received. You must make sure that they, too, receive 37 | or can get the source code. And you must show them these terms so they 38 | know their rights. 39 | 40 | Developers that use the GNU GPL protect your rights with two steps: 41 | (1) assert copyright on the software, and (2) offer you this License 42 | giving you legal permission to copy, distribute and/or modify it. 43 | 44 | For the developers' and authors' protection, the GPL clearly explains 45 | that there is no warranty for this free software. For both users' and 46 | authors' sake, the GPL requires that modified versions be marked as 47 | changed, so that their problems will not be attributed erroneously to 48 | authors of previous versions. 49 | 50 | Some devices are designed to deny users access to install or run 51 | modified versions of the software inside them, although the manufacturer 52 | can do so. This is fundamentally incompatible with the aim of 53 | protecting users' freedom to change the software. The systematic 54 | pattern of such abuse occurs in the area of products for individuals to 55 | use, which is precisely where it is most unacceptable. Therefore, we 56 | have designed this version of the GPL to prohibit the practice for those 57 | products. If such problems arise substantially in other domains, we 58 | stand ready to extend this provision to those domains in future versions 59 | of the GPL, as needed to protect the freedom of users. 60 | 61 | Finally, every program is threatened constantly by software patents. 62 | States should not allow patents to restrict development and use of 63 | software on general-purpose computers, but in those that do, we wish to 64 | avoid the special danger that patents applied to a free program could 65 | make it effectively proprietary. To prevent this, the GPL assures that 66 | patents cannot be used to render the program non-free. 67 | 68 | The precise terms and conditions for copying, distribution and 69 | modification follow. 70 | 71 | TERMS AND CONDITIONS 72 | 73 | 0. Definitions. 74 | 75 | "This License" refers to version 3 of the GNU General Public License. 76 | 77 | "Copyright" also means copyright-like laws that apply to other kinds of 78 | works, such as semiconductor masks. 79 | 80 | "The Program" refers to any copyrightable work licensed under this 81 | License. Each licensee is addressed as "you". "Licensees" and 82 | "recipients" may be individuals or organizations. 83 | 84 | To "modify" a work means to copy from or adapt all or part of the work 85 | in a fashion requiring copyright permission, other than the making of an 86 | exact copy. The resulting work is called a "modified version" of the 87 | earlier work or a work "based on" the earlier work. 88 | 89 | A "covered work" means either the unmodified Program or a work based 90 | on the Program. 91 | 92 | To "propagate" a work means to do anything with it that, without 93 | permission, would make you directly or secondarily liable for 94 | infringement under applicable copyright law, except executing it on a 95 | computer or modifying a private copy. Propagation includes copying, 96 | distribution (with or without modification), making available to the 97 | public, and in some countries other activities as well. 98 | 99 | To "convey" a work means any kind of propagation that enables other 100 | parties to make or receive copies. Mere interaction with a user through 101 | a computer network, with no transfer of a copy, is not conveying. 102 | 103 | An interactive user interface displays "Appropriate Legal Notices" 104 | to the extent that it includes a convenient and prominently visible 105 | feature that (1) displays an appropriate copyright notice, and (2) 106 | tells the user that there is no warranty for the work (except to the 107 | extent that warranties are provided), that licensees may convey the 108 | work under this License, and how to view a copy of this License. If 109 | the interface presents a list of user commands or options, such as a 110 | menu, a prominent item in the list meets this criterion. 111 | 112 | 1. Source Code. 113 | 114 | The "source code" for a work means the preferred form of the work 115 | for making modifications to it. "Object code" means any non-source 116 | form of a work. 117 | 118 | A "Standard Interface" means an interface that either is an official 119 | standard defined by a recognized standards body, or, in the case of 120 | interfaces specified for a particular programming language, one that 121 | is widely used among developers working in that language. 122 | 123 | The "System Libraries" of an executable work include anything, other 124 | than the work as a whole, that (a) is included in the normal form of 125 | packaging a Major Component, but which is not part of that Major 126 | Component, and (b) serves only to enable use of the work with that 127 | Major Component, or to implement a Standard Interface for which an 128 | implementation is available to the public in source code form. A 129 | "Major Component", in this context, means a major essential component 130 | (kernel, window system, and so on) of the specific operating system 131 | (if any) on which the executable work runs, or a compiler used to 132 | produce the work, or an object code interpreter used to run it. 133 | 134 | The "Corresponding Source" for a work in object code form means all 135 | the source code needed to generate, install, and (for an executable 136 | work) run the object code and to modify the work, including scripts to 137 | control those activities. However, it does not include the work's 138 | System Libraries, or general-purpose tools or generally available free 139 | programs which are used unmodified in performing those activities but 140 | which are not part of the work. For example, Corresponding Source 141 | includes interface definition files associated with source files for 142 | the work, and the source code for shared libraries and dynamically 143 | linked subprograms that the work is specifically designed to require, 144 | such as by intimate data communication or control flow between those 145 | subprograms and other parts of the work. 146 | 147 | The Corresponding Source need not include anything that users 148 | can regenerate automatically from other parts of the Corresponding 149 | Source. 150 | 151 | The Corresponding Source for a work in source code form is that 152 | same work. 153 | 154 | 2. Basic Permissions. 155 | 156 | All rights granted under this License are granted for the term of 157 | copyright on the Program, and are irrevocable provided the stated 158 | conditions are met. This License explicitly affirms your unlimited 159 | permission to run the unmodified Program. The output from running a 160 | covered work is covered by this License only if the output, given its 161 | content, constitutes a covered work. This License acknowledges your 162 | rights of fair use or other equivalent, as provided by copyright law. 163 | 164 | You may make, run and propagate covered works that you do not 165 | convey, without conditions so long as your license otherwise remains 166 | in force. You may convey covered works to others for the sole purpose 167 | of having them make modifications exclusively for you, or provide you 168 | with facilities for running those works, provided that you comply with 169 | the terms of this License in conveying all material for which you do 170 | not control copyright. Those thus making or running the covered works 171 | for you must do so exclusively on your behalf, under your direction 172 | and control, on terms that prohibit them from making any copies of 173 | your copyrighted material outside their relationship with you. 174 | 175 | Conveying under any other circumstances is permitted solely under 176 | the conditions stated below. Sublicensing is not allowed; section 10 177 | makes it unnecessary. 178 | 179 | 3. Protecting Users' Legal Rights From Anti-Circumvention Law. 180 | 181 | No covered work shall be deemed part of an effective technological 182 | measure under any applicable law fulfilling obligations under article 183 | 11 of the WIPO copyright treaty adopted on 20 December 1996, or 184 | similar laws prohibiting or restricting circumvention of such 185 | measures. 186 | 187 | When you convey a covered work, you waive any legal power to forbid 188 | circumvention of technological measures to the extent such circumvention 189 | is effected by exercising rights under this License with respect to 190 | the covered work, and you disclaim any intention to limit operation or 191 | modification of the work as a means of enforcing, against the work's 192 | users, your or third parties' legal rights to forbid circumvention of 193 | technological measures. 194 | 195 | 4. Conveying Verbatim Copies. 196 | 197 | You may convey verbatim copies of the Program's source code as you 198 | receive it, in any medium, provided that you conspicuously and 199 | appropriately publish on each copy an appropriate copyright notice; 200 | keep intact all notices stating that this License and any 201 | non-permissive terms added in accord with section 7 apply to the code; 202 | keep intact all notices of the absence of any warranty; and give all 203 | recipients a copy of this License along with the Program. 204 | 205 | You may charge any price or no price for each copy that you convey, 206 | and you may offer support or warranty protection for a fee. 207 | 208 | 5. Conveying Modified Source Versions. 209 | 210 | You may convey a work based on the Program, or the modifications to 211 | produce it from the Program, in the form of source code under the 212 | terms of section 4, provided that you also meet all of these conditions: 213 | 214 | a) The work must carry prominent notices stating that you modified 215 | it, and giving a relevant date. 216 | 217 | b) The work must carry prominent notices stating that it is 218 | released under this License and any conditions added under section 219 | 7. This requirement modifies the requirement in section 4 to 220 | "keep intact all notices". 221 | 222 | c) You must license the entire work, as a whole, under this 223 | License to anyone who comes into possession of a copy. This 224 | License will therefore apply, along with any applicable section 7 225 | additional terms, to the whole of the work, and all its parts, 226 | regardless of how they are packaged. This License gives no 227 | permission to license the work in any other way, but it does not 228 | invalidate such permission if you have separately received it. 229 | 230 | d) If the work has interactive user interfaces, each must display 231 | Appropriate Legal Notices; however, if the Program has interactive 232 | interfaces that do not display Appropriate Legal Notices, your 233 | work need not make them do so. 234 | 235 | A compilation of a covered work with other separate and independent 236 | works, which are not by their nature extensions of the covered work, 237 | and which are not combined with it such as to form a larger program, 238 | in or on a volume of a storage or distribution medium, is called an 239 | "aggregate" if the compilation and its resulting copyright are not 240 | used to limit the access or legal rights of the compilation's users 241 | beyond what the individual works permit. Inclusion of a covered work 242 | in an aggregate does not cause this License to apply to the other 243 | parts of the aggregate. 244 | 245 | 6. Conveying Non-Source Forms. 246 | 247 | You may convey a covered work in object code form under the terms 248 | of sections 4 and 5, provided that you also convey the 249 | machine-readable Corresponding Source under the terms of this License, 250 | in one of these ways: 251 | 252 | a) Convey the object code in, or embodied in, a physical product 253 | (including a physical distribution medium), accompanied by the 254 | Corresponding Source fixed on a durable physical medium 255 | customarily used for software interchange. 256 | 257 | b) Convey the object code in, or embodied in, a physical product 258 | (including a physical distribution medium), accompanied by a 259 | written offer, valid for at least three years and valid for as 260 | long as you offer spare parts or customer support for that product 261 | model, to give anyone who possesses the object code either (1) a 262 | copy of the Corresponding Source for all the software in the 263 | product that is covered by this License, on a durable physical 264 | medium customarily used for software interchange, for a price no 265 | more than your reasonable cost of physically performing this 266 | conveying of source, or (2) access to copy the 267 | Corresponding Source from a network server at no charge. 268 | 269 | c) Convey individual copies of the object code with a copy of the 270 | written offer to provide the Corresponding Source. This 271 | alternative is allowed only occasionally and noncommercially, and 272 | only if you received the object code with such an offer, in accord 273 | with subsection 6b. 274 | 275 | d) Convey the object code by offering access from a designated 276 | place (gratis or for a charge), and offer equivalent access to the 277 | Corresponding Source in the same way through the same place at no 278 | further charge. You need not require recipients to copy the 279 | Corresponding Source along with the object code. If the place to 280 | copy the object code is a network server, the Corresponding Source 281 | may be on a different server (operated by you or a third party) 282 | that supports equivalent copying facilities, provided you maintain 283 | clear directions next to the object code saying where to find the 284 | Corresponding Source. Regardless of what server hosts the 285 | Corresponding Source, you remain obligated to ensure that it is 286 | available for as long as needed to satisfy these requirements. 287 | 288 | e) Convey the object code using peer-to-peer transmission, provided 289 | you inform other peers where the object code and Corresponding 290 | Source of the work are being offered to the general public at no 291 | charge under subsection 6d. 292 | 293 | A separable portion of the object code, whose source code is excluded 294 | from the Corresponding Source as a System Library, need not be 295 | included in conveying the object code work. 296 | 297 | A "User Product" is either (1) a "consumer product", which means any 298 | tangible personal property which is normally used for personal, family, 299 | or household purposes, or (2) anything designed or sold for incorporation 300 | into a dwelling. In determining whether a product is a consumer product, 301 | doubtful cases shall be resolved in favor of coverage. For a particular 302 | product received by a particular user, "normally used" refers to a 303 | typical or common use of that class of product, regardless of the status 304 | of the particular user or of the way in which the particular user 305 | actually uses, or expects or is expected to use, the product. A product 306 | is a consumer product regardless of whether the product has substantial 307 | commercial, industrial or non-consumer uses, unless such uses represent 308 | the only significant mode of use of the product. 309 | 310 | "Installation Information" for a User Product means any methods, 311 | procedures, authorization keys, or other information required to install 312 | and execute modified versions of a covered work in that User Product from 313 | a modified version of its Corresponding Source. The information must 314 | suffice to ensure that the continued functioning of the modified object 315 | code is in no case prevented or interfered with solely because 316 | modification has been made. 317 | 318 | If you convey an object code work under this section in, or with, or 319 | specifically for use in, a User Product, and the conveying occurs as 320 | part of a transaction in which the right of possession and use of the 321 | User Product is transferred to the recipient in perpetuity or for a 322 | fixed term (regardless of how the transaction is characterized), the 323 | Corresponding Source conveyed under this section must be accompanied 324 | by the Installation Information. But this requirement does not apply 325 | if neither you nor any third party retains the ability to install 326 | modified object code on the User Product (for example, the work has 327 | been installed in ROM). 328 | 329 | The requirement to provide Installation Information does not include a 330 | requirement to continue to provide support service, warranty, or updates 331 | for a work that has been modified or installed by the recipient, or for 332 | the User Product in which it has been modified or installed. Access to a 333 | network may be denied when the modification itself materially and 334 | adversely affects the operation of the network or violates the rules and 335 | protocols for communication across the network. 336 | 337 | Corresponding Source conveyed, and Installation Information provided, 338 | in accord with this section must be in a format that is publicly 339 | documented (and with an implementation available to the public in 340 | source code form), and must require no special password or key for 341 | unpacking, reading or copying. 342 | 343 | 7. Additional Terms. 344 | 345 | "Additional permissions" are terms that supplement the terms of this 346 | License by making exceptions from one or more of its conditions. 347 | Additional permissions that are applicable to the entire Program shall 348 | be treated as though they were included in this License, to the extent 349 | that they are valid under applicable law. If additional permissions 350 | apply only to part of the Program, that part may be used separately 351 | under those permissions, but the entire Program remains governed by 352 | this License without regard to the additional permissions. 353 | 354 | When you convey a copy of a covered work, you may at your option 355 | remove any additional permissions from that copy, or from any part of 356 | it. (Additional permissions may be written to require their own 357 | removal in certain cases when you modify the work.) You may place 358 | additional permissions on material, added by you to a covered work, 359 | for which you have or can give appropriate copyright permission. 360 | 361 | Notwithstanding any other provision of this License, for material you 362 | add to a covered work, you may (if authorized by the copyright holders of 363 | that material) supplement the terms of this License with terms: 364 | 365 | a) Disclaiming warranty or limiting liability differently from the 366 | terms of sections 15 and 16 of this License; or 367 | 368 | b) Requiring preservation of specified reasonable legal notices or 369 | author attributions in that material or in the Appropriate Legal 370 | Notices displayed by works containing it; or 371 | 372 | c) Prohibiting misrepresentation of the origin of that material, or 373 | requiring that modified versions of such material be marked in 374 | reasonable ways as different from the original version; or 375 | 376 | d) Limiting the use for publicity purposes of names of licensors or 377 | authors of the material; or 378 | 379 | e) Declining to grant rights under trademark law for use of some 380 | trade names, trademarks, or service marks; or 381 | 382 | f) Requiring indemnification of licensors and authors of that 383 | material by anyone who conveys the material (or modified versions of 384 | it) with contractual assumptions of liability to the recipient, for 385 | any liability that these contractual assumptions directly impose on 386 | those licensors and authors. 387 | 388 | All other non-permissive additional terms are considered "further 389 | restrictions" within the meaning of section 10. If the Program as you 390 | received it, or any part of it, contains a notice stating that it is 391 | governed by this License along with a term that is a further 392 | restriction, you may remove that term. If a license document contains 393 | a further restriction but permits relicensing or conveying under this 394 | License, you may add to a covered work material governed by the terms 395 | of that license document, provided that the further restriction does 396 | not survive such relicensing or conveying. 397 | 398 | If you add terms to a covered work in accord with this section, you 399 | must place, in the relevant source files, a statement of the 400 | additional terms that apply to those files, or a notice indicating 401 | where to find the applicable terms. 402 | 403 | Additional terms, permissive or non-permissive, may be stated in the 404 | form of a separately written license, or stated as exceptions; 405 | the above requirements apply either way. 406 | 407 | 8. Termination. 408 | 409 | You may not propagate or modify a covered work except as expressly 410 | provided under this License. Any attempt otherwise to propagate or 411 | modify it is void, and will automatically terminate your rights under 412 | this License (including any patent licenses granted under the third 413 | paragraph of section 11). 414 | 415 | However, if you cease all violation of this License, then your 416 | license from a particular copyright holder is reinstated (a) 417 | provisionally, unless and until the copyright holder explicitly and 418 | finally terminates your license, and (b) permanently, if the copyright 419 | holder fails to notify you of the violation by some reasonable means 420 | prior to 60 days after the cessation. 421 | 422 | Moreover, your license from a particular copyright holder is 423 | reinstated permanently if the copyright holder notifies you of the 424 | violation by some reasonable means, this is the first time you have 425 | received notice of violation of this License (for any work) from that 426 | copyright holder, and you cure the violation prior to 30 days after 427 | your receipt of the notice. 428 | 429 | Termination of your rights under this section does not terminate the 430 | licenses of parties who have received copies or rights from you under 431 | this License. If your rights have been terminated and not permanently 432 | reinstated, you do not qualify to receive new licenses for the same 433 | material under section 10. 434 | 435 | 9. Acceptance Not Required for Having Copies. 436 | 437 | You are not required to accept this License in order to receive or 438 | run a copy of the Program. Ancillary propagation of a covered work 439 | occurring solely as a consequence of using peer-to-peer transmission 440 | to receive a copy likewise does not require acceptance. However, 441 | nothing other than this License grants you permission to propagate or 442 | modify any covered work. These actions infringe copyright if you do 443 | not accept this License. Therefore, by modifying or propagating a 444 | covered work, you indicate your acceptance of this License to do so. 445 | 446 | 10. Automatic Licensing of Downstream Recipients. 447 | 448 | Each time you convey a covered work, the recipient automatically 449 | receives a license from the original licensors, to run, modify and 450 | propagate that work, subject to this License. You are not responsible 451 | for enforcing compliance by third parties with this License. 452 | 453 | An "entity transaction" is a transaction transferring control of an 454 | organization, or substantially all assets of one, or subdividing an 455 | organization, or merging organizations. If propagation of a covered 456 | work results from an entity transaction, each party to that 457 | transaction who receives a copy of the work also receives whatever 458 | licenses to the work the party's predecessor in interest had or could 459 | give under the previous paragraph, plus a right to possession of the 460 | Corresponding Source of the work from the predecessor in interest, if 461 | the predecessor has it or can get it with reasonable efforts. 462 | 463 | You may not impose any further restrictions on the exercise of the 464 | rights granted or affirmed under this License. For example, you may 465 | not impose a license fee, royalty, or other charge for exercise of 466 | rights granted under this License, and you may not initiate litigation 467 | (including a cross-claim or counterclaim in a lawsuit) alleging that 468 | any patent claim is infringed by making, using, selling, offering for 469 | sale, or importing the Program or any portion of it. 470 | 471 | 11. Patents. 472 | 473 | A "contributor" is a copyright holder who authorizes use under this 474 | License of the Program or a work on which the Program is based. The 475 | work thus licensed is called the contributor's "contributor version". 476 | 477 | A contributor's "essential patent claims" are all patent claims 478 | owned or controlled by the contributor, whether already acquired or 479 | hereafter acquired, that would be infringed by some manner, permitted 480 | by this License, of making, using, or selling its contributor version, 481 | but do not include claims that would be infringed only as a 482 | consequence of further modification of the contributor version. For 483 | purposes of this definition, "control" includes the right to grant 484 | patent sublicenses in a manner consistent with the requirements of 485 | this License. 486 | 487 | Each contributor grants you a non-exclusive, worldwide, royalty-free 488 | patent license under the contributor's essential patent claims, to 489 | make, use, sell, offer for sale, import and otherwise run, modify and 490 | propagate the contents of its contributor version. 491 | 492 | In the following three paragraphs, a "patent license" is any express 493 | agreement or commitment, however denominated, not to enforce a patent 494 | (such as an express permission to practice a patent or covenant not to 495 | sue for patent infringement). To "grant" such a patent license to a 496 | party means to make such an agreement or commitment not to enforce a 497 | patent against the party. 498 | 499 | If you convey a covered work, knowingly relying on a patent license, 500 | and the Corresponding Source of the work is not available for anyone 501 | to copy, free of charge and under the terms of this License, through a 502 | publicly available network server or other readily accessible means, 503 | then you must either (1) cause the Corresponding Source to be so 504 | available, or (2) arrange to deprive yourself of the benefit of the 505 | patent license for this particular work, or (3) arrange, in a manner 506 | consistent with the requirements of this License, to extend the patent 507 | license to downstream recipients. "Knowingly relying" means you have 508 | actual knowledge that, but for the patent license, your conveying the 509 | covered work in a country, or your recipient's use of the covered work 510 | in a country, would infringe one or more identifiable patents in that 511 | country that you have reason to believe are valid. 512 | 513 | If, pursuant to or in connection with a single transaction or 514 | arrangement, you convey, or propagate by procuring conveyance of, a 515 | covered work, and grant a patent license to some of the parties 516 | receiving the covered work authorizing them to use, propagate, modify 517 | or convey a specific copy of the covered work, then the patent license 518 | you grant is automatically extended to all recipients of the covered 519 | work and works based on it. 520 | 521 | A patent license is "discriminatory" if it does not include within 522 | the scope of its coverage, prohibits the exercise of, or is 523 | conditioned on the non-exercise of one or more of the rights that are 524 | specifically granted under this License. You may not convey a covered 525 | work if you are a party to an arrangement with a third party that is 526 | in the business of distributing software, under which you make payment 527 | to the third party based on the extent of your activity of conveying 528 | the work, and under which the third party grants, to any of the 529 | parties who would receive the covered work from you, a discriminatory 530 | patent license (a) in connection with copies of the covered work 531 | conveyed by you (or copies made from those copies), or (b) primarily 532 | for and in connection with specific products or compilations that 533 | contain the covered work, unless you entered into that arrangement, 534 | or that patent license was granted, prior to 28 March 2007. 535 | 536 | Nothing in this License shall be construed as excluding or limiting 537 | any implied license or other defenses to infringement that may 538 | otherwise be available to you under applicable patent law. 539 | 540 | 12. No Surrender of Others' Freedom. 541 | 542 | If conditions are imposed on you (whether by court order, agreement or 543 | otherwise) that contradict the conditions of this License, they do not 544 | excuse you from the conditions of this License. If you cannot convey a 545 | covered work so as to satisfy simultaneously your obligations under this 546 | License and any other pertinent obligations, then as a consequence you may 547 | not convey it at all. For example, if you agree to terms that obligate you 548 | to collect a royalty for further conveying from those to whom you convey 549 | the Program, the only way you could satisfy both those terms and this 550 | License would be to refrain entirely from conveying the Program. 551 | 552 | 13. Use with the GNU Affero General Public License. 553 | 554 | Notwithstanding any other provision of this License, you have 555 | permission to link or combine any covered work with a work licensed 556 | under version 3 of the GNU Affero General Public License into a single 557 | combined work, and to convey the resulting work. The terms of this 558 | License will continue to apply to the part which is the covered work, 559 | but the special requirements of the GNU Affero General Public License, 560 | section 13, concerning interaction through a network will apply to the 561 | combination as such. 562 | 563 | 14. Revised Versions of this License. 564 | 565 | The Free Software Foundation may publish revised and/or new versions of 566 | the GNU General Public License from time to time. Such new versions will 567 | be similar in spirit to the present version, but may differ in detail to 568 | address new problems or concerns. 569 | 570 | Each version is given a distinguishing version number. If the 571 | Program specifies that a certain numbered version of the GNU General 572 | Public License "or any later version" applies to it, you have the 573 | option of following the terms and conditions either of that numbered 574 | version or of any later version published by the Free Software 575 | Foundation. If the Program does not specify a version number of the 576 | GNU General Public License, you may choose any version ever published 577 | by the Free Software Foundation. 578 | 579 | If the Program specifies that a proxy can decide which future 580 | versions of the GNU General Public License can be used, that proxy's 581 | public statement of acceptance of a version permanently authorizes you 582 | to choose that version for the Program. 583 | 584 | Later license versions may give you additional or different 585 | permissions. However, no additional obligations are imposed on any 586 | author or copyright holder as a result of your choosing to follow a 587 | later version. 588 | 589 | 15. Disclaimer of Warranty. 590 | 591 | THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY 592 | APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT 593 | HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY 594 | OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, 595 | THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR 596 | PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM 597 | IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF 598 | ALL NECESSARY SERVICING, REPAIR OR CORRECTION. 599 | 600 | 16. Limitation of Liability. 601 | 602 | IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING 603 | WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS 604 | THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY 605 | GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE 606 | USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF 607 | DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD 608 | PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS), 609 | EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF 610 | SUCH DAMAGES. 611 | 612 | 17. Interpretation of Sections 15 and 16. 613 | 614 | If the disclaimer of warranty and limitation of liability provided 615 | above cannot be given local legal effect according to their terms, 616 | reviewing courts shall apply local law that most closely approximates 617 | an absolute waiver of all civil liability in connection with the 618 | Program, unless a warranty or assumption of liability accompanies a 619 | copy of the Program in return for a fee. 620 | 621 | END OF TERMS AND CONDITIONS 622 | 623 | How to Apply These Terms to Your New Programs 624 | 625 | If you develop a new program, and you want it to be of the greatest 626 | possible use to the public, the best way to achieve this is to make it 627 | free software which everyone can redistribute and change under these terms. 628 | 629 | To do so, attach the following notices to the program. It is safest 630 | to attach them to the start of each source file to most effectively 631 | state the exclusion of warranty; and each file should have at least 632 | the "copyright" line and a pointer to where the full notice is found. 633 | 634 | 635 | Copyright (C) 636 | 637 | This program is free software: you can redistribute it and/or modify 638 | it under the terms of the GNU General Public License as published by 639 | the Free Software Foundation, either version 3 of the License, or 640 | (at your option) any later version. 641 | 642 | This program is distributed in the hope that it will be useful, 643 | but WITHOUT ANY WARRANTY; without even the implied warranty of 644 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 645 | GNU General Public License for more details. 646 | 647 | You should have received a copy of the GNU General Public License 648 | along with this program. If not, see . 649 | 650 | Also add information on how to contact you by electronic and paper mail. 651 | 652 | If the program does terminal interaction, make it output a short 653 | notice like this when it starts in an interactive mode: 654 | 655 | Copyright (C) 656 | This program comes with ABSOLUTELY NO WARRANTY; for details type `show w'. 657 | This is free software, and you are welcome to redistribute it 658 | under certain conditions; type `show c' for details. 659 | 660 | The hypothetical commands `show w' and `show c' should show the appropriate 661 | parts of the General Public License. Of course, your program's commands 662 | might be different; for a GUI interface, you would use an "about box". 663 | 664 | You should also get your employer (if you work as a programmer) or school, 665 | if any, to sign a "copyright disclaimer" for the program, if necessary. 666 | For more information on this, and how to apply and follow the GNU GPL, see 667 | . 668 | 669 | The GNU General Public License does not permit incorporating your program 670 | into proprietary programs. If your program is a subroutine library, you 671 | may consider it more useful to permit linking proprietary applications with 672 | the library. If this is what you want to do, use the GNU Lesser General 673 | Public License instead of this License. But first, please read 674 | . 675 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 |

2 | Icon 3 |

4 | 5 |

Obliviate

6 |

A password manager that forgets your passwords

7 | 8 |

9 | Get it on AppCenter 10 |

11 | 12 |

13 | Screenshot 14 |

15 | 16 | ## Description 17 | 18 | Obliviate does not store your passwords but gives them to you when you need them. How? 19 | 20 | It asks you for two things: 21 | 22 | - the site you want to log in to 23 | - a cipher key, which is any passphrase you can remember 24 | 25 | Using these, it will derive a password, which you can set as your new password for that site. 26 | 27 | The next time you need it, enter the same site and same cipher key. Obliviate will derive the same password as before. 28 | 29 | It’s not magic, but it’s quite close. 30 | 31 | ### Bonus 32 | 33 | If you need your passwords on another device, you can get them on the web from [obliviate.app](https://obliviate.app/). 34 | 35 | ## Built for elementary OS 36 | 37 | While Obliviate will happily compile on any Linux distribution, it is primarily 38 | built for [elementary OS]. 39 | 40 | [![Get it on AppCenter](https://appcenter.elementary.io/badge.svg)][appcenter] 41 | 42 | ## Developing and building 43 | 44 | Development is targeted at [elementary OS]. If you want to hack on and 45 | build Obliviate yourself, you'll need the following dependencies: 46 | 47 | - libgranite-dev 48 | - libgtk-3-dev 49 | - libgcrypt20-dev 50 | - libhandy-1-dev 51 | - meson 52 | - valac 53 | 54 | You can install them on elementary OS with: 55 | 56 | ```shell 57 | sudo apt install elementary-sdk libgcrypt20-dev 58 | ``` 59 | 60 | Run `meson build` to configure the build environment and run `ninja install` 61 | to install: 62 | 63 | ```shell 64 | meson build --prefix=/usr 65 | cd build 66 | sudo ninja install 67 | ``` 68 | 69 | Then run it with: 70 | 71 | ```shell 72 | com.github.elfenware.obliviate 73 | ``` 74 | 75 | [elementary os]: https://elementary.io 76 | [appcenter]: https://appcenter.elementary.io/com.github.elfenware.obliviate 77 | 78 | ## Credits 79 | 80 | - [dotcypress/password](https://github.com/dotcypress/password) for the original idea 81 | - [nemequ/vala-extra-vapis](https://github.com/nemequ/vala-extra-vapis) for the GCrypt VAPI 82 | -------------------------------------------------------------------------------- /com.github.elfenware.obliviate.yml: -------------------------------------------------------------------------------- 1 | app-id: com.github.elfenware.obliviate 2 | 3 | runtime: io.elementary.Platform 4 | runtime-version: '8.2' 5 | sdk: io.elementary.Sdk 6 | 7 | command: com.github.elfenware.obliviate 8 | 9 | finish-args: 10 | - '--share=ipc' 11 | - '--device=dri' 12 | - '--socket=fallback-x11' 13 | - '--socket=wayland' 14 | 15 | modules: 16 | - name: gcrypt 17 | buildsystem: autotools 18 | sources: 19 | - type: archive 20 | url: https://www.gnupg.org/ftp/gcrypt/libgcrypt/libgcrypt-1.8.8.tar.bz2 21 | sha256: 895de2bb981dd127f0821d1ce13fadf7d760f9fa7737648b15f2c1fe13cc5af5 22 | modules: 23 | - name: libgpg-error 24 | buildsystem: autotools 25 | config-opts: 26 | - "--enable-install-gpg-error-config" 27 | sources: 28 | - type: archive 29 | url: https://www.gnupg.org/ftp/gcrypt/libgpg-error/libgpg-error-1.55.tar.gz 30 | sha256: bda09f51d7ed64565e41069d782bfcc4984aed908ae68bee01fb692b64ea96e2 31 | - name: obliviate 32 | buildsystem: meson 33 | sources: 34 | - type: dir 35 | path: . 36 | -------------------------------------------------------------------------------- /data/Application.css: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (C) 2020 Darshak Parikh 3 | * 4 | * This program is free software: you can redistribute it and/or modify 5 | * it under the terms of the GNU General Public License as published by 6 | * the Free Software Foundation, either version 3 of the License, or 7 | * (at your option) any later version. 8 | * 9 | * This program is distributed in the hope that it will be useful, 10 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 11 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 12 | * GNU General Public License for more details. 13 | * 14 | * You should have received a copy of the GNU General Public License 15 | * along with this program. If not, see . 16 | * 17 | * Authored by: Darshak Parikh 18 | * 19 | */ 20 | 21 | .headerbar { 22 | box-shadow: none; 23 | } 24 | 25 | entry.flat { 26 | background: transparent; 27 | border: 1px dashed; 28 | font-weight: bold; 29 | padding-bottom: 0; 30 | } 31 | 32 | entry.regenerating { 33 | opacity: 0.5; 34 | } 35 | 36 | .sign { 37 | color: @insensitive_fg_color; 38 | font-size: x-large; 39 | } 40 | 41 | -------------------------------------------------------------------------------- /data/com.github.elfenware.obliviate.desktop.in: -------------------------------------------------------------------------------- 1 | [Desktop Entry] 2 | Type=Application 3 | Name=Obliviate 4 | GenericName=Password Manager 5 | Comment=Derive passwords using a cipher key 6 | Exec=com.github.elfenware.obliviate %U 7 | Icon=com.github.elfenware.obliviate 8 | Terminal=false 9 | Categories=Utility;GTK;Security; 10 | Keywords=Password;Manager;Security;Generate;Derive; 11 | -------------------------------------------------------------------------------- /data/com.github.elfenware.obliviate.gresource.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | Application.css 5 | 6 | -------------------------------------------------------------------------------- /data/com.github.elfenware.obliviate.gschema.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 7 | 8 | 440 9 | The saved width of the window. 10 | The saved width of the window. 11 | 12 | 13 | 280 14 | The saved height of the window. 15 | The saved height of the window. 16 | 17 | 18 | -1 19 | The saved X position of the window 20 | The saved X position of the window 21 | 22 | 23 | -1 24 | The saved Y position of the window 25 | The saved Y position of the window 26 | 27 | 28 | 29 | -------------------------------------------------------------------------------- /data/com.github.elfenware.obliviate.metainfo.xml.in: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | com.github.elfenware.obliviate 5 | CC0 6 | GPL-3.0+ 7 | Obliviate 8 | A password manager that forgets your passwords 9 | 10 |

Obliviate does not store your passwords but gives them to you when you need them. How?

11 |

It asks you for two things:

12 |
    13 |
  • the site you want to log in to
  • 14 |
  • a cipher key, which is any passphrase you can remember
  • 15 |
16 |

Using these, it will derive a password, which you can set as your new password for that site.

17 |

The next time you need it, enter the same site and same cipher key. Obliviate will derive the same password as before.

18 |

It’s not magic, but it’s quite close.

19 |

Bonus: If you need your passwords on another device, you can get them on the web from obliviate.app.

20 |
21 | 22 | 23 | 24 |
    25 |
  • Move to modern tech
  • 26 |
27 |
28 |
29 | 30 | 31 |
    32 |
  • Add: “Copy without symbols” button
  • 33 |
  • Add: “Help and FAQ” button
  • 34 |
  • Update: Dutch translations (@Vistaus)
  • 35 |
  • Update: Italian translations (@albanobattistella)
  • 36 |
37 |
38 |
39 | 40 | 41 |
    42 |
  • Update: Use elementary Platform 7
  • 43 |
44 |
45 |
46 | 47 | 48 |
    49 |
  • Add: Italian translations (@albanobattistella)
  • 50 |
51 |
52 |
53 | 54 | 55 |

First AppCenter Release 🎉️

56 |
    57 |
  • Add: Clear clipboard 30 seconds after copying password
  • 58 |
  • Add: Dark style support
  • 59 |
  • Add: French translations (@NathanBnm)
  • 60 |
  • Add: Spanish translations (@dar5hak, @JoseExposito)
  • 61 |
  • Add: Dutch translations (@Vistaus)
  • 62 |
63 |
64 |
65 | 66 | 67 |

Initial release 🎉️

68 |
69 |
70 |
71 | 72 | com.github.elfenware.obliviate 73 | 74 | 75 | none 76 | none 77 | none 78 | none 79 | none 80 | none 81 | none 82 | none 83 | none 84 | none 85 | none 86 | none 87 | none 88 | none 89 | none 90 | none 91 | none 92 | none 93 | none 94 | none 95 | none 96 | none 97 | none 98 | none 99 | none 100 | none 101 | none 102 | 103 | Elfenware 104 | https://obliviate.app 105 | https://github.com/elfenware/obliviate/issues 106 | https://github.com/elfenware/obliviate/issues 107 | darshak_AT_protonmail.com 108 | 109 | 110 | https://raw.githubusercontent.com/elfenware/obliviate/main/data/window-screenshot.png 111 | 112 | 113 | https://raw.githubusercontent.com/elfenware/obliviate/main/data/window-screenshot-2.png 114 | 115 | 116 | 117 | #fff 118 | #333 119 | 0 120 | 121 |
122 | -------------------------------------------------------------------------------- /data/icons/128/com.github.elfenware.obliviate.svg: -------------------------------------------------------------------------------- 1 | 2 | 17 | 37 | 39 | 41 | 45 | 49 | 53 | 57 | 58 | 68 | 70 | 74 | 78 | 82 | 83 | 92 | 101 | 103 | 107 | 111 | 112 | 122 | 129 | 136 | 137 | 147 | 154 | 161 | 162 | 172 | 179 | 186 | 187 | 197 | 204 | 211 | 212 | 216 | 221 | 227 | 232 | 237 | 243 | 244 | 248 | 253 | 259 | 264 | 269 | 275 | 280 | 286 | 292 | 297 | 302 | 308 | 309 | 313 | 318 | 324 | 329 | 334 | 340 | 341 | 342 | 344 | 345 | 347 | image/svg+xml 348 | 350 | 351 | 352 | 353 | 354 | 358 | 362 | 366 | 370 | 376 | 382 | 388 | 392 | 396 | 397 | -------------------------------------------------------------------------------- /data/icons/32/com.github.elfenware.obliviate.svg: -------------------------------------------------------------------------------- 1 | 2 | 17 | 37 | 39 | 41 | 45 | 49 | 53 | 57 | 58 | 60 | 64 | 68 | 72 | 73 | 83 | 92 | 101 | 103 | 107 | 111 | 112 | 116 | 121 | 127 | 132 | 137 | 143 | 144 | 148 | 153 | 159 | 164 | 169 | 175 | 176 | 180 | 185 | 191 | 196 | 201 | 207 | 208 | 212 | 217 | 223 | 228 | 233 | 239 | 240 | 241 | 243 | 244 | 246 | image/svg+xml 247 | 249 | 250 | 251 | 252 | 253 | 257 | 261 | 265 | 269 | 276 | 283 | 289 | 295 | 301 | 302 | -------------------------------------------------------------------------------- /data/icons/48/com.github.elfenware.obliviate.svg: -------------------------------------------------------------------------------- 1 | 2 | 17 | 37 | 39 | 41 | 45 | 49 | 53 | 57 | 58 | 67 | 76 | 78 | 82 | 86 | 87 | 97 | 99 | 103 | 107 | 108 | 118 | 122 | 127 | 133 | 138 | 143 | 149 | 150 | 154 | 159 | 165 | 170 | 175 | 181 | 182 | 186 | 191 | 197 | 202 | 207 | 213 | 214 | 218 | 223 | 229 | 234 | 239 | 245 | 246 | 247 | 249 | 250 | 252 | image/svg+xml 253 | 255 | 256 | 257 | 258 | 259 | 263 | 267 | 271 | 272 | 276 | 280 | 284 | 291 | 298 | 304 | 310 | 316 | 317 | -------------------------------------------------------------------------------- /data/icons/64/com.github.elfenware.obliviate.svg: -------------------------------------------------------------------------------- 1 | 2 | 17 | 37 | 39 | 41 | 45 | 49 | 53 | 57 | 58 | 60 | 64 | 68 | 69 | 78 | 88 | 98 | 107 | 109 | 113 | 117 | 118 | 122 | 127 | 133 | 138 | 143 | 149 | 150 | 154 | 159 | 165 | 170 | 175 | 181 | 182 | 186 | 191 | 197 | 202 | 207 | 213 | 214 | 218 | 223 | 229 | 234 | 239 | 245 | 246 | 256 | 258 | 262 | 266 | 270 | 271 | 272 | 274 | 275 | 277 | image/svg+xml 278 | 280 | 281 | 282 | 283 | 284 | 286 | 290 | 294 | 295 | 299 | 303 | 307 | 314 | 321 | 327 | 333 | 339 | 340 | -------------------------------------------------------------------------------- /data/meson.build: -------------------------------------------------------------------------------- 1 | # Install icons 2 | icon_sizes = ['32', '48', '64', '128'] 3 | 4 | foreach i : icon_sizes 5 | install_data ( 6 | join_paths ('icons', i, meson.project_name () + '.svg'), 7 | install_dir: join_paths (get_option ('datadir'), 'icons', 'hicolor', i + 'x' + i, 'apps') 8 | ) 9 | install_data ( 10 | join_paths ('icons', i, meson.project_name () + '.svg'), 11 | install_dir: join_paths (get_option ('datadir'), 'icons', 'hicolor', i + 'x' + i + '@2', 'apps') 12 | ) 13 | endforeach 14 | 15 | # Translate and install our .desktop file so the Applications Menu will see it 16 | i18n.merge_file ( 17 | input: meson.project_name () + '.desktop.in', 18 | output: meson.project_name () + '.desktop', 19 | po_dir: join_paths (meson.project_source_root (), 'po', 'extra'), 20 | type: 'desktop', 21 | install: true, 22 | install_dir: join_paths (get_option ('datadir'), 'applications') 23 | ) 24 | 25 | # Translate and install our .appdata.xml file so AppCenter will see it 26 | i18n.merge_file ( 27 | input: meson.project_name () + '.metainfo.xml.in', 28 | output: meson.project_name () + '.metainfo.xml', 29 | po_dir: join_paths (meson.project_source_root (), 'po', 'extra'), 30 | install: true, 31 | install_dir: join_paths (get_option ('datadir'), 'metainfo') 32 | ) 33 | 34 | # Install schema 35 | install_data ( 36 | meson.project_name () + '.gschema.xml', 37 | install_dir: join_paths (get_option ('datadir'), 'glib-2.0', 'schemas') 38 | ) 39 | -------------------------------------------------------------------------------- /data/window-screenshot-2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/elfenware/obliviate/8ea908d2ffaef768d8df2d049c523cab7319c4ce/data/window-screenshot-2.png -------------------------------------------------------------------------------- /data/window-screenshot.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/elfenware/obliviate/8ea908d2ffaef768d8df2d049c523cab7319c4ce/data/window-screenshot.png -------------------------------------------------------------------------------- /meson.build: -------------------------------------------------------------------------------- 1 | # Project name, programming language and version 2 | project ( 3 | 'com.github.elfenware.obliviate', 4 | 'vala', 'c', 5 | version: '3.0.0' 6 | ) 7 | 8 | # Translation module 9 | i18n = import ('i18n') 10 | 11 | # Translations data 12 | config_data = configuration_data() 13 | config_data.set_quoted('LOCALEDIR', get_option('prefix') / get_option('localedir')) 14 | config_data.set_quoted('GETTEXT_PACKAGE', meson.project_name()) 15 | config_file = configure_file( 16 | input: 'src/Config.vala.in', 17 | output: '@BASENAME@', 18 | configuration: config_data 19 | ) 20 | 21 | # GNOME module 22 | gnome = import('gnome') 23 | 24 | # Project arguments 25 | add_project_arguments ( 26 | '-DGETTEXT_PACKAGE="@0@"'.format (meson.project_name ()), 27 | language: 'c' 28 | ) 29 | 30 | # Compiling resources 31 | asresources = gnome.compile_resources ( 32 | 'as-resources', 33 | join_paths ('data', meson.project_name ()) + '.gresource.xml', 34 | source_dir: 'data', 35 | c_name: 'as' 36 | ) 37 | 38 | # Listing dependencies 39 | dependencies = [ 40 | dependency ('glib-2.0'), 41 | dependency ('granite-7'), 42 | dependency ('gtk4'), 43 | declare_dependency (dependencies: [ 44 | meson.get_compiler ('c').find_library ('libgcrypt'), 45 | meson.get_compiler ('vala').find_library ('gcrypt', dirs: join_paths (meson.current_source_dir (), 'vapi')) 46 | ]) 47 | ] 48 | 49 | subdir ('src') 50 | 51 | # Executable 52 | executable ( 53 | meson.project_name (), 54 | config_file, 55 | asresources, 56 | sources, 57 | dependencies: dependencies, 58 | install: true 59 | ) 60 | 61 | subdir('data') 62 | subdir('po') 63 | 64 | gnome.post_install( 65 | glib_compile_schemas: true, 66 | gtk_update_icon_cache: true, 67 | update_desktop_database: true 68 | ) 69 | -------------------------------------------------------------------------------- /po/LINGUAS: -------------------------------------------------------------------------------- 1 | es 2 | fr 3 | it 4 | nl 5 | ru 6 | -------------------------------------------------------------------------------- /po/POTFILES: -------------------------------------------------------------------------------- 1 | src/Application.vala 2 | src/MainWindow.vala 3 | src/MainView.vala 4 | src/Service.vala 5 | -------------------------------------------------------------------------------- /po/com.github.elfenware.obliviate.pot: -------------------------------------------------------------------------------- 1 | # SOME DESCRIPTIVE TITLE. 2 | # Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER 3 | # This file is distributed under the same license as the com.github.elfenware.obliviate package. 4 | # FIRST AUTHOR , YEAR. 5 | # 6 | #, fuzzy 7 | msgid "" 8 | msgstr "" 9 | "Project-Id-Version: com.github.elfenware.obliviate\n" 10 | "Report-Msgid-Bugs-To: \n" 11 | "POT-Creation-Date: 2022-12-03 16:06+0900\n" 12 | "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" 13 | "Last-Translator: FULL NAME \n" 14 | "Language-Team: LANGUAGE \n" 15 | "Language: \n" 16 | "MIME-Version: 1.0\n" 17 | "Content-Type: text/plain; charset=UTF-8\n" 18 | "Content-Transfer-Encoding: 8bit\n" 19 | "Plural-Forms: nplurals=INTEGER; plural=EXPRESSION;\n" 20 | 21 | #: src/MainWindow.vala:73 22 | msgid "Help and FAQ" 23 | msgstr "" 24 | 25 | #: src/MainView.vala:46 src/MainView.vala:200 26 | msgid "Copied to clipboard" 27 | msgstr "" 28 | 29 | #: src/MainView.vala:51 30 | msgid "Site:" 31 | msgstr "" 32 | 33 | #: src/MainView.vala:57 34 | msgid "GitHub" 35 | msgstr "" 36 | 37 | #: src/MainView.vala:63 38 | msgid "Site is not case-sensitive. “GitHub” equals “github”." 39 | msgstr "" 40 | 41 | #: src/MainView.vala:66 42 | msgid "Cipher key:" 43 | msgstr "" 44 | 45 | #: src/MainView.vala:76 46 | msgid "correct horse battery staple" 47 | msgstr "" 48 | 49 | #: src/MainView.vala:84 50 | msgid "Show or hide the cipher key" 51 | msgstr "" 52 | 53 | #: src/MainView.vala:100 54 | msgid "Show or hide the password" 55 | msgstr "" 56 | 57 | #: src/MainView.vala:107 58 | msgid "Copy" 59 | msgstr "" 60 | 61 | #: src/MainView.vala:117 62 | msgid "Copy without symbols" 63 | msgstr "" 64 | 65 | #: src/MainView.vala:130 src/MainView.vala:219 66 | #, c-format 67 | msgid "Clearing clipboard in %.0f second" 68 | msgid_plural "Clearing clipboard in %.0f seconds" 69 | msgstr[0] "" 70 | msgstr[1] "" 71 | 72 | #: src/MainView.vala:186 73 | msgid "Could not derive password" 74 | msgstr "" 75 | 76 | #: src/MainView.vala:210 77 | msgid "Cleared the clipboard" 78 | msgstr "" 79 | -------------------------------------------------------------------------------- /po/es.po: -------------------------------------------------------------------------------- 1 | # Spanish translations for com.github.elfenware.obliviate package. 2 | # Copyright (C) 2020 THE com.github.elfenware.obliviate'S COPYRIGHT HOLDER 3 | # This file is distributed under the same license as the com.github.elfenware.obliviate package. 4 | # Darshak Parikh, José Expósito, 2020. 5 | # 6 | msgid "" 7 | msgstr "" 8 | "Project-Id-Version: com.github.elfenware.obliviate\n" 9 | "Report-Msgid-Bugs-To: \n" 10 | "POT-Creation-Date: 2022-12-03 16:06+0900\n" 11 | "PO-Revision-Date: 2020-12-18 20:37+0530\n" 12 | "Last-Translator: Darshak Parikh, José Expósito\n" 13 | "Language-Team: Español\n" 14 | "Language: es\n" 15 | "MIME-Version: 1.0\n" 16 | "Content-Type: text/plain; charset=UTF-8\n" 17 | "Content-Transfer-Encoding: 8bit\n" 18 | "Plural-Forms: nplurals=2; plural=(n != 1);\n" 19 | 20 | #: src/MainWindow.vala:73 21 | msgid "Help and FAQ" 22 | msgstr "" 23 | 24 | #: src/MainView.vala:46 src/MainView.vala:200 25 | msgid "Copied to clipboard" 26 | msgstr "Copiado en el portapapeles" 27 | 28 | #: src/MainView.vala:51 29 | msgid "Site:" 30 | msgstr "Página web:" 31 | 32 | #: src/MainView.vala:57 33 | msgid "GitHub" 34 | msgstr "GitHub" 35 | 36 | #: src/MainView.vala:63 37 | msgid "Site is not case-sensitive. “GitHub” equals “github”." 38 | msgstr "" 39 | "El nombre de la página web no distingue entre mayúsculas y minúsculas. " 40 | "«GitHub» es igual a «github»." 41 | 42 | #: src/MainView.vala:66 43 | msgid "Cipher key:" 44 | msgstr "Clave de cifrado:" 45 | 46 | #: src/MainView.vala:76 47 | msgid "correct horse battery staple" 48 | msgstr "correcto caballo batería grapa" 49 | 50 | #: src/MainView.vala:84 51 | msgid "Show or hide the cipher key" 52 | msgstr "Mostrar u ocultar la clave de cifrado" 53 | 54 | #: src/MainView.vala:100 55 | msgid "Show or hide the password" 56 | msgstr "Mostrar u ocultar la contraseña" 57 | 58 | #: src/MainView.vala:107 59 | msgid "Copy" 60 | msgstr "Copiar" 61 | 62 | #: src/MainView.vala:117 63 | msgid "Copy without symbols" 64 | msgstr "" 65 | 66 | #: src/MainView.vala:130 src/MainView.vala:219 67 | #, fuzzy, c-format 68 | msgid "Clearing clipboard in %.0f second" 69 | msgid_plural "Clearing clipboard in %.0f seconds" 70 | msgstr[0] "Borrando el portapapeles en %.0f segundos" 71 | msgstr[1] "Borrando el portapapeles en %.0f segundos" 72 | 73 | #: src/MainView.vala:186 74 | msgid "Could not derive password" 75 | msgstr "No se pudo derivar la contraseña" 76 | 77 | #: src/MainView.vala:210 78 | msgid "Cleared the clipboard" 79 | msgstr "Borrado el portapapeles" 80 | 81 | #~ msgid "Derive Password" 82 | #~ msgstr "Derivar Contraseña" 83 | 84 | #~ msgid "Password:" 85 | #~ msgstr "Contraseña:" 86 | -------------------------------------------------------------------------------- /po/extra/LINGUAS: -------------------------------------------------------------------------------- 1 | es 2 | fr 3 | it 4 | nl 5 | ru 6 | -------------------------------------------------------------------------------- /po/extra/POTFILES: -------------------------------------------------------------------------------- 1 | data/com.github.elfenware.obliviate.desktop.in 2 | data/com.github.elfenware.obliviate.appdata.xml.in 3 | -------------------------------------------------------------------------------- /po/extra/es.po: -------------------------------------------------------------------------------- 1 | # Spanish translations for extra package. 2 | # Copyright (C) 2020 THE extra'S COPYRIGHT HOLDER 3 | # This file is distributed under the same license as the extra package. 4 | # Darshak Parikh, José Expósito, 2020. 5 | # 6 | msgid "" 7 | msgstr "" 8 | "Project-Id-Version: extra\n" 9 | "Report-Msgid-Bugs-To: \n" 10 | "POT-Creation-Date: 2022-11-04 14:44+0900\n" 11 | "PO-Revision-Date: 2020-12-20 12:03+0100\n" 12 | "Last-Translator: Darshak Parikh, José Expósito\n" 13 | "Language-Team: Español\n" 14 | "Language: es\n" 15 | "MIME-Version: 1.0\n" 16 | "Content-Type: text/plain; charset=UTF-8\n" 17 | "Content-Transfer-Encoding: 8bit\n" 18 | "Plural-Forms: nplurals=2; plural=(n != 1);\n" 19 | 20 | #: data/com.github.elfenware.obliviate.desktop.in:4 21 | #: data/com.github.elfenware.obliviate.appdata.xml.in:7 22 | msgid "Obliviate" 23 | msgstr "Obliviate" 24 | 25 | #: data/com.github.elfenware.obliviate.desktop.in:5 26 | msgid "Password Manager" 27 | msgstr "Administrador de Contraseñas" 28 | 29 | #: data/com.github.elfenware.obliviate.desktop.in:6 30 | msgid "Derive passwords using a cipher key" 31 | msgstr "Derive contraseñas usando una clave de cifrado" 32 | 33 | #: data/com.github.elfenware.obliviate.desktop.in:11 34 | msgid "Password;Manager;Security;Generate;Derive;" 35 | msgstr "Contraseña;Administrador;Seguridad;Generar;Derivar;" 36 | 37 | #: data/com.github.elfenware.obliviate.appdata.xml.in:8 38 | msgid "A password manager that forgets your passwords" 39 | msgstr "Un administrador de contraseñas que olvida sus contraseñas" 40 | 41 | #: data/com.github.elfenware.obliviate.appdata.xml.in:10 42 | msgid "" 43 | "Obliviate does not store your passwords but gives them to you when you need " 44 | "them. How?" 45 | msgstr "" 46 | "Obliviate no almacena sus contraseñas, pero se las da cuando las necesita. " 47 | "¿Cómo?" 48 | 49 | #: data/com.github.elfenware.obliviate.appdata.xml.in:11 50 | msgid "It asks you for two things:" 51 | msgstr "Le pide dos cosas:" 52 | 53 | #: data/com.github.elfenware.obliviate.appdata.xml.in:13 54 | msgid "the site you want to log in to" 55 | msgstr "la página web en la que desea iniciar sesión" 56 | 57 | #: data/com.github.elfenware.obliviate.appdata.xml.in:14 58 | msgid "a cipher key, which is any passphrase you can remember" 59 | msgstr "" 60 | "una clave de cifrado, que es cualquier frase de contraseña que pueda recordar" 61 | 62 | #: data/com.github.elfenware.obliviate.appdata.xml.in:16 63 | msgid "" 64 | "Using these, it will derive a password, which you can set as your new " 65 | "password for that site." 66 | msgstr "" 67 | "Con estos, derivará una contraseña, que puede establecer como su nueva " 68 | "contraseña para ese sitio." 69 | 70 | #: data/com.github.elfenware.obliviate.appdata.xml.in:17 71 | msgid "" 72 | "The next time you need it, enter the same site and same cipher key. " 73 | "Obliviate will derive the same password as before." 74 | msgstr "" 75 | "La próxima vez que lo necesite, ingrese el mismo sitio y la misma clave de " 76 | "cifrado. Obliviate derivará la misma contraseña que antes." 77 | 78 | #: data/com.github.elfenware.obliviate.appdata.xml.in:18 79 | msgid "It’s not magic, but it’s quite close." 80 | msgstr "No es mágico, pero casi." 81 | 82 | #: data/com.github.elfenware.obliviate.appdata.xml.in:19 83 | msgid "" 84 | "Bonus: If you need your passwords on another device, you can get them on the " 85 | "web from obliviate.app." 86 | msgstr "" 87 | "La bonificación: Si necesita sus contraseñas en otro dispositivo, puede " 88 | "obtenerlas en la web obliviate.app." 89 | 90 | #: data/com.github.elfenware.obliviate.appdata.xml.in:25 91 | msgid "Add: “Copy without symbols” button" 92 | msgstr "" 93 | 94 | #: data/com.github.elfenware.obliviate.appdata.xml.in:26 95 | msgid "Add: “Help and FAQ” button" 96 | msgstr "" 97 | 98 | #: data/com.github.elfenware.obliviate.appdata.xml.in:27 99 | msgid "Update: Dutch translations (@Vistaus)" 100 | msgstr "Adición: traducción en neerlandés (@Vistaus)" 101 | 102 | #: data/com.github.elfenware.obliviate.appdata.xml.in:28 103 | msgid "Update: Italian translations (@albanobattistella)" 104 | msgstr "Adición: traducción en italiano (@ albanobattistella)" 105 | 106 | #: data/com.github.elfenware.obliviate.appdata.xml.in:35 107 | msgid "Update: Use elementary Platform 7" 108 | msgstr "" 109 | 110 | #: data/com.github.elfenware.obliviate.appdata.xml.in:42 111 | msgid "Add: Italian translations (@albanobattistella)" 112 | msgstr "Adición: traducción en italiano (@ albanobattistella)" 113 | 114 | #: data/com.github.elfenware.obliviate.appdata.xml.in:48 115 | msgid "First AppCenter Release 🎉️" 116 | msgstr "Publicación inicial para AppCenter 🎉️" 117 | 118 | #: data/com.github.elfenware.obliviate.appdata.xml.in:50 119 | msgid "Add: Clear clipboard 30 seconds after copying password" 120 | msgstr "" 121 | "Adición: Borrar el portapapeles 30 segundos después de copiar la contraseña" 122 | 123 | #: data/com.github.elfenware.obliviate.appdata.xml.in:51 124 | msgid "Add: Dark style support" 125 | msgstr "Adición: soporte de estilo oscuro" 126 | 127 | #: data/com.github.elfenware.obliviate.appdata.xml.in:52 128 | msgid "Add: French translations (@NathanBnm)" 129 | msgstr "Adición: traducción en francés (@NathanBnm)" 130 | 131 | #: data/com.github.elfenware.obliviate.appdata.xml.in:53 132 | msgid "Add: Spanish translations (@dar5hak, @JoseExposito)" 133 | msgstr "Adición: traducción en español (@dar5hak, @JoseExposito)" 134 | 135 | #: data/com.github.elfenware.obliviate.appdata.xml.in:54 136 | msgid "Add: Dutch translations (@Vistaus)" 137 | msgstr "Adición: traducción en neerlandés (@Vistaus)" 138 | 139 | #: data/com.github.elfenware.obliviate.appdata.xml.in:60 140 | msgid "Initial release 🎉️" 141 | msgstr "Publicación inicial 🎉️" 142 | 143 | #: data/com.github.elfenware.obliviate.appdata.xml.in:96 144 | msgid "Elfenware" 145 | msgstr "Elfenware" 146 | -------------------------------------------------------------------------------- /po/extra/extra.pot: -------------------------------------------------------------------------------- 1 | # SOME DESCRIPTIVE TITLE. 2 | # Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER 3 | # This file is distributed under the same license as the extra package. 4 | # FIRST AUTHOR , YEAR. 5 | # 6 | #, fuzzy 7 | msgid "" 8 | msgstr "" 9 | "Project-Id-Version: extra\n" 10 | "Report-Msgid-Bugs-To: \n" 11 | "POT-Creation-Date: 2022-11-04 14:44+0900\n" 12 | "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" 13 | "Last-Translator: FULL NAME \n" 14 | "Language-Team: LANGUAGE \n" 15 | "Language: \n" 16 | "MIME-Version: 1.0\n" 17 | "Content-Type: text/plain; charset=UTF-8\n" 18 | "Content-Transfer-Encoding: 8bit\n" 19 | 20 | #: data/com.github.elfenware.obliviate.desktop.in:4 21 | #: data/com.github.elfenware.obliviate.appdata.xml.in:7 22 | msgid "Obliviate" 23 | msgstr "" 24 | 25 | #: data/com.github.elfenware.obliviate.desktop.in:5 26 | msgid "Password Manager" 27 | msgstr "" 28 | 29 | #: data/com.github.elfenware.obliviate.desktop.in:6 30 | msgid "Derive passwords using a cipher key" 31 | msgstr "" 32 | 33 | #: data/com.github.elfenware.obliviate.desktop.in:11 34 | msgid "Password;Manager;Security;Generate;Derive;" 35 | msgstr "" 36 | 37 | #: data/com.github.elfenware.obliviate.appdata.xml.in:8 38 | msgid "A password manager that forgets your passwords" 39 | msgstr "" 40 | 41 | #: data/com.github.elfenware.obliviate.appdata.xml.in:10 42 | msgid "" 43 | "Obliviate does not store your passwords but gives them to you when you need " 44 | "them. How?" 45 | msgstr "" 46 | 47 | #: data/com.github.elfenware.obliviate.appdata.xml.in:11 48 | msgid "It asks you for two things:" 49 | msgstr "" 50 | 51 | #: data/com.github.elfenware.obliviate.appdata.xml.in:13 52 | msgid "the site you want to log in to" 53 | msgstr "" 54 | 55 | #: data/com.github.elfenware.obliviate.appdata.xml.in:14 56 | msgid "a cipher key, which is any passphrase you can remember" 57 | msgstr "" 58 | 59 | #: data/com.github.elfenware.obliviate.appdata.xml.in:16 60 | msgid "" 61 | "Using these, it will derive a password, which you can set as your new " 62 | "password for that site." 63 | msgstr "" 64 | 65 | #: data/com.github.elfenware.obliviate.appdata.xml.in:17 66 | msgid "" 67 | "The next time you need it, enter the same site and same cipher key. " 68 | "Obliviate will derive the same password as before." 69 | msgstr "" 70 | 71 | #: data/com.github.elfenware.obliviate.appdata.xml.in:18 72 | msgid "It’s not magic, but it’s quite close." 73 | msgstr "" 74 | 75 | #: data/com.github.elfenware.obliviate.appdata.xml.in:19 76 | msgid "" 77 | "Bonus: If you need your passwords on another device, you can get them on the " 78 | "web from obliviate.app." 79 | msgstr "" 80 | 81 | #: data/com.github.elfenware.obliviate.appdata.xml.in:25 82 | msgid "Add: “Copy without symbols” button" 83 | msgstr "" 84 | 85 | #: data/com.github.elfenware.obliviate.appdata.xml.in:26 86 | msgid "Add: “Help and FAQ” button" 87 | msgstr "" 88 | 89 | #: data/com.github.elfenware.obliviate.appdata.xml.in:27 90 | msgid "Update: Dutch translations (@Vistaus)" 91 | msgstr "" 92 | 93 | #: data/com.github.elfenware.obliviate.appdata.xml.in:28 94 | msgid "Update: Italian translations (@albanobattistella)" 95 | msgstr "" 96 | 97 | #: data/com.github.elfenware.obliviate.appdata.xml.in:35 98 | msgid "Update: Use elementary Platform 7" 99 | msgstr "" 100 | 101 | #: data/com.github.elfenware.obliviate.appdata.xml.in:42 102 | msgid "Add: Italian translations (@albanobattistella)" 103 | msgstr "" 104 | 105 | #: data/com.github.elfenware.obliviate.appdata.xml.in:48 106 | msgid "First AppCenter Release 🎉️" 107 | msgstr "" 108 | 109 | #: data/com.github.elfenware.obliviate.appdata.xml.in:50 110 | msgid "Add: Clear clipboard 30 seconds after copying password" 111 | msgstr "" 112 | 113 | #: data/com.github.elfenware.obliviate.appdata.xml.in:51 114 | msgid "Add: Dark style support" 115 | msgstr "" 116 | 117 | #: data/com.github.elfenware.obliviate.appdata.xml.in:52 118 | msgid "Add: French translations (@NathanBnm)" 119 | msgstr "" 120 | 121 | #: data/com.github.elfenware.obliviate.appdata.xml.in:53 122 | msgid "Add: Spanish translations (@dar5hak, @JoseExposito)" 123 | msgstr "" 124 | 125 | #: data/com.github.elfenware.obliviate.appdata.xml.in:54 126 | msgid "Add: Dutch translations (@Vistaus)" 127 | msgstr "" 128 | 129 | #: data/com.github.elfenware.obliviate.appdata.xml.in:60 130 | msgid "Initial release 🎉️" 131 | msgstr "" 132 | 133 | #: data/com.github.elfenware.obliviate.appdata.xml.in:96 134 | msgid "Elfenware" 135 | msgstr "" 136 | -------------------------------------------------------------------------------- /po/extra/fr.po: -------------------------------------------------------------------------------- 1 | # French translations for extra package. 2 | # Copyright (C) 2020 THE extra'S COPYRIGHT HOLDER 3 | # This file is distributed under the same license as the extra package. 4 | # Nathan Bonnemains (@NathanBnm), 2020. 5 | # 6 | msgid "" 7 | msgstr "" 8 | "Project-Id-Version: extra\n" 9 | "Report-Msgid-Bugs-To: \n" 10 | "POT-Creation-Date: 2022-11-04 14:44+0900\n" 11 | "PO-Revision-Date: 2020-12-20 19:05+0530\n" 12 | "Last-Translator: Nathan Bonnemains (@NathanBnm)\n" 13 | "Language-Team: Français\n" 14 | "Language: fr\n" 15 | "MIME-Version: 1.0\n" 16 | "Content-Type: text/plain; charset=UTF-8\n" 17 | "Content-Transfer-Encoding: 8bit\n" 18 | "Plural-Forms: nplurals=2; plural=(n > 1);\n" 19 | 20 | #: data/com.github.elfenware.obliviate.desktop.in:4 21 | #: data/com.github.elfenware.obliviate.appdata.xml.in:7 22 | msgid "Obliviate" 23 | msgstr "Obliviate" 24 | 25 | #: data/com.github.elfenware.obliviate.desktop.in:5 26 | msgid "Password Manager" 27 | msgstr "Gestionnaire de mots de passe" 28 | 29 | #: data/com.github.elfenware.obliviate.desktop.in:6 30 | msgid "Derive passwords using a cipher key" 31 | msgstr "Obtenez des mots de passe à l'aide d'un clé de chiffrement" 32 | 33 | #: data/com.github.elfenware.obliviate.desktop.in:11 34 | msgid "Password;Manager;Security;Generate;Derive;" 35 | msgstr "Mot de passe;Gestionnaire;Sécurité;" 36 | 37 | #: data/com.github.elfenware.obliviate.appdata.xml.in:8 38 | msgid "A password manager that forgets your passwords" 39 | msgstr "Un gestionnaire de mots de passe qui ne stocke pas vos mots de passe" 40 | 41 | #: data/com.github.elfenware.obliviate.appdata.xml.in:10 42 | msgid "" 43 | "Obliviate does not store your passwords but gives them to you when you need " 44 | "them. How?" 45 | msgstr "" 46 | "Obliviate ne stocke pas vos mots de passe mais vous les donne lorsque vous " 47 | "en avez besoin. Comment ?" 48 | 49 | #: data/com.github.elfenware.obliviate.appdata.xml.in:11 50 | msgid "It asks you for two things:" 51 | msgstr "Il suffit de deux choses :" 52 | 53 | #: data/com.github.elfenware.obliviate.appdata.xml.in:13 54 | msgid "the site you want to log in to" 55 | msgstr "Le site auquel vous souhaitez vous connecter" 56 | 57 | #: data/com.github.elfenware.obliviate.appdata.xml.in:14 58 | msgid "a cipher key, which is any passphrase you can remember" 59 | msgstr "" 60 | "Une clé de chiffrement, soit n'importe quelle phrase secrète dont vous vous " 61 | "souviendrez" 62 | 63 | #: data/com.github.elfenware.obliviate.appdata.xml.in:16 64 | msgid "" 65 | "Using these, it will derive a password, which you can set as your new " 66 | "password for that site." 67 | msgstr "" 68 | "En utilisant ces informations, vous obtiendrez un mot de passe que vous " 69 | "pourrez utiliser comme nouveau mot de passe pour ce site." 70 | 71 | #: data/com.github.elfenware.obliviate.appdata.xml.in:17 72 | msgid "" 73 | "The next time you need it, enter the same site and same cipher key. " 74 | "Obliviate will derive the same password as before." 75 | msgstr "" 76 | "La prochaine fois que vous en aurez besoin, tapez le même site et la même " 77 | "clé de chiffrement et vous obtiendrez le même mot de passe que précédemment." 78 | 79 | #: data/com.github.elfenware.obliviate.appdata.xml.in:18 80 | msgid "It’s not magic, but it’s quite close." 81 | msgstr "Ce n'est pas de la magie, mais presque." 82 | 83 | #: data/com.github.elfenware.obliviate.appdata.xml.in:19 84 | msgid "" 85 | "Bonus: If you need your passwords on another device, you can get them on the " 86 | "web from obliviate.app." 87 | msgstr "" 88 | "Bonus : Si vous avez besoin de vos mots de passe sur un autre périphérique, " 89 | "vous pouvez les récupérer depuis obliviate.app" 90 | 91 | #: data/com.github.elfenware.obliviate.appdata.xml.in:25 92 | msgid "Add: “Copy without symbols” button" 93 | msgstr "" 94 | 95 | #: data/com.github.elfenware.obliviate.appdata.xml.in:26 96 | msgid "Add: “Help and FAQ” button" 97 | msgstr "" 98 | 99 | #: data/com.github.elfenware.obliviate.appdata.xml.in:27 100 | msgid "Update: Dutch translations (@Vistaus)" 101 | msgstr "Ajout : Traductions en néerlandais (@Vistaus)" 102 | 103 | #: data/com.github.elfenware.obliviate.appdata.xml.in:28 104 | msgid "Update: Italian translations (@albanobattistella)" 105 | msgstr "Ajout : Traductions en italien (@albanobattistella)" 106 | 107 | #: data/com.github.elfenware.obliviate.appdata.xml.in:35 108 | msgid "Update: Use elementary Platform 7" 109 | msgstr "" 110 | 111 | #: data/com.github.elfenware.obliviate.appdata.xml.in:42 112 | msgid "Add: Italian translations (@albanobattistella)" 113 | msgstr "Ajout : Traductions en italien (@albanobattistella)" 114 | 115 | #: data/com.github.elfenware.obliviate.appdata.xml.in:48 116 | msgid "First AppCenter Release 🎉️" 117 | msgstr "" 118 | 119 | #: data/com.github.elfenware.obliviate.appdata.xml.in:50 120 | msgid "Add: Clear clipboard 30 seconds after copying password" 121 | msgstr "" 122 | 123 | #: data/com.github.elfenware.obliviate.appdata.xml.in:51 124 | msgid "Add: Dark style support" 125 | msgstr "Ajout : Prise en charge du thème sombre" 126 | 127 | #: data/com.github.elfenware.obliviate.appdata.xml.in:52 128 | msgid "Add: French translations (@NathanBnm)" 129 | msgstr "Ajout : Traductions en français (@NathanBnm)" 130 | 131 | #: data/com.github.elfenware.obliviate.appdata.xml.in:53 132 | msgid "Add: Spanish translations (@dar5hak, @JoseExposito)" 133 | msgstr "Ajout : Traductions en espagnol (@dar5hak, @JoseExposito)" 134 | 135 | #: data/com.github.elfenware.obliviate.appdata.xml.in:54 136 | msgid "Add: Dutch translations (@Vistaus)" 137 | msgstr "Ajout : Traductions en néerlandais (@Vistaus)" 138 | 139 | #: data/com.github.elfenware.obliviate.appdata.xml.in:60 140 | msgid "Initial release 🎉️" 141 | msgstr "Version initiale 🎉️" 142 | 143 | #: data/com.github.elfenware.obliviate.appdata.xml.in:96 144 | msgid "Elfenware" 145 | msgstr "Elfenware" 146 | 147 | #~ msgid "com.github.elfenware.obliviate" 148 | #~ msgstr "com.github.elfenware.obliviate" 149 | -------------------------------------------------------------------------------- /po/extra/it.po: -------------------------------------------------------------------------------- 1 | # ITALIAN TRANSLATION. 2 | # Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER 3 | # This file is distributed under the same license as the extra package. 4 | # ALBANO BATTISTELLA , 2021,2022. 5 | # 6 | msgid "" 7 | msgstr "" 8 | "Project-Id-Version: extra\n" 9 | "Report-Msgid-Bugs-To: \n" 10 | "POT-Creation-Date: 2022-11-04 14:44+0900\n" 11 | "PO-Revision-Date: 2022-06-05 17:03+0100\n" 12 | "Last-Translator: Albano Battistella \n" 13 | "Language-Team: ITALIAN \n" 14 | "Language: it\n" 15 | "MIME-Version: 1.0\n" 16 | "Content-Type: text/plain; charset=UTF-8\n" 17 | "Content-Transfer-Encoding: 8bit\n" 18 | 19 | #: data/com.github.elfenware.obliviate.desktop.in:4 20 | #: data/com.github.elfenware.obliviate.appdata.xml.in:7 21 | msgid "Obliviate" 22 | msgstr "Obliviate" 23 | 24 | #: data/com.github.elfenware.obliviate.desktop.in:5 25 | msgid "Password Manager" 26 | msgstr "Gestore di Password" 27 | 28 | #: data/com.github.elfenware.obliviate.desktop.in:6 29 | msgid "Derive passwords using a cipher key" 30 | msgstr "Ottieni password utilizzando una chiave di crittografia" 31 | 32 | #: data/com.github.elfenware.obliviate.desktop.in:11 33 | msgid "Password;Manager;Security;Generate;Derive;" 34 | msgstr "Password;Gestore;Sicurezza;Genera;Ottieni;" 35 | 36 | #: data/com.github.elfenware.obliviate.appdata.xml.in:8 37 | msgid "A password manager that forgets your passwords" 38 | msgstr "Un gestore di password che dimentica le tue password" 39 | 40 | #: data/com.github.elfenware.obliviate.appdata.xml.in:10 41 | msgid "" 42 | "Obliviate does not store your passwords but gives them to you when you need " 43 | "them. How?" 44 | msgstr "" 45 | "Obliviate non memorizza le tue password ma te le fornisce quando hai bisogno " 46 | "di loro. Come?" 47 | 48 | #: data/com.github.elfenware.obliviate.appdata.xml.in:11 49 | msgid "It asks you for two things:" 50 | msgstr "Ti chiede due cose:" 51 | 52 | #: data/com.github.elfenware.obliviate.appdata.xml.in:13 53 | msgid "the site you want to log in to" 54 | msgstr "il sito a cui vuoi accedere" 55 | 56 | #: data/com.github.elfenware.obliviate.appdata.xml.in:14 57 | msgid "a cipher key, which is any passphrase you can remember" 58 | msgstr "" 59 | "una chiave di cifratura, che è qualsiasi password che riesci a ricordare" 60 | 61 | #: data/com.github.elfenware.obliviate.appdata.xml.in:16 62 | msgid "" 63 | "Using these, it will derive a password, which you can set as your new " 64 | "password for that site." 65 | msgstr "" 66 | "Usando questi, ricaverà una password, che puoi impostare come tua nuova " 67 | "password per quel sito." 68 | 69 | #: data/com.github.elfenware.obliviate.appdata.xml.in:17 70 | msgid "" 71 | "The next time you need it, enter the same site and same cipher key. " 72 | "Obliviate will derive the same password as before." 73 | msgstr "" 74 | "La prossima volta che ne hai bisogno, inserisci lo stesso sito e la stessa " 75 | "chiave di cifratura. Obliviate ricaverà la stessa password di prima." 76 | 77 | #: data/com.github.elfenware.obliviate.appdata.xml.in:18 78 | msgid "It’s not magic, but it’s quite close." 79 | msgstr "Non è magico, ma è abbastanza vicino." 80 | 81 | #: data/com.github.elfenware.obliviate.appdata.xml.in:19 82 | msgid "" 83 | "Bonus: If you need your passwords on another device, you can get them on the " 84 | "web from obliviate.app." 85 | msgstr "" 86 | "Bonus: se hai bisogno delle tue password su un altro dispositivo, puoi " 87 | "ottenerle sul web da obliviate.app." 88 | 89 | #: data/com.github.elfenware.obliviate.appdata.xml.in:25 90 | msgid "Add: “Copy without symbols” button" 91 | msgstr "Aggiunto: pulsante “Copia senza simboli”." 92 | 93 | #: data/com.github.elfenware.obliviate.appdata.xml.in:26 94 | msgid "Add: “Help and FAQ” button" 95 | msgstr "Aggiunto: Pulsante “Aiuto e FAQ”." 96 | 97 | #: data/com.github.elfenware.obliviate.appdata.xml.in:27 98 | #, fuzzy 99 | msgid "Update: Dutch translations (@Vistaus)" 100 | msgstr "Aggiunto: traduzione in olandese (@Vistaus)" 101 | 102 | #: data/com.github.elfenware.obliviate.appdata.xml.in:28 103 | #, fuzzy 104 | msgid "Update: Italian translations (@albanobattistella)" 105 | msgstr "Aggiunto: traduzione in italiano (@albanobattistella)" 106 | 107 | #: data/com.github.elfenware.obliviate.appdata.xml.in:35 108 | msgid "Update: Use elementary Platform 7" 109 | msgstr "Aggiornato: Usa la piattaforma elementary 7" 110 | 111 | #: data/com.github.elfenware.obliviate.appdata.xml.in:42 112 | msgid "Add: Italian translations (@albanobattistella)" 113 | msgstr "Aggiunto: traduzione in italiano (@albanobattistella)" 114 | 115 | #: data/com.github.elfenware.obliviate.appdata.xml.in:48 116 | msgid "First AppCenter Release 🎉️" 117 | msgstr "Prima versione AppCenter 🎉️" 118 | 119 | #: data/com.github.elfenware.obliviate.appdata.xml.in:50 120 | msgid "Add: Clear clipboard 30 seconds after copying password" 121 | msgstr "" 122 | "Aggiunto: Cancella gli appunti 30 secondi dopo aver copiato la password" 123 | 124 | #: data/com.github.elfenware.obliviate.appdata.xml.in:51 125 | msgid "Add: Dark style support" 126 | msgstr "Aggiunto: supporto per lo stile scuro" 127 | 128 | #: data/com.github.elfenware.obliviate.appdata.xml.in:52 129 | msgid "Add: French translations (@NathanBnm)" 130 | msgstr "Aggiunto: traduzione in francese (@NathanBnm)" 131 | 132 | #: data/com.github.elfenware.obliviate.appdata.xml.in:53 133 | msgid "Add: Spanish translations (@dar5hak, @JoseExposito)" 134 | msgstr "Aggiunta: traduzione in spagnolo (@dar5hak, @JoseExposito)" 135 | 136 | #: data/com.github.elfenware.obliviate.appdata.xml.in:54 137 | msgid "Add: Dutch translations (@Vistaus)" 138 | msgstr "Aggiunto: traduzione in olandese (@Vistaus)" 139 | 140 | #: data/com.github.elfenware.obliviate.appdata.xml.in:60 141 | msgid "Initial release 🎉️" 142 | msgstr "Rilascio iniziale 🎉️" 143 | 144 | #: data/com.github.elfenware.obliviate.appdata.xml.in:96 145 | msgid "Elfenware" 146 | msgstr "Elfenware" 147 | 148 | #~ msgid "com.github.elfenware.obliviate" 149 | #~ msgstr "com.github.elfenware.obliviate" 150 | -------------------------------------------------------------------------------- /po/extra/meson.build: -------------------------------------------------------------------------------- 1 | # Install metadata translations 2 | i18n.gettext ('extra', 3 | args: [ 4 | '--directory=' + meson.project_source_root (), 5 | '--from-code=UTF-8' 6 | ], 7 | install: false 8 | ) 9 | -------------------------------------------------------------------------------- /po/extra/nl.po: -------------------------------------------------------------------------------- 1 | # SOME DESCRIPTIVE TITLE. 2 | # Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER 3 | # This file is distributed under the same license as the extra package. 4 | # FIRST AUTHOR , YEAR. 5 | # 6 | msgid "" 7 | msgstr "" 8 | "Project-Id-Version: extra\n" 9 | "Report-Msgid-Bugs-To: \n" 10 | "POT-Creation-Date: 2022-11-04 14:44+0900\n" 11 | "PO-Revision-Date: 2022-06-05 19:37+0200\n" 12 | "Last-Translator: Heimen Stoffels \n" 13 | "Language-Team: \n" 14 | "Language: nl\n" 15 | "MIME-Version: 1.0\n" 16 | "Content-Type: text/plain; charset=UTF-8\n" 17 | "Content-Transfer-Encoding: 8bit\n" 18 | "Plural-Forms: nplurals=2; plural=(n != 1);\n" 19 | "X-Generator: Poedit 3.0.1\n" 20 | 21 | #: data/com.github.elfenware.obliviate.desktop.in:4 22 | #: data/com.github.elfenware.obliviate.appdata.xml.in:7 23 | msgid "Obliviate" 24 | msgstr "Obliviate" 25 | 26 | #: data/com.github.elfenware.obliviate.desktop.in:5 27 | msgid "Password Manager" 28 | msgstr "Wachtwoordbeheerder" 29 | 30 | #: data/com.github.elfenware.obliviate.desktop.in:6 31 | msgid "Derive passwords using a cipher key" 32 | msgstr "Haal wachtwoorden op met een toegangssleutel" 33 | 34 | #: data/com.github.elfenware.obliviate.desktop.in:11 35 | msgid "Password;Manager;Security;Generate;Derive;" 36 | msgstr "Wachtwoord;Beheer;Beveiliging;Genereren;Afleiden;" 37 | 38 | #: data/com.github.elfenware.obliviate.appdata.xml.in:8 39 | msgid "A password manager that forgets your passwords" 40 | msgstr "Een wachtwoordbeheerder die je wachtwoorden vergeet" 41 | 42 | #: data/com.github.elfenware.obliviate.appdata.xml.in:10 43 | msgid "" 44 | "Obliviate does not store your passwords but gives them to you when you need " 45 | "them. How?" 46 | msgstr "" 47 | "Obliviate slaat je wachtwoorden niet op, maar geeft ze je zodra je ze nodig " 48 | "hebt. Maar hoe dan?" 49 | 50 | #: data/com.github.elfenware.obliviate.appdata.xml.in:11 51 | msgid "It asks you for two things:" 52 | msgstr "Er wordt om twee dingen gevraagd:" 53 | 54 | #: data/com.github.elfenware.obliviate.appdata.xml.in:13 55 | msgid "the site you want to log in to" 56 | msgstr "de website waarop je wilt inloggen;" 57 | 58 | #: data/com.github.elfenware.obliviate.appdata.xml.in:14 59 | msgid "a cipher key, which is any passphrase you can remember" 60 | msgstr "" 61 | "een toegangssleutel, bestaande uit een zin die je makkelijk kunt onthouden." 62 | 63 | #: data/com.github.elfenware.obliviate.appdata.xml.in:16 64 | msgid "" 65 | "Using these, it will derive a password, which you can set as your new " 66 | "password for that site." 67 | msgstr "" 68 | "Met behulp van deze dingen wordt er een wachtwoord gegenereerd dat je kunt " 69 | "instellen op de opgegeven website." 70 | 71 | #: data/com.github.elfenware.obliviate.appdata.xml.in:17 72 | msgid "" 73 | "The next time you need it, enter the same site and same cipher key. " 74 | "Obliviate will derive the same password as before." 75 | msgstr "" 76 | "Als je het wachtwoord weer nodig hebt, voer je wederom de website en " 77 | "toegangssleutel in - Obliviate genereert dan hetzelfde wachtwoord." 78 | 79 | #: data/com.github.elfenware.obliviate.appdata.xml.in:18 80 | msgid "It’s not magic, but it’s quite close." 81 | msgstr "Je zou het haast tovenarij noemen." 82 | 83 | #: data/com.github.elfenware.obliviate.appdata.xml.in:19 84 | msgid "" 85 | "Bonus: If you need your passwords on another device, you can get them on the " 86 | "web from obliviate.app." 87 | msgstr "" 88 | "Bonustip: als je je wachtwoorden op een ander apparaat nodig hebt, dan kun " 89 | "je ze opvragen via obliviate.app." 90 | 91 | #: data/com.github.elfenware.obliviate.appdata.xml.in:25 92 | msgid "Add: “Copy without symbols” button" 93 | msgstr "Nieuw: optie om te kopiëren zonder speciale tekens" 94 | 95 | #: data/com.github.elfenware.obliviate.appdata.xml.in:26 96 | msgid "Add: “Help and FAQ” button" 97 | msgstr "Nieuw: hulp en veelgestelde vragen" 98 | 99 | #: data/com.github.elfenware.obliviate.appdata.xml.in:27 100 | #, fuzzy 101 | msgid "Update: Dutch translations (@Vistaus)" 102 | msgstr "Nieuw: Nederlandse vertaling (met dank aan @Vistaus)" 103 | 104 | #: data/com.github.elfenware.obliviate.appdata.xml.in:28 105 | #, fuzzy 106 | msgid "Update: Italian translations (@albanobattistella)" 107 | msgstr "Nieuw: Italiaanse vertaling (met dank aan @albanobattistella)" 108 | 109 | #: data/com.github.elfenware.obliviate.appdata.xml.in:35 110 | msgid "Update: Use elementary Platform 7" 111 | msgstr "Bijgewerkt: elementary-platform 7" 112 | 113 | #: data/com.github.elfenware.obliviate.appdata.xml.in:42 114 | msgid "Add: Italian translations (@albanobattistella)" 115 | msgstr "Nieuw: Italiaanse vertaling (met dank aan @albanobattistella)" 116 | 117 | #: data/com.github.elfenware.obliviate.appdata.xml.in:48 118 | msgid "First AppCenter Release 🎉️" 119 | msgstr "De allereerste AppCenter-versie! 🥳" 120 | 121 | #: data/com.github.elfenware.obliviate.appdata.xml.in:50 122 | msgid "Add: Clear clipboard 30 seconds after copying password" 123 | msgstr "Nieuw: het klembord wordt 30 seconden na het kopiëren gewist" 124 | 125 | #: data/com.github.elfenware.obliviate.appdata.xml.in:51 126 | msgid "Add: Dark style support" 127 | msgstr "Nieuw: ondersteuning voor donkere thema's" 128 | 129 | #: data/com.github.elfenware.obliviate.appdata.xml.in:52 130 | msgid "Add: French translations (@NathanBnm)" 131 | msgstr "Nieuw: Franse vertaling (met dank aan @NathanBnm)" 132 | 133 | #: data/com.github.elfenware.obliviate.appdata.xml.in:53 134 | msgid "Add: Spanish translations (@dar5hak, @JoseExposito)" 135 | msgstr "Nieuw: Spaanse vertaling (met dank aan @dar5hak en @JoseExposito)" 136 | 137 | #: data/com.github.elfenware.obliviate.appdata.xml.in:54 138 | msgid "Add: Dutch translations (@Vistaus)" 139 | msgstr "Nieuw: Nederlandse vertaling (met dank aan @Vistaus)" 140 | 141 | #: data/com.github.elfenware.obliviate.appdata.xml.in:60 142 | msgid "Initial release 🎉️" 143 | msgstr "De allereerste versie! 🥳" 144 | 145 | #: data/com.github.elfenware.obliviate.appdata.xml.in:96 146 | msgid "Elfenware" 147 | msgstr "Elfenware" 148 | 149 | #~ msgid "com.github.elfenware.obliviate" 150 | #~ msgstr "com.github.elfenware.obliviate" 151 | -------------------------------------------------------------------------------- /po/extra/ru.po: -------------------------------------------------------------------------------- 1 | # Russian translations for com.github.elfenware.obliviate 2 | # Copyright (C) 2022 THE com.github.elfenware.obliviate'S COPYRIGHT HOLDER 3 | # This file is distributed under the same license as the com.github.elfenware.obliviate package. 4 | # lenemter , 2022. 5 | # 6 | msgid "" 7 | msgstr "" 8 | "Project-Id-Version: extra\n" 9 | "Report-Msgid-Bugs-To: \n" 10 | "POT-Creation-Date: 2022-11-04 14:44+0900\n" 11 | "PO-Revision-Date: 2022-11-04 14:19+0900\n" 12 | "Last-Translator: lenemter \n" 13 | "Language-Team: none\n" 14 | "Language: ru\n" 15 | "MIME-Version: 1.0\n" 16 | "Content-Type: text/plain; charset=UTF-8\n" 17 | "Content-Transfer-Encoding: 8bit\n" 18 | 19 | #: data/com.github.elfenware.obliviate.desktop.in:4 20 | #: data/com.github.elfenware.obliviate.appdata.xml.in:7 21 | msgid "Obliviate" 22 | msgstr "Obliviate" 23 | 24 | #: data/com.github.elfenware.obliviate.desktop.in:5 25 | msgid "Password Manager" 26 | msgstr "Менеджер паролей" 27 | 28 | #: data/com.github.elfenware.obliviate.desktop.in:6 29 | msgid "Derive passwords using a cipher key" 30 | msgstr "Получайте пароли используя ключ шифрования" 31 | 32 | #: data/com.github.elfenware.obliviate.desktop.in:11 33 | msgid "Password;Manager;Security;Generate;Derive;" 34 | msgstr "" 35 | "Password;Manager;Security;Generate;Derive;Пароль;Менеджер;Безопасность;" 36 | "Генерировать;Получить;" 37 | 38 | #: data/com.github.elfenware.obliviate.appdata.xml.in:8 39 | msgid "A password manager that forgets your passwords" 40 | msgstr "Менеджер паролей, который забывает ваши пароли" 41 | 42 | #: data/com.github.elfenware.obliviate.appdata.xml.in:10 43 | msgid "" 44 | "Obliviate does not store your passwords but gives them to you when you need " 45 | "them. How?" 46 | msgstr "" 47 | "Obliviate не сохраняет ваши пароли, но даёт их вам, когда они вам нужны. Как " 48 | "же?" 49 | 50 | #: data/com.github.elfenware.obliviate.appdata.xml.in:11 51 | msgid "It asks you for two things:" 52 | msgstr "Он спрашивает у вас две вещи:" 53 | 54 | #: data/com.github.elfenware.obliviate.appdata.xml.in:13 55 | msgid "the site you want to log in to" 56 | msgstr "сайт, в который вы хотите войти" 57 | 58 | #: data/com.github.elfenware.obliviate.appdata.xml.in:14 59 | msgid "a cipher key, which is any passphrase you can remember" 60 | msgstr "" 61 | "ключ шифрования, который является любой фразой, которую вы можете запомнить" 62 | 63 | #: data/com.github.elfenware.obliviate.appdata.xml.in:16 64 | msgid "" 65 | "Using these, it will derive a password, which you can set as your new " 66 | "password for that site." 67 | msgstr "" 68 | "С помощью этого будет сгенерирован пароль, который вы можете использовать " 69 | "для этого сайта" 70 | 71 | #: data/com.github.elfenware.obliviate.appdata.xml.in:17 72 | msgid "" 73 | "The next time you need it, enter the same site and same cipher key. " 74 | "Obliviate will derive the same password as before." 75 | msgstr "" 76 | "В следующий раз, когда вам понадобится пароль, просто введите тот же сайт и " 77 | "ключ шифрования. Obliviate сгенерирует тот же самый пароль, как и в прошлый " 78 | "раз." 79 | 80 | #: data/com.github.elfenware.obliviate.appdata.xml.in:18 81 | msgid "It’s not magic, but it’s quite close." 82 | msgstr "Это не волшебство, но очень близко." 83 | 84 | #: data/com.github.elfenware.obliviate.appdata.xml.in:19 85 | msgid "" 86 | "Bonus: If you need your passwords on another device, you can get them on the " 87 | "web from obliviate.app." 88 | msgstr "" 89 | "Бонус: Если вам понадобится ваш пароль на другом устройстве, вы можете " 90 | "получить его онлайн на obliviate.app." 91 | 92 | #: data/com.github.elfenware.obliviate.appdata.xml.in:25 93 | msgid "Add: “Copy without symbols” button" 94 | msgstr "Добавлена кнопка «Копировать без символов»" 95 | 96 | #: data/com.github.elfenware.obliviate.appdata.xml.in:26 97 | msgid "Add: “Help and FAQ” button" 98 | msgstr "Добавлена кнопка «Помощь и ЧаВО»" 99 | 100 | #: data/com.github.elfenware.obliviate.appdata.xml.in:27 101 | msgid "Update: Dutch translations (@Vistaus)" 102 | msgstr "Обновлён голландский перевод (@Vistaus)" 103 | 104 | #: data/com.github.elfenware.obliviate.appdata.xml.in:28 105 | msgid "Update: Italian translations (@albanobattistella)" 106 | msgstr "Обновлён итальянский перевод (@albanobattistella)" 107 | 108 | #: data/com.github.elfenware.obliviate.appdata.xml.in:35 109 | msgid "Update: Use elementary Platform 7" 110 | msgstr "Обновлено до elementary Platform 7" 111 | 112 | #: data/com.github.elfenware.obliviate.appdata.xml.in:42 113 | msgid "Add: Italian translations (@albanobattistella)" 114 | msgstr "Добавлен итальянский перевод (@albanobattistella)" 115 | 116 | #: data/com.github.elfenware.obliviate.appdata.xml.in:48 117 | msgid "First AppCenter Release 🎉️" 118 | msgstr "Первый выпуск в AppCenter 🎉️" 119 | 120 | #: data/com.github.elfenware.obliviate.appdata.xml.in:50 121 | msgid "Add: Clear clipboard 30 seconds after copying password" 122 | msgstr "" 123 | "Добавлена очистка буфера обмена через 30 секунд после копирования пароля" 124 | 125 | #: data/com.github.elfenware.obliviate.appdata.xml.in:51 126 | msgid "Add: Dark style support" 127 | msgstr "Добавлена поддержка тёмного стиля" 128 | 129 | #: data/com.github.elfenware.obliviate.appdata.xml.in:52 130 | msgid "Add: French translations (@NathanBnm)" 131 | msgstr "Добавлен французский перевод (@NathanBnm)" 132 | 133 | #: data/com.github.elfenware.obliviate.appdata.xml.in:53 134 | msgid "Add: Spanish translations (@dar5hak, @JoseExposito)" 135 | msgstr "Добавлен испанский перевод (@dar5hak, @JoseExposito)" 136 | 137 | #: data/com.github.elfenware.obliviate.appdata.xml.in:54 138 | msgid "Add: Dutch translations (@Vistaus)" 139 | msgstr "Добавлен голландский перевод (@Vistaus)" 140 | 141 | #: data/com.github.elfenware.obliviate.appdata.xml.in:60 142 | msgid "Initial release 🎉️" 143 | msgstr "Начальный выпуск 🎉️" 144 | 145 | #: data/com.github.elfenware.obliviate.appdata.xml.in:96 146 | msgid "Elfenware" 147 | msgstr "Elfenware" 148 | -------------------------------------------------------------------------------- /po/fr.po: -------------------------------------------------------------------------------- 1 | # French translations for com.github.elfenware.obliviate package. 2 | # Copyright (C) 2020 THE com.github.elfenware.obliviate'S COPYRIGHT HOLDER 3 | # This file is distributed under the same license as the com.github.elfenware.obliviate package. 4 | # Nathan Bonnemains (@NathanBnm), 2020. 5 | # Teamcons (teamcons.carrd.co), 2025. 6 | msgid "" 7 | msgstr "" 8 | "Project-Id-Version: com.github.elfenware.obliviate\n" 9 | "Report-Msgid-Bugs-To: \n" 10 | "POT-Creation-Date: 2022-12-03 16:06+0900\n" 11 | "PO-Revision-Date: 2025-05-20 13:26+0530\n" 12 | "Last-Translator: Stella and Charlie \n" 13 | "Language-Team: Français\n" 14 | "Language: fr\n" 15 | "MIME-Version: 1.0\n" 16 | "Content-Type: text/plain; charset=UTF-8\n" 17 | "Content-Transfer-Encoding: 8bit\n" 18 | "Plural-Forms: nplurals=2; plural=(n > 1);\n" 19 | 20 | #: src/MainWindow.vala:73 21 | msgid "Help and FAQ" 22 | msgstr "Aide et questions fréquemment posées" 23 | 24 | #: src/MainView.vala:46 src/MainView.vala:200 25 | msgid "Copied to clipboard" 26 | msgstr "Copié dans le presse-papiers" 27 | 28 | #: src/MainView.vala:51 29 | msgid "Site:" 30 | msgstr "Site :" 31 | 32 | #: src/MainView.vala:57 33 | msgid "GitHub" 34 | msgstr "GitHub" 35 | 36 | #: src/MainView.vala:63 37 | msgid "Site is not case-sensitive. “GitHub” equals “github”." 38 | msgstr "" 39 | "Insensible à la casse. « GitHub » est équivalent à « github »." 40 | 41 | #: src/MainView.vala:66 42 | msgid "Cipher key:" 43 | msgstr "Clé de chiffrement :" 44 | 45 | #: src/MainView.vala:76 46 | msgid "correct horse battery staple" 47 | msgstr "Phrase secrète" 48 | 49 | #: src/MainView.vala:84 50 | msgid "Show or hide the cipher key" 51 | msgstr "Afficher ou masquer la clé de chiffrement" 52 | 53 | #: src/MainView.vala:100 54 | msgid "Show or hide the password" 55 | msgstr "Afficher ou masquer le mot de passe" 56 | 57 | #: src/MainView.vala:107 58 | msgid "Copy" 59 | msgstr "Copier" 60 | 61 | #: src/MainView.vala:117 62 | msgid "Copy without symbols" 63 | msgstr "Copier sans caractères spéciaux" 64 | 65 | #: src/MainView.vala:130 src/MainView.vala:219 66 | #, c-format 67 | msgid "Clearing clipboard in %.0f second" 68 | msgid_plural "Clearing clipboard in %.0f seconds" 69 | msgstr[0] "Presse-papiers vidé dans %.0f seconde" 70 | msgstr[1] "Presse-papiers vidé dans %.0f secondes" 71 | 72 | #: src/MainView.vala:186 73 | msgid "Could not derive password" 74 | msgstr "Échec du calcul du mot de passe" 75 | 76 | #: src/MainView.vala:210 77 | msgid "Cleared the clipboard" 78 | msgstr "Presse-papiers vidé" 79 | 80 | #~ msgid "Derive Password" 81 | #~ msgstr "Obtenir le mot de passe" 82 | 83 | #~ msgid "Password:" 84 | #~ msgstr "Mot de passe :" 85 | -------------------------------------------------------------------------------- /po/it.po: -------------------------------------------------------------------------------- 1 | # ITALIAN TRANSLATION FOR OBLIVIATE. 2 | # Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER 3 | # This file is distributed under the same license as the com.github.elfenware.obliviate package. 4 | # ALBANO BATTISTELLA , 2021,2022. 5 | # 6 | msgid "" 7 | msgstr "" 8 | "Project-Id-Version: com.github.elfenware.obliviate\n" 9 | "Report-Msgid-Bugs-To: \n" 10 | "POT-Creation-Date: 2022-12-03 16:06+0900\n" 11 | "PO-Revision-Date: 2022-06-05 17:10+0100\n" 12 | "Last-Translator: Albano Battistella \n" 13 | "Language-Team: Italian \n" 14 | "Language: it\n" 15 | "MIME-Version: 1.0\n" 16 | "Content-Type: text/plain; charset=UTF-8\n" 17 | "Content-Transfer-Encoding: 8bit\n" 18 | 19 | #: src/MainWindow.vala:73 20 | msgid "Help and FAQ" 21 | msgstr "Aiuto e FAQ" 22 | 23 | #: src/MainView.vala:46 src/MainView.vala:200 24 | msgid "Copied to clipboard" 25 | msgstr "Copiato negli appunti" 26 | 27 | #: src/MainView.vala:51 28 | msgid "Site:" 29 | msgstr "Sito:" 30 | 31 | #: src/MainView.vala:57 32 | msgid "GitHub" 33 | msgstr "GitHub" 34 | 35 | #: src/MainView.vala:63 36 | msgid "Site is not case-sensitive. “GitHub” equals “github”." 37 | msgstr "" 38 | "Il sito non distingue tra maiuscole e minuscole. “GitHub” è uguale a " 39 | "“github”." 40 | 41 | #: src/MainView.vala:66 42 | msgid "Cipher key:" 43 | msgstr "Chiave di cifratura:" 44 | 45 | #: src/MainView.vala:76 46 | msgid "correct horse battery staple" 47 | msgstr "Frase segreta" 48 | 49 | #: src/MainView.vala:84 50 | msgid "Show or hide the cipher key" 51 | msgstr "Mostra o nascondi la chiave di cifratura" 52 | 53 | #: src/MainView.vala:100 54 | msgid "Show or hide the password" 55 | msgstr "Mostra o nascondi la password" 56 | 57 | #: src/MainView.vala:107 58 | msgid "Copy" 59 | msgstr "Copia" 60 | 61 | #: src/MainView.vala:117 62 | msgid "Copy without symbols" 63 | msgstr "Copia senza simboli" 64 | 65 | #: src/MainView.vala:130 src/MainView.vala:219 66 | #, fuzzy, c-format 67 | msgid "Clearing clipboard in %.0f second" 68 | msgid_plural "Clearing clipboard in %.0f seconds" 69 | msgstr[0] "Cancellazione appunti in %.0f secondi" 70 | msgstr[1] "Cancellazione appunti in %.0f secondi" 71 | 72 | #: src/MainView.vala:186 73 | msgid "Could not derive password" 74 | msgstr "Impossibile ottenere la password" 75 | 76 | #: src/MainView.vala:210 77 | msgid "Cleared the clipboard" 78 | msgstr "Cancellato gli appunti" 79 | 80 | #~ msgid "Derive Password" 81 | #~ msgstr "Ottieni Password" 82 | 83 | #~ msgid "Password:" 84 | #~ msgstr "Password:" 85 | -------------------------------------------------------------------------------- /po/meson.build: -------------------------------------------------------------------------------- 1 | # Install main translations 2 | i18n.gettext (meson.project_name (), 3 | args: [ 4 | '--directory=' + meson.project_source_root (), 5 | '--from-code=UTF-8', 6 | '-cTRANSLATORS' 7 | ], 8 | preset: 'glib' 9 | ) 10 | 11 | subdir ('extra') 12 | -------------------------------------------------------------------------------- /po/nl.po: -------------------------------------------------------------------------------- 1 | # SOME DESCRIPTIVE TITLE. 2 | # Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER 3 | # This file is distributed under the same license as the com.github.elfenware.obliviate package. 4 | # FIRST AUTHOR , YEAR. 5 | # 6 | msgid "" 7 | msgstr "" 8 | "Project-Id-Version: com.github.elfenware.obliviate\n" 9 | "Report-Msgid-Bugs-To: \n" 10 | "POT-Creation-Date: 2022-12-03 16:06+0900\n" 11 | "PO-Revision-Date: 2022-06-05 19:32+0200\n" 12 | "Last-Translator: Heimen Stoffels \n" 13 | "Language-Team: \n" 14 | "Language: nl\n" 15 | "MIME-Version: 1.0\n" 16 | "Content-Type: text/plain; charset=UTF-8\n" 17 | "Content-Transfer-Encoding: 8bit\n" 18 | "Plural-Forms: nplurals=2; plural=(n != 1);\n" 19 | "X-Generator: Poedit 3.0.1\n" 20 | 21 | #: src/MainWindow.vala:73 22 | msgid "Help and FAQ" 23 | msgstr "Hulp en veelgestelde vragen" 24 | 25 | #: src/MainView.vala:46 src/MainView.vala:200 26 | msgid "Copied to clipboard" 27 | msgstr "Gekopieerd naar het klembord" 28 | 29 | #: src/MainView.vala:51 30 | msgid "Site:" 31 | msgstr "Website:" 32 | 33 | #: src/MainView.vala:57 34 | msgid "GitHub" 35 | msgstr "GitHub" 36 | 37 | #: src/MainView.vala:63 38 | msgid "Site is not case-sensitive. “GitHub” equals “github”." 39 | msgstr "" 40 | "Het websiteveld is niet hoofdlettergevoelig. Voorbeeld: ‘GitHub’ wordt " 41 | "gezien als ‘github’." 42 | 43 | #: src/MainView.vala:66 44 | msgid "Cipher key:" 45 | msgstr "Toegangssleutel:" 46 | 47 | #: src/MainView.vala:76 48 | msgid "correct horse battery staple" 49 | msgstr "langs de lange lindenlaan" 50 | 51 | #: src/MainView.vala:84 52 | msgid "Show or hide the cipher key" 53 | msgstr "Toegangssleutel tonen/verbergen" 54 | 55 | #: src/MainView.vala:100 56 | msgid "Show or hide the password" 57 | msgstr "Wachtwoord tonen/verbergen" 58 | 59 | #: src/MainView.vala:107 60 | msgid "Copy" 61 | msgstr "Kopiëren" 62 | 63 | #: src/MainView.vala:117 64 | msgid "Copy without symbols" 65 | msgstr "Kopiëren zonder speciale tekens" 66 | 67 | #: src/MainView.vala:130 src/MainView.vala:219 68 | #, fuzzy, c-format 69 | msgid "Clearing clipboard in %.0f second" 70 | msgid_plural "Clearing clipboard in %.0f seconds" 71 | msgstr[0] "Het klembord wordt over %.0f seconden gewist" 72 | msgstr[1] "Het klembord wordt over %.0f seconden gewist" 73 | 74 | #: src/MainView.vala:186 75 | msgid "Could not derive password" 76 | msgstr "Het wachtwoord kan niet worden opgehaald" 77 | 78 | #: src/MainView.vala:210 79 | msgid "Cleared the clipboard" 80 | msgstr "Het klembord is gewist" 81 | 82 | #~ msgid "Derive Password" 83 | #~ msgstr "Wachtwoord ophalen" 84 | 85 | #~ msgid "Password:" 86 | #~ msgstr "Wachtwoord:" 87 | -------------------------------------------------------------------------------- /po/ru.po: -------------------------------------------------------------------------------- 1 | # Russian translations for com.github.elfenware.obliviate 2 | # Copyright (C) 2022 THE com.github.elfenware.obliviate'S COPYRIGHT HOLDER 3 | # This file is distributed under the same license as the com.github.elfenware.obliviate package. 4 | # lenemter , 2022. 5 | # 6 | msgid "" 7 | msgstr "" 8 | "Project-Id-Version: com.github.elfenware.obliviate\n" 9 | "Report-Msgid-Bugs-To: \n" 10 | "POT-Creation-Date: 2022-12-03 16:06+0900\n" 11 | "PO-Revision-Date: 2022-11-04 14:19+0900\n" 12 | "Last-Translator: lenemter \n" 13 | "Language-Team: none\n" 14 | "Language: ru\n" 15 | "MIME-Version: 1.0\n" 16 | "Content-Type: text/plain; charset=UTF-8\n" 17 | "Content-Transfer-Encoding: 8bit\n" 18 | "Plural-Forms: nplurals=3; plural=n%10==1 && n%100!=11 ? 0 : n%10>=2 && " 19 | "n%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2;\n" 20 | 21 | #: src/MainWindow.vala:73 22 | msgid "Help and FAQ" 23 | msgstr "Помощь и ЧаВО" 24 | 25 | #: src/MainView.vala:46 src/MainView.vala:200 26 | msgid "Copied to clipboard" 27 | msgstr "Скопировано в буфер обмена" 28 | 29 | #: src/MainView.vala:51 30 | msgid "Site:" 31 | msgstr "Сайт:" 32 | 33 | #: src/MainView.vala:57 34 | msgid "GitHub" 35 | msgstr "GitHub" 36 | 37 | #: src/MainView.vala:63 38 | msgid "Site is not case-sensitive. “GitHub” equals “github”." 39 | msgstr "Сайт не зависит от регистра. «GitHub» равно «github»." 40 | 41 | #: src/MainView.vala:66 42 | msgid "Cipher key:" 43 | msgstr "Ключ шифрования:" 44 | 45 | #: src/MainView.vala:76 46 | msgid "correct horse battery staple" 47 | msgstr "correct horse battery staple" 48 | 49 | #: src/MainView.vala:84 50 | msgid "Show or hide the cipher key" 51 | msgstr "Показать или спрятать ключ шифрования" 52 | 53 | #: src/MainView.vala:100 54 | msgid "Show or hide the password" 55 | msgstr "Показать или спрятать пароль" 56 | 57 | #: src/MainView.vala:107 58 | msgid "Copy" 59 | msgstr "Копировать" 60 | 61 | #: src/MainView.vala:117 62 | msgid "Copy without symbols" 63 | msgstr "Копировать без символов" 64 | 65 | #: src/MainView.vala:130 src/MainView.vala:219 66 | #, c-format 67 | msgid "Clearing clipboard in %.0f second" 68 | msgid_plural "Clearing clipboard in %.0f seconds" 69 | msgstr[0] "Буфер обмена будет очищен через %.0f секунду" 70 | msgstr[1] "Буфер обмена будет очищен через %.0f секунды" 71 | msgstr[2] "Буфер обмена будет очищен через %.0f секунд" 72 | 73 | #: src/MainView.vala:186 74 | msgid "Could not derive password" 75 | msgstr "Не удалось получить пароль" 76 | 77 | #: src/MainView.vala:210 78 | msgid "Cleared the clipboard" 79 | msgstr "Буфер обмена очищен" 80 | -------------------------------------------------------------------------------- /src/Application.vala: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (C) 2020 Darshak Parikh 3 | * 4 | * This program is free software: you can redistribute it and/or modify 5 | * it under the terms of the GNU General Public License as published by 6 | * the Free Software Foundation, either version 3 of the License, or 7 | * (at your option) any later version. 8 | * 9 | * This program is distributed in the hope that it will be useful, 10 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 11 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 12 | * GNU General Public License for more details. 13 | * 14 | * You should have received a copy of the GNU General Public License 15 | * along with this program. If not, see . 16 | * 17 | * Authored by: Darshak Parikh 18 | * 19 | */ 20 | 21 | public class Obliviate.Application : Gtk.Application { 22 | private Obliviate.MainWindow window; 23 | 24 | public Application () { 25 | Object ( 26 | application_id: "com.github.elfenware.obliviate" 27 | ); 28 | } 29 | 30 | construct { 31 | Intl.setlocale (LocaleCategory.ALL, ""); 32 | GLib.Intl.bindtextdomain (GETTEXT_PACKAGE, LOCALEDIR); 33 | GLib.Intl.bind_textdomain_codeset (GETTEXT_PACKAGE, "UTF-8"); 34 | GLib.Intl.textdomain (GETTEXT_PACKAGE); 35 | } 36 | 37 | protected override void activate () { 38 | window = new MainWindow (this); 39 | 40 | var gtk_settings = Gtk.Settings.get_default (); 41 | var granite_settings = Granite.Settings.get_default (); 42 | 43 | gtk_settings.gtk_application_prefer_dark_theme = ( 44 | granite_settings.prefers_color_scheme == Granite.Settings.ColorScheme.DARK 45 | ); 46 | 47 | granite_settings.notify["prefers-color-scheme"].connect (() => { 48 | gtk_settings.gtk_application_prefer_dark_theme = ( 49 | granite_settings.prefers_color_scheme == Granite.Settings.ColorScheme.DARK 50 | ); 51 | }); 52 | 53 | var provider = new Gtk.CssProvider (); 54 | provider.load_from_resource ("/com/github/elfenware/obliviate/Application.css"); 55 | Gtk.StyleContext.add_provider_for_display ( 56 | Gdk.Display.get_default (), 57 | provider, 58 | Gtk.STYLE_PROVIDER_PRIORITY_APPLICATION 59 | ); 60 | } 61 | 62 | public static int main (string[] args) { 63 | var app = new Obliviate.Application (); 64 | return app.run (args); 65 | } 66 | } 67 | -------------------------------------------------------------------------------- /src/Config.vala.in: -------------------------------------------------------------------------------- 1 | public const string GETTEXT_PACKAGE = @GETTEXT_PACKAGE@; 2 | public const string LOCALEDIR = @LOCALEDIR@; 3 | -------------------------------------------------------------------------------- /src/MainView.vala: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (C) 2020 Darshak Parikh 3 | * 4 | * This program is free software: you can redistribute it and/or modify 5 | * it under the terms of the GNU General Public License as published by 6 | * the Free Software Foundation, either version 3 of the License, or 7 | * (at your option) any later version. 8 | * 9 | * This program is distributed in the hope that it will be useful, 10 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 11 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 12 | * GNU General Public License for more details. 13 | * 14 | * You should have received a copy of the GNU General Public License 15 | * along with this program. If not, see . 16 | * 17 | * Authored by: Darshak Parikh 18 | * 19 | */ 20 | 21 | public class Obliviate.MainView : Gtk.Box { 22 | private Gtk.Overlay overlay; 23 | private Gtk.Grid grid; 24 | private Granite.Toast toast; 25 | 26 | private Gtk.Entry site; 27 | private Gtk.PasswordEntry cipher_key; 28 | private Gtk.PasswordEntry generated_pass; 29 | private Gtk.Button copy_btn; 30 | private Gtk.Button copy_without_symbols_btn; 31 | private Gtk.Label clearing_label; 32 | private Gtk.ProgressBar clearing_progress; 33 | 34 | private Gdk.Clipboard clipboard; 35 | private const float CLIPBOARD_LIFE = 30; 36 | private uint timeout_id; 37 | 38 | construct { 39 | overlay = new Gtk.Overlay() { 40 | hexpand = true, 41 | vexpand = true 42 | }; 43 | 44 | grid = new Gtk.Grid () { 45 | row_spacing = 4, 46 | column_spacing = 4, 47 | margin_top = 30, 48 | margin_bottom = 30, 49 | margin_start = 30, 50 | margin_end = 30, 51 | halign = Gtk.Align.CENTER 52 | }; 53 | 54 | var toast = new Granite.Toast (_ ("Copied to clipboard")); 55 | 56 | overlay.set_child (grid); 57 | overlay.add_overlay (toast); 58 | 59 | var site_label = new Gtk.Label (_ ("Site:")) { 60 | halign = Gtk.Align.END, 61 | margin_end = 4 62 | }; 63 | 64 | site = new Gtk.Entry () { 65 | placeholder_text = _ ("GitHub"), 66 | primary_icon_name = "dialog-information-symbolic", 67 | primary_icon_tooltip_text = "Site is not case-sensitive. “GitHub” equals “github”." 68 | }; 69 | 70 | site.changed.connect (handle_generate_password); 71 | 72 | var cipher_key_label = new Gtk.Label (_ ("Cipher key:")) { 73 | halign = Gtk.Align.END, 74 | margin_end = 4 75 | }; 76 | 77 | cipher_key = new Gtk.PasswordEntry () { 78 | show_peek_icon = true, 79 | placeholder_text = _ ("correct horse battery staple"), 80 | width_chars = 24 81 | }; 82 | 83 | cipher_key.changed.connect (handle_generate_password); 84 | 85 | this.generated_pass = new Gtk.PasswordEntry () { 86 | show_peek_icon = true, 87 | editable = false, 88 | sensitive = false, 89 | width_chars = 24 90 | }; 91 | 92 | this.generated_pass.add_css_class (Granite.STYLE_CLASS_FLAT); 93 | 94 | copy_btn = new Gtk.Button.with_label (_ ("Copy")) { 95 | sensitive = false 96 | }; 97 | 98 | copy_btn.add_css_class (Granite.STYLE_CLASS_SUGGESTED_ACTION); 99 | 100 | copy_btn.clicked.connect (() => { 101 | handle_copy (); 102 | }); 103 | 104 | copy_without_symbols_btn = new Gtk.Button.with_label (_ ("Copy without symbols")) { 105 | sensitive = false 106 | }; 107 | 108 | copy_without_symbols_btn.clicked.connect (() => { 109 | handle_copy (true); 110 | }); 111 | 112 | var button_box = new Gtk.Box (Gtk.Orientation.HORIZONTAL, 6); 113 | button_box.prepend (copy_btn); 114 | button_box.append (copy_without_symbols_btn); 115 | 116 | clearing_label = new Gtk.Label (ngettext ( 117 | "Clearing clipboard in %.0f second", 118 | "Clearing clipboard in %.0f seconds", 119 | (ulong) CLIPBOARD_LIFE 120 | ).printf (CLIPBOARD_LIFE)) { 121 | margin_top = 18, 122 | halign = Gtk.Align.START, 123 | hexpand = false 124 | }; 125 | 126 | clearing_progress = new Gtk.ProgressBar () { 127 | fraction = 1 128 | }; 129 | 130 | clearing_progress.add_css_class (Granite.STYLE_CLASS_FLAT); 131 | 132 | var plus_label = new Gtk.Label ("+"); 133 | plus_label.add_css_class ("sign"); 134 | 135 | var equals_label = new Gtk.Label ("="); 136 | equals_label.add_css_class ("sign"); 137 | 138 | grid.attach (site_label, 0, 0, 1, 1); 139 | grid.attach_next_to (site, site_label, Gtk.PositionType.RIGHT); 140 | 141 | grid.attach_next_to (plus_label, site, Gtk.PositionType.BOTTOM); 142 | 143 | grid.attach (cipher_key_label, 0, 2, 1, 1); 144 | grid.attach_next_to (cipher_key, cipher_key_label, Gtk.PositionType.RIGHT); 145 | 146 | grid.attach_next_to (equals_label, cipher_key, Gtk.PositionType.BOTTOM); 147 | 148 | grid.attach_next_to (generated_pass, equals_label, Gtk.PositionType.BOTTOM); 149 | grid.attach_next_to (button_box, generated_pass, Gtk.PositionType.BOTTOM); 150 | 151 | clipboard = this.get_clipboard (); 152 | 153 | append (overlay); 154 | } 155 | 156 | private void handle_generate_password () { 157 | if (site.text.length == 0 || cipher_key.text.length == 0) { 158 | generated_pass.text = ""; 159 | copy_btn.sensitive = false; 160 | copy_without_symbols_btn.sensitive = false; 161 | return; 162 | } 163 | 164 | try { 165 | generated_pass.text = Service.derive_password (cipher_key.text, site.text.down ()); 166 | copy_btn.sensitive = true; 167 | copy_without_symbols_btn.sensitive = true; 168 | animate_password (); 169 | } catch (CryptoError error) { 170 | toast.title = _ ("Could not derive password"); 171 | toast.send_notification (); 172 | } 173 | } 174 | 175 | private void handle_copy (bool ignore_symbols = false) { 176 | Source.remove (timeout_id); 177 | 178 | var text_to_copy = ignore_symbols 179 | ? Service.remove_symbols (generated_pass.text) 180 | : generated_pass.text; 181 | 182 | clipboard.set_text (text_to_copy); 183 | 184 | toast.title = _ ("Copied to clipboard"); 185 | toast.send_notification (); 186 | 187 | show_clearing_widgets (); 188 | 189 | float seconds_left = CLIPBOARD_LIFE; 190 | timeout_id = Timeout.add_seconds (1, () => { 191 | if (seconds_left == 0) { 192 | clipboard.set_text (""); 193 | 194 | toast.title = _ ("Cleared the clipboard"); 195 | toast.send_notification (); 196 | 197 | hide_clearing_widgets (); 198 | return false; 199 | } 200 | 201 | seconds_left--; 202 | clearing_label.label = ngettext ( 203 | "Clearing clipboard in %.0f second", 204 | "Clearing clipboard in %.0f seconds", 205 | (ulong) seconds_left 206 | ).printf (seconds_left); 207 | clearing_progress.fraction = seconds_left / CLIPBOARD_LIFE; 208 | 209 | return true; 210 | }); 211 | } 212 | 213 | private void show_clearing_widgets () { 214 | if (grid.get_child_at (1, 6) != clearing_label) { 215 | grid.attach (clearing_label, 1, 6, 1, 1); 216 | grid.attach_next_to (clearing_progress, clearing_label, Gtk.PositionType.BOTTOM); 217 | } 218 | 219 | clearing_label.visible = true; 220 | clearing_progress.visible = true; 221 | } 222 | 223 | private void hide_clearing_widgets () { 224 | clearing_label.visible = false; 225 | clearing_progress.visible = false; 226 | } 227 | 228 | private void animate_password () { 229 | generated_pass.add_css_class ("regenerating"); 230 | Timeout.add (100, () => { 231 | generated_pass.remove_css_class ("regenerating"); 232 | return false; 233 | }); 234 | } 235 | } 236 | -------------------------------------------------------------------------------- /src/MainWindow.vala: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (C) 2020 Darshak Parikh 3 | * 4 | * This program is free software: you can redistribute it and/or modify 5 | * it under the terms of the GNU General Public License as published by 6 | * the Free Software Foundation, either version 3 of the License, or 7 | * (at your option) any later version. 8 | * 9 | * This program is distributed in the hope that it will be useful, 10 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 11 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 12 | * GNU General Public License for more details. 13 | * 14 | * You should have received a copy of the GNU General Public License 15 | * along with this program. If not, see . 16 | * 17 | * Authored by: Darshak Parikh 18 | * 19 | */ 20 | 21 | public class Obliviate.MainWindow : Gtk.Window { 22 | private GLib.Settings settings; 23 | 24 | public MainWindow (Gtk.Application app) { 25 | Object (application: app); 26 | } 27 | 28 | construct { 29 | var headerbar = get_headerbar (); 30 | 31 | var main = new MainView (); 32 | 33 | var box = new Gtk.Box (Gtk.Orientation.VERTICAL, 0); 34 | box.append (headerbar); 35 | box.append (main); 36 | set_child (box); 37 | 38 | set_size_request (440, 280); 39 | 40 | settings = new GLib.Settings ("com.github.elfenware.obliviate.state"); 41 | 42 | set_default_size (settings.get_int ("window-width"), settings.get_int ("window-height")); 43 | 44 | show (); 45 | 46 | this.close_request.connect (e => { 47 | return before_destroy (); 48 | }); 49 | } 50 | 51 | private Gtk.HeaderBar get_headerbar () { 52 | set_title (_("Obliviate")); 53 | Gtk.Label title_widget = new Gtk.Label (_("Obliviate")); 54 | title_widget.add_css_class (Granite.STYLE_CLASS_TITLE_LABEL); 55 | 56 | var headerbar = new Gtk.HeaderBar (); 57 | headerbar.set_title_widget (title_widget); 58 | headerbar.add_css_class (Granite.STYLE_CLASS_FLAT); 59 | set_titlebar (headerbar); 60 | 61 | var help_btn = new Gtk.Button.from_icon_name ("help-contents") { 62 | tooltip_text = _("Help and FAQ") 63 | }; 64 | 65 | help_btn.clicked.connect (() => { 66 | try { 67 | AppInfo.launch_default_for_uri ("https://github.com/elfenware/obliviate/wiki/Help-and-FAQ", null); 68 | } catch (Error e) { 69 | warning ("%s\n", e.message); 70 | } 71 | }); 72 | 73 | headerbar.pack_end (help_btn); 74 | 75 | return headerbar; 76 | } 77 | 78 | private bool before_destroy () { 79 | int width, height; 80 | 81 | get_default_size (out width, out height); 82 | 83 | settings.set_int ("window-width", width); 84 | settings.set_int ("window-height", height); 85 | 86 | return false; 87 | } 88 | } 89 | -------------------------------------------------------------------------------- /src/Service.vala: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (C) 2020 Darshak Parikh 3 | * 4 | * This program is free software: you can redistribute it and/or modify 5 | * it under the terms of the GNU General Public License as published by 6 | * the Free Software Foundation, either version 3 of the License, or 7 | * (at your option) any later version. 8 | * 9 | * This program is distributed in the hope that it will be useful, 10 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 11 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 12 | * GNU General Public License for more details. 13 | * 14 | * You should have received a copy of the GNU General Public License 15 | * along with this program. If not, see . 16 | * 17 | * Authored by: Darshak Parikh 18 | * 19 | */ 20 | 21 | public errordomain Obliviate.CryptoError { 22 | DERIVATION_FAILED 23 | } 24 | 25 | public class Obliviate.Service : GLib.Object { 26 | public static string derive_password (string cipher_key, string salt) throws CryptoError { 27 | var keybuffer = new uint8[16]; 28 | 29 | const char[] ALLOWED_CHARS = { 30 | '0', '1', '2', '3', '4', '5', '6', '7', '8', '9', 31 | 'A', 'B', 'C', 'D', 'E', 'F', 'G', 'H', 'I', 'J', 'K', 'L', 'M', 32 | 'N', 'O', 'P', 'Q', 'R', 'S', 'T', 'U', 'V', 'W', 'X', 'Y', 'Z', 33 | 'a', 'b', 'c', 'd', 'e', 'f', 'g', 'h', 'i', 'j', 'k', 'l', 'm', 34 | 'n', 'o', 'p', 'q', 'r', 's', 't', 'u', 'v', 'w', 'x', 'y', 'z', 35 | '!', '#', '$', '%', '&', '(', ')', '*', '+', '-', ';', '<', '=', 36 | '>', '?', '@', '^', '_', '`', '{', '|', '}', '~' 37 | }; 38 | 39 | var error = GCrypt.KeyDerivation.derive ( 40 | cipher_key.data, 41 | GCrypt.KeyDerivation.Algorithm.PBKDF2, 42 | GCrypt.Hash.Algorithm.SHA256, 43 | salt.data, 44 | 10000, 45 | keybuffer 46 | ); 47 | 48 | if (error.code () != GCrypt.ErrorCode.NO_ERROR) { 49 | throw new CryptoError.DERIVATION_FAILED (error.to_string ()); 50 | } 51 | 52 | // keybuffer will have values ranging from 0 to 255. 53 | // This is the mapping of those integers to ALLOWED_CHARS. 54 | var derived_characters = new StringBuilder.sized (keybuffer.length); 55 | 56 | for (ushort index = 0; index < keybuffer.length; index++) { 57 | var character = ALLOWED_CHARS[keybuffer[index] % ALLOWED_CHARS.length]; 58 | derived_characters.append_c (character); 59 | } 60 | 61 | return derived_characters.str; 62 | } 63 | 64 | public static string remove_symbols (string str) { 65 | Regex regex; 66 | 67 | try { 68 | regex = new Regex ("[^a-zA-Z0-9]"); 69 | return regex.replace (str, str.length, 0, ""); 70 | } catch (Error e) { 71 | debug ("Error removing symbols."); 72 | } 73 | 74 | return str; 75 | } 76 | } 77 | -------------------------------------------------------------------------------- /src/meson.build: -------------------------------------------------------------------------------- 1 | # Listing files to compile 2 | sources = files ( 3 | 'Application.vala', 4 | 'MainWindow.vala', 5 | 'MainView.vala', 6 | 'Service.vala' 7 | ) 8 | -------------------------------------------------------------------------------- /vapi/config.vapi: -------------------------------------------------------------------------------- 1 | [CCode (cprefix = "", lower_case_cprefix = "", cheader_filename = "config.h")] 2 | namespace Build { 3 | public const string DATADIR; 4 | public const string PKGDATADIR; 5 | public const string GETTEXT_PACKAGE; 6 | public const string RELEASE_NAME; 7 | public const string VERSION; 8 | public const string VERSION_INFO; 9 | public const string PLUGINDIR; 10 | } 11 | -------------------------------------------------------------------------------- /vapi/gcrypt.vapi: -------------------------------------------------------------------------------- 1 | /* gcrypt.vapi 2 | * 3 | * Copyright: 4 | * 2008 Jiqing Qiang 5 | * 2008, 2010, 2012-2013 Evan Nemerson 6 | * 7 | * This library is free software; you can redistribute it and/or 8 | * modify it under the terms of the GNU Lesser General Public 9 | * License as published by the Free Software Foundation; either 10 | * version 2.1 of the License, or (at your option) any later version. 11 | 12 | * This library is distributed in the hope that it will be useful, 13 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 14 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 15 | * Lesser General Public License for more details. 16 | 17 | * You should have received a copy of the GNU Lesser General Public 18 | * License along with this library; if not, write to the Free Software 19 | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA 20 | * 21 | * Author: 22 | * Jiqing Qiang 23 | * Evan Nemerson 24 | */ 25 | 26 | 27 | [CCode (cheader_filename = "gcrypt.h", lower_case_cprefix = "gcry_")] 28 | namespace GCrypt { 29 | [CCode (cname = "gpg_err_source_t", cprefix = "GPG_ERR_SOURCE_")] 30 | public enum ErrorSource { 31 | UNKNOWN, 32 | GCRYPT, 33 | GPG, 34 | GPGSM, 35 | GPGAGENT, 36 | PINENTRY, 37 | SCD, 38 | GPGME, 39 | KEYBOX, 40 | KSBA, 41 | DIRMNGR, 42 | GSTI, 43 | ANY, 44 | USER_1, 45 | USER_2, 46 | USER_3, 47 | USER_4, 48 | 49 | /* This is one more than the largest allowed entry. */ 50 | DIM 51 | } 52 | 53 | [CCode (cname = "gpg_err_code_t", cprefix = "GPG_ERR_")] 54 | public enum ErrorCode { 55 | NO_ERROR, 56 | GENERAL, 57 | UNKNOWN_PACKET, 58 | UNKNOWN_VERSION, 59 | PUBKEY_ALGO, 60 | DIGEST_ALGO, 61 | BAD_PUBKEY, 62 | BAD_SECKEY, 63 | BAD_SIGNATURE, 64 | NO_PUBKEY, 65 | CHECKSUM, 66 | BAD_PASSPHRASE, 67 | CIPHER_ALGO, 68 | KEYRING_OPEN, 69 | INV_PACKET, 70 | INV_ARMOR, 71 | NO_USER_ID, 72 | NO_SECKEY, 73 | WRONG_SECKEY, 74 | BAD_KEY, 75 | COMPR_ALGO, 76 | NO_PRIME, 77 | NO_ENCODING_METHOD, 78 | NO_ENCRYPTION_SCHEME, 79 | NO_SIGNATURE_SCHEME, 80 | INV_ATTR, 81 | NO_VALUE, 82 | NOT_FOUND, 83 | VALUE_NOT_FOUND, 84 | SYNTAX, 85 | BAD_MPI, 86 | INV_PASSPHRASE, 87 | SIG_CLASS, 88 | RESOURCE_LIMIT, 89 | INV_KEYRING, 90 | TRUSTDB, 91 | BAD_CERT, 92 | INV_USER_ID, 93 | UNEXPECTED, 94 | TIME_CONFLICT, 95 | KEYSERVER, 96 | WRONG_PUBKEY_ALGO, 97 | TRIBUTE_TO_D_A, 98 | WEAK_KEY, 99 | INV_KEYLEN, 100 | INV_ARG, 101 | BAD_URI, 102 | INV_URI, 103 | NETWORK, 104 | UNKNOWN_HOST, 105 | SELFTEST_FAILED, 106 | NOT_ENCRYPTED, 107 | NOT_PROCESSED, 108 | UNUSABLE_PUBKEY, 109 | UNUSABLE_SECKEY, 110 | INV_VALUE, 111 | BAD_CERT_CHAIN, 112 | MISSING_CERT, 113 | NO_DATA, 114 | BUG, 115 | NOT_SUPPORTED, 116 | INV_OP, 117 | TIMEOUT, 118 | INTERNAL, 119 | EOF_GCRYPT, 120 | INV_OBJ, 121 | TOO_SHORT, 122 | TOO_LARGE, 123 | NO_OBJ, 124 | NOT_IMPLEMENTED, 125 | CONFLICT, 126 | INV_CIPHER_MODE, 127 | INV_FLAG, 128 | INV_HANDLE, 129 | TRUNCATED, 130 | INCOMPLETE_LINE, 131 | INV_RESPONSE, 132 | NO_AGENT, 133 | AGENT, 134 | INV_DATA, 135 | ASSUAN_SERVER_FAULT, 136 | ASSUAN, 137 | INV_SESSION_KEY, 138 | INV_SEXP, 139 | UNSUPPORTED_ALGORITHM, 140 | NO_PIN_ENTRY, 141 | PIN_ENTRY, 142 | BAD_PIN, 143 | INV_NAME, 144 | BAD_DATA, 145 | INV_PARAMETER, 146 | WRONG_CARD, 147 | NO_DIRMNGR, 148 | DIRMNGR, 149 | CERT_REVOKED, 150 | NO_CRL_KNOWN, 151 | CRL_TOO_OLD, 152 | LINE_TOO_LONG, 153 | NOT_TRUSTED, 154 | CANCELED, 155 | BAD_CA_CERT, 156 | CERT_EXPIRED, 157 | CERT_TOO_YOUNG, 158 | UNSUPPORTED_CERT, 159 | UNKNOWN_SEXP, 160 | UNSUPPORTED_PROTECTION, 161 | CORRUPTED_PROTECTION, 162 | AMBIGUOUS_NAME, 163 | CARD, 164 | CARD_RESET, 165 | CARD_REMOVED, 166 | INV_CARD, 167 | CARD_NOT_PRESENT, 168 | NO_PKCS15_APP, 169 | NOT_CONFIRMED, 170 | CONFIGURATION, 171 | NO_POLICY_MATCH, 172 | INV_INDEX, 173 | INV_ID, 174 | NO_SCDAEMON, 175 | SCDAEMON, 176 | UNSUPPORTED_PROTOCOL, 177 | BAD_PIN_METHOD, 178 | CARD_NOT_INITIALIZED, 179 | UNSUPPORTED_OPERATION, 180 | WRONG_KEY_USAGE, 181 | NOTHING_FOUND, 182 | WRONG_BLOB_TYPE, 183 | MISSING_VALUE, 184 | HARDWARE, 185 | PIN_BLOCKED, 186 | USE_CONDITIONS, 187 | PIN_NOT_SYNCED, 188 | INV_CRL, 189 | BAD_BER, 190 | INV_BER, 191 | ELEMENT_NOT_FOUND, 192 | IDENTIFIER_NOT_FOUND, 193 | INV_TAG, 194 | INV_LENGTH, 195 | INV_KEYINFO, 196 | UNEXPECTED_TAG, 197 | NOT_DER_ENCODED, 198 | NO_CMS_OBJ, 199 | INV_CMS_OBJ, 200 | UNKNOWN_CMS_OBJ, 201 | UNSUPPORTED_CMS_OBJ, 202 | UNSUPPORTED_ENCODING, 203 | UNSUPPORTED_CMS_VERSION, 204 | UNKNOWN_ALGORITHM, 205 | INV_ENGINE, 206 | PUBKEY_NOT_TRUSTED, 207 | DECRYPT_FAILED, 208 | KEY_EXPIRED, 209 | SIG_EXPIRED, 210 | ENCODING_PROBLEM, 211 | INV_STATE, 212 | DUP_VALUE, 213 | MISSING_ACTION, 214 | MODULE_NOT_FOUND, 215 | INV_OID_STRING, 216 | INV_TIME, 217 | INV_CRL_OBJ, 218 | UNSUPPORTED_CRL_VERSION, 219 | INV_CERT_OBJ, 220 | UNKNOWN_NAME, 221 | LOCALE_PROBLEM, 222 | NOT_LOCKED, 223 | PROTOCOL_VIOLATION, 224 | INV_MAC, 225 | INV_REQUEST, 226 | UNKNOWN_EXTN, 227 | UNKNOWN_CRIT_EXTN, 228 | LOCKED, 229 | UNKNOWN_OPTION, 230 | UNKNOWN_COMMAND, 231 | BUFFER_TOO_SHORT, 232 | SEXP_INV_LEN_SPEC, 233 | SEXP_STRING_TOO_LONG, 234 | SEXP_UNMATCHED_PAREN, 235 | SEXP_NOT_CANONICAL, 236 | SEXP_BAD_CHARACTER, 237 | SEXP_BAD_QUOTATION, 238 | SEXP_ZERO_PREFIX, 239 | SEXP_NESTED_DH, 240 | SEXP_UNMATCHED_DH, 241 | SEXP_UNEXPECTED_PUNC, 242 | SEXP_BAD_HEX_CHAR, 243 | SEXP_ODD_HEX_NUMBERS, 244 | SEXP_BAD_OCT_CHAR, 245 | ASS_GENERAL, 246 | ASS_ACCEPT_FAILED, 247 | ASS_CONNECT_FAILED, 248 | ASS_INV_RESPONSE, 249 | ASS_INV_VALUE, 250 | ASS_INCOMPLETE_LINE, 251 | ASS_LINE_TOO_LONG, 252 | ASS_NESTED_COMMANDS, 253 | ASS_NO_DATA_CB, 254 | ASS_NO_INQUIRE_CB, 255 | ASS_NOT_A_SERVER, 256 | ASS_NOT_A_CLIENT, 257 | ASS_SERVER_START, 258 | ASS_READ_ERROR, 259 | ASS_WRITE_ERROR, 260 | ASS_TOO_MUCH_DATA, 261 | ASS_UNEXPECTED_CMD, 262 | ASS_UNKNOWN_CMD, 263 | ASS_SYNTAX, 264 | ASS_CANCELED, 265 | ASS_NO_INPUT, 266 | ASS_NO_OUTPUT, 267 | ASS_PARAMETER, 268 | ASS_UNKNOWN_INQUIRE, 269 | USER_1, 270 | USER_2, 271 | USER_3, 272 | USER_4, 273 | USER_5, 274 | USER_6, 275 | USER_7, 276 | USER_8, 277 | USER_9, 278 | USER_10, 279 | USER_11, 280 | USER_12, 281 | USER_13, 282 | USER_14, 283 | USER_15, 284 | USER_16, 285 | MISSING_ERRNO, 286 | UNKNOWN_ERRNO, 287 | EOF, 288 | 289 | E2BIG, 290 | EACCES, 291 | EADDRINUSE, 292 | EADDRNOTAVAIL, 293 | EADV, 294 | EAFNOSUPPORT, 295 | EAGAIN, 296 | EALREADY, 297 | EAUTH, 298 | EBACKGROUND, 299 | EBADE, 300 | EBADF, 301 | EBADFD, 302 | EBADMSG, 303 | EBADR, 304 | EBADRPC, 305 | EBADRQC, 306 | EBADSLT, 307 | EBFONT, 308 | EBUSY, 309 | ECANCELED, 310 | ECHILD, 311 | ECHRNG, 312 | ECOMM, 313 | ECONNABORTED, 314 | ECONNREFUSED, 315 | ECONNRESET, 316 | ED, 317 | EDEADLK, 318 | EDEADLOCK, 319 | EDESTADDRREQ, 320 | EDIED, 321 | EDOM, 322 | EDOTDOT, 323 | EDQUOT, 324 | EEXIST, 325 | EFAULT, 326 | EFBIG, 327 | EFTYPE, 328 | EGRATUITOUS, 329 | EGREGIOUS, 330 | EHOSTDOWN, 331 | EHOSTUNREACH, 332 | EIDRM, 333 | EIEIO, 334 | EILSEQ, 335 | EINPROGRESS, 336 | EINTR, 337 | EINVAL, 338 | EIO, 339 | EISCONN, 340 | EISDIR, 341 | EISNAM, 342 | EL2HLT, 343 | EL2NSYNC, 344 | EL3HLT, 345 | EL3RST, 346 | ELIBACC, 347 | ELIBBAD, 348 | ELIBEXEC, 349 | ELIBMAX, 350 | ELIBSCN, 351 | ELNRNG, 352 | ELOOP, 353 | EMEDIUMTYPE, 354 | EMFILE, 355 | EMLINK, 356 | EMSGSIZE, 357 | EMULTIHOP, 358 | ENAMETOOLONG, 359 | ENAVAIL, 360 | ENEEDAUTH, 361 | ENETDOWN, 362 | ENETRESET, 363 | ENETUNREACH, 364 | ENFILE, 365 | ENOANO, 366 | ENOBUFS, 367 | ENOCSI, 368 | ENODATA, 369 | ENODEV, 370 | ENOENT, 371 | ENOEXEC, 372 | ENOLCK, 373 | ENOLINK, 374 | ENOMEDIUM, 375 | ENOMEM, 376 | ENOMSG, 377 | ENONET, 378 | ENOPKG, 379 | ENOPROTOOPT, 380 | ENOSPC, 381 | ENOSR, 382 | ENOSTR, 383 | ENOSYS, 384 | ENOTBLK, 385 | ENOTCONN, 386 | ENOTDIR, 387 | ENOTEMPTY, 388 | ENOTNAM, 389 | ENOTSOCK, 390 | ENOTSUP, 391 | ENOTTY, 392 | ENOTUNIQ, 393 | ENXIO, 394 | EOPNOTSUPP, 395 | EOVERFLOW, 396 | EPERM, 397 | EPFNOSUPPORT, 398 | EPIPE, 399 | EPROCLIM, 400 | EPROCUNAVAIL, 401 | EPROGMISMATCH, 402 | EPROGUNAVAIL, 403 | EPROTO, 404 | EPROTONOSUPPORT, 405 | EPROTOTYPE, 406 | ERANGE, 407 | EREMCHG, 408 | EREMOTE, 409 | EREMOTEIO, 410 | ERESTART, 411 | EROFS, 412 | ERPCMISMATCH, 413 | ESHUTDOWN, 414 | ESOCKTNOSUPPORT, 415 | ESPIPE, 416 | ESRCH, 417 | ESRMNT, 418 | ESTALE, 419 | ESTRPIPE, 420 | ETIME, 421 | ETIMEDOUT, 422 | ETOOMANYREFS, 423 | ETXTBSY, 424 | EUCLEAN, 425 | EUNATCH, 426 | EUSERS, 427 | EWOULDBLOCK, 428 | EXDEV, 429 | EXFULL, 430 | 431 | /* This is one more than the largest allowed entry. */ 432 | CODE_DIM 433 | } 434 | 435 | [CCode (cname = "gcry_error_t", cprefix = "gpg_err_")] 436 | public struct Error : uint { 437 | [CCode (cname = "gcry_err_make")] 438 | public Error (ErrorSource source, ErrorCode code); 439 | [CCode (cname = "gcry_err_make_from_errno")] 440 | public Error.from_errno (ErrorSource source, int err); 441 | public ErrorCode code (); 442 | public ErrorSource source (); 443 | 444 | [CCode (cname = "gcry_strerror")] 445 | public unowned string to_string (); 446 | 447 | [CCode (cname = "gcry_strsource")] 448 | public unowned string source_to_string (); 449 | } 450 | 451 | [CCode (cname = "enum gcry_ctl_cmds", cprefix = "GCRYCTL_")] 452 | public enum ControlCommand { 453 | SET_KEY, 454 | SET_IV, 455 | CFB_SYNC, 456 | RESET, 457 | FINALIZE, 458 | GET_KEYLEN, 459 | GET_BLKLEN, 460 | TEST_ALGO, 461 | IS_SECURE, 462 | GET_ASNOID, 463 | ENABLE_ALGO, 464 | DISABLE_ALGO, 465 | DUMP_RANDOM_STATS, 466 | DUMP_SECMEM_STATS, 467 | GET_ALGO_NPKEY, 468 | GET_ALGO_NSKEY, 469 | GET_ALGO_NSIGN, 470 | GET_ALGO_NENCR, 471 | SET_VERBOSITY, 472 | SET_DEBUG_FLAGS, 473 | CLEAR_DEBUG_FLAGS, 474 | USE_SECURE_RNDPOOL, 475 | DUMP_MEMORY_STATS, 476 | INIT_SECMEM, 477 | TERM_SECMEM, 478 | DISABLE_SECMEM_WARN, 479 | SUSPEND_SECMEM_WARN, 480 | RESUME_SECMEM_WARN, 481 | DROP_PRIVS, 482 | ENABLE_M_GUARD, 483 | START_DUMP, 484 | STOP_DUMP, 485 | GET_ALGO_USAGE, 486 | IS_ALGO_ENABLED, 487 | DISABLE_INTERNAL_LOCKING, 488 | DISABLE_SECMEM, 489 | INITIALIZATION_FINISHED, 490 | INITIALIZATION_FINISHED_P, 491 | ANY_INITIALIZATION_P, 492 | SET_CBC_CTS, 493 | SET_CBC_MAC, 494 | SET_CTR, 495 | ENABLE_QUICK_RANDOM, 496 | SET_RANDOM_SEED_FILE, 497 | UPDATE_RANDOM_SEED_FILE, 498 | SET_THREAD_CBS, 499 | FAST_POLL 500 | } 501 | public Error control (ControlCommand cmd, ...); 502 | 503 | [CCode (lower_case_cname = "cipher_")] 504 | namespace Cipher { 505 | [CCode (cname = "enum gcry_cipher_algos", cprefix = "GCRY_CIPHER_")] 506 | public enum Algorithm { 507 | NONE, 508 | IDEA, 509 | 3DES, 510 | CAST5, 511 | BLOWFISH, 512 | SAFER_SK128, 513 | DES_SK, 514 | AES, 515 | AES128, 516 | RIJNDAEL, 517 | RIJNDAEL128, 518 | AES192, 519 | RIJNDAEL192, 520 | AES256, 521 | RIJNDAEL256, 522 | TWOFISH, 523 | TWOFISH128, 524 | ARCFOUR, 525 | DES, 526 | SERPENT128, 527 | SERPENT192, 528 | SERPENT256, 529 | RFC2268_40, 530 | RFC2268_128, 531 | SEED, 532 | CAMELLIA128, 533 | CAMELLIA192, 534 | CAMELLIA256, 535 | SALSA20, 536 | SALSA20R12, 537 | GOST28147, 538 | CHACHA20; 539 | 540 | [CCode (cname = "gcry_cipher_algo_info")] 541 | public Error info (ControlCommand what, ref uchar[] buffer); 542 | [CCode (cname = "gcry_cipher_algo_name")] 543 | public unowned string to_string (); 544 | [CCode (cname = "gcry_cipher_map_name")] 545 | public static Algorithm from_string (string name); 546 | [CCode (cname = "gcry_cipher_map_oid")] 547 | public static Algorithm from_oid (string oid); 548 | } 549 | 550 | [CCode (cname = "enum gcry_cipher_modes", cprefix = "GCRY_CIPHER_MODE_")] 551 | public enum Mode { 552 | NONE, /* No mode specified */ 553 | ECB, /* Electronic Codebook */ 554 | CFB, /* Cipher Feedback */ 555 | CFB8, /* Cipher Feedback */ 556 | CBC, /* Cipher Block Chaining */ 557 | STREAM, /* Used with stream ciphers */ 558 | OFB, /* Output Feedback */ 559 | CTR, /* Counter */ 560 | AESWRAP, 561 | CCM, /* Counter with CBC-MAC */ 562 | GCM, /* Galois/Counter Mode */ 563 | POLY1305, 564 | OCB 565 | } 566 | 567 | [CCode (cname = "enum gcry_cipher_flags", cprefix = "GCRY_CIPHER_")] 568 | public enum Flag { 569 | SECURE, /* Allocate in secure memory. */ 570 | ENABLE_SYNC, /* Enable CFB sync mode. */ 571 | CBC_CTS, /* Enable CBC cipher text stealing (CTS). */ 572 | CBC_MAC /* Enable CBC message auth. code (MAC). */ 573 | } 574 | [Compact] 575 | [CCode (cname = "gcry_cipher_hd_t", lower_case_cprefix = "gcry_cipher_", free_function = "gcry_cipher_close")] 576 | public class Cipher { 577 | public static Error open (out Cipher cipher, Algorithm algo, Mode mode, Flag flags); 578 | public void close (); 579 | [CCode (cname = "gcry_cipher_ctl")] 580 | public Error control (ControlCommand cmd, uchar[] buffer); 581 | public Error info (ControlCommand what, ref uchar[] buffer); 582 | 583 | public Error encrypt (uchar[] out_buffer, uchar[] in_buffer); 584 | public Error decrypt (uchar[] out_buffer, uchar[] in_buffer); 585 | 586 | [CCode (cname = "gcry_cipher_setkey")] 587 | public Error set_key (uchar[] key_data); 588 | [CCode (cname = "gcry_cipher_setiv")] 589 | public Error set_iv (uchar[] iv_data); 590 | [CCode (cname = "gcry_cipher_setctr")] 591 | public Error set_counter_vector (uchar[] counter_vector); 592 | public Error reset (); 593 | public Error sync (); 594 | } 595 | } 596 | 597 | [Compact, CCode (cname = "struct gcry_md_handle", cprefix = "gcry_md_", free_function = "gcry_md_close")] 598 | public class Hash { 599 | [CCode (cname = "enum gcry_md_algos", cprefix = "GCRY_MD_")] 600 | public enum Algorithm { 601 | NONE, 602 | SHA1, 603 | RMD160, 604 | MD5, 605 | MD4, 606 | MD2, 607 | TIGER, 608 | TIGER1, 609 | TIGER2, 610 | HAVAL, 611 | SHA224, 612 | SHA256, 613 | SHA384, 614 | SHA512, 615 | SHA3_224, 616 | SHA3_256, 617 | SHA3_384, 618 | SHA3_512, 619 | SHAKE128, 620 | SHAKE256, 621 | CRC32, 622 | CRC32_RFC1510, 623 | CRC24_RFC2440, 624 | WHIRLPOOL, 625 | GOSTR3411_94, 626 | STRIBOG256, 627 | STRIBOG512; 628 | 629 | [CCode (cname = "gcry_md_get_algo_dlen")] 630 | public size_t get_digest_length (); 631 | [CCode (cname = "gcry_md_algo_info")] 632 | public Error info (ControlCommand what, ref uchar[] buffer); 633 | [CCode (cname = "gcry_md_algo_name")] 634 | public unowned string to_string (); 635 | [CCode (cname = "gcry_md_map_name")] 636 | public static Algorithm from_string (string name); 637 | [CCode (cname = "gcry_md_test_algo")] 638 | public Error is_available (); 639 | [CCode (cname = "gcry_md_get_asnoid")] 640 | public Error get_oid (uchar[] buffer); 641 | } 642 | 643 | [CCode (cname = "enum gcry_md_flags", cprefix = "GCRY_MD_FLAG_")] 644 | public enum Flag { 645 | SECURE, 646 | HMAC, 647 | BUGEMU1 648 | } 649 | 650 | public static Error open (out Hash hash, Algorithm algo, Flag flag); 651 | public void close (); 652 | public Error enable (Algorithm algo); 653 | [CCode (instance_pos = -1)] 654 | public Error copy (out Hash dst); 655 | public void reset (); 656 | [CCode (cname = "enum gcry_md_ctl")] 657 | public Error control (ControlCommand cmd, uchar[] buffer); 658 | public void write (uchar[] buffer); 659 | [CCode (array_length = false)] 660 | public unowned uchar[] read (Algorithm algo); 661 | public static void hash_buffer (Algorithm algo, [CCode (array_length = false)] uchar[] digest, uchar[] buffer); 662 | public Algorithm get_algo (); 663 | public bool is_enabled (Algorithm algo); 664 | public bool is_secure (); 665 | public Error info (ControlCommand what, uchar[] buffer); 666 | [CCode (cname = "gcry_md_setkey")] 667 | public Error set_key (uchar[] key_data); 668 | public void putc (char c); 669 | public void final (); 670 | public static Error list (ref Algorithm[] algos); 671 | } 672 | 673 | namespace Random { 674 | [CCode (cname = "gcry_random_level_t")] 675 | public enum Level { 676 | [CCode (cname = "GCRY_WEAK_RANDOM")] 677 | WEAK, 678 | [CCode (cname = "GCRY_STRONG_RANDOM")] 679 | STRONG, 680 | [CCode (cname = "GCRY_VERY_STRONG_RANDOM")] 681 | VERY_STRONG 682 | } 683 | 684 | [CCode (cname = "gcry_randomize")] 685 | public static void randomize (uchar[] buffer, Level level = Level.VERY_STRONG); 686 | [CCode (cname = "gcry_fast_random_poll")] 687 | public static Error poll (); 688 | [CCode (cname = "gcry_random_bytes", array_length = false)] 689 | public static uchar[] random_bytes (size_t nbytes, Level level = Level.VERY_STRONG); 690 | [CCode (cname = "gcry_random_bytes_secure")] 691 | public static uchar[] random_bytes_secure (size_t nbytes, Level level = Level.VERY_STRONG); 692 | [CCode (cname = "gcry_create_nonce")] 693 | public static void nonce (uchar[] buffer); 694 | } 695 | 696 | [Compact, CCode (cname = "struct gcry_mpi", cprefix = "gcry_mpi_", free_function = "gcry_mpi_release")] 697 | public class MPI { 698 | [CCode (cname = "enum gcry_mpi_format", cprefix = "GCRYMPI_FMT_")] 699 | public enum Format { 700 | NONE, 701 | STD, 702 | PGP, 703 | SSH, 704 | HEX, 705 | USG 706 | } 707 | 708 | [CCode (cname = "enum gcry_mpi_flag", cprefix = "GCRYMPI_FLAG_")] 709 | public enum Flag { 710 | SECURE, 711 | OPAQUE 712 | } 713 | 714 | public MPI (uint nbits); 715 | [CCode (cname = "gcry_mpi_snew")] 716 | public MPI.secure (uint nbits); 717 | public MPI copy (); 718 | public void set (MPI u); 719 | public void set_ui (ulong u); 720 | public void swap (); 721 | public int cmp (MPI v); 722 | public int cmp_ui (ulong v); 723 | 724 | public static Error scan (out MPI ret, MPI.Format format, [CCode (array_length = false)] uchar[] buffer, size_t buflen, out size_t nscanned); 725 | [CCode (instance_pos = -1)] 726 | public Error print (MPI.Format format, [CCode (array_length = false)] uchar[] buffer, size_t buflen, out size_t nwritter); 727 | [CCode (instance_pos = -1)] 728 | public Error aprint (MPI.Format format, out uchar[] buffer); 729 | 730 | public void add (MPI u, MPI v); 731 | public void add_ui (MPI u, ulong v); 732 | public void addm (MPI u, MPI v, MPI m); 733 | public void sub (MPI u, MPI v); 734 | public void sub_ui (MPI u, MPI v); 735 | public void subm (MPI u, MPI v, MPI m); 736 | public void mul (MPI u, MPI v); 737 | public void mul_ui (MPI u, ulong v); 738 | public void mulm (MPI u, MPI v, MPI m); 739 | public void mul_2exp (MPI u, ulong cnt); 740 | public void div (MPI q, MPI r, MPI dividend, MPI divisor, int round); 741 | public void mod (MPI dividend, MPI divisor); 742 | public void powm (MPI b, MPI e, MPI m); 743 | public int gcd (MPI a, MPI b); 744 | public int invm (MPI a, MPI m); 745 | 746 | public uint get_nbits (); 747 | public int test_bit (uint n); 748 | public void set_bit (uint n); 749 | public void clear_bit (uint n); 750 | public void set_highbit (uint n); 751 | public void clear_highbit (uint n); 752 | public void rshift (MPI a, uint n); 753 | public void lshift (MPI a, uint n); 754 | 755 | public void set_flag (MPI.Flag flag); 756 | public void clear_flag (MPI.Flag flag); 757 | public int get_flag (MPI.Flag flag); 758 | } 759 | 760 | [Compact, CCode (cname = "struct gcry_sexp", free_function = "gcry_sexp_release")] 761 | public class SExp { 762 | [CCode (cprefix = "GCRYSEXP_FMT_")] 763 | public enum Format { 764 | DEFAULT, 765 | CANON, 766 | BASE64, 767 | ADVANCED 768 | } 769 | 770 | public static Error @new (out SExp retsexp, void * buffer, size_t length, int autodetect); 771 | public static Error create (out SExp retsexp, void * buffer, size_t length, int autodetect, GLib.DestroyNotify free_function); 772 | public static Error sscan (out SExp retsexp, out size_t erroff, char[] buffer); 773 | public static Error build (out SExp retsexp, out size_t erroff, string format, ...); 774 | public size_t sprint (Format mode, char[] buffer); 775 | public static size_t canon_len (uchar[] buffer, out size_t erroff, out int errcode); 776 | public SExp find_token (string token, size_t token_length = 0); 777 | public int length (); 778 | public SExp? nth (int number); 779 | public SExp? car (); 780 | public SExp? cdr (); 781 | public unowned char[] nth_data (int number); 782 | public gcry_string nth_string (int number); 783 | public MPI nth_mpi (int number, MPI.Format mpifmt); 784 | } 785 | 786 | [CCode (cname = "char", free_function = "gcry_free")] 787 | public class gcry_string : string { } 788 | 789 | [CCode (lower_case_cprefix = "gcry_pk_")] 790 | namespace PublicKey { 791 | [CCode (cname = "enum gcry_pk_algos")] 792 | public enum Algorithm { 793 | RSA, 794 | ELG_E, 795 | DSA, 796 | ELG, 797 | ECDSA; 798 | 799 | [CCode (cname = "gcry_pk_algo_name")] 800 | public unowned string to_string (); 801 | [CCode (cname = "gcry_pk_map_name")] 802 | public static Algorithm map_name (string name); 803 | } 804 | 805 | public static Error encrypt (out SExp ciphertext, SExp data, SExp pkey); 806 | public static Error decrypt (out SExp plaintext, SExp data, SExp skey); 807 | public static Error sign (out SExp signature, SExp data, SExp skey); 808 | public static Error verify (SExp signature, SExp data, SExp pkey); 809 | public static Error testkey (SExp key); 810 | public static Error genkey (out SExp r_key, SExp s_params); 811 | public static uint get_nbits (SExp key); 812 | } 813 | 814 | [CCode (lower_case_cprefix = "gcry_kdf_")] 815 | namespace KeyDerivation { 816 | [CCode (cname = "gcry_kdf_algos", cprefix = "GCRY_KDF_", has_type_id = false)] 817 | public enum Algorithm { 818 | NONE, 819 | SIMPLE_S2K, 820 | SALTED_S2K, 821 | ITERSALTED_S2K, 822 | PBKDF1, 823 | PBKDF2, 824 | SCRYPT 825 | } 826 | 827 | public GCrypt.Error derive ([CCode (type = "const void*", array_length_type = "size_t")] uint8[] passphrasse, GCrypt.KeyDerivation.Algorithm algo, GCrypt.Hash.Algorithm subalgo, [CCode (type = "const void*", array_length_type = "size_t")] uint8[] salt, ulong iterations, [CCode (type = "void*", array_length_type = "size_t", array_length_pos = 5.5)] uint8[] keybuffer); 828 | } 829 | } 830 | --------------------------------------------------------------------------------